Code: Alles auswählen.
*1)mit Klammern
SELECT * FROM t001
WHERE bukrs IN bukrs
AND ( stceg = space
OR xgsbe = 'X' ).
WRITE: / t001-bukrs, t001-ort01.
ENDSELECT.
ULINE .
*2) ohne Klammern
SELECT * FROM t001
WHERE bukrs IN bukrs
AND stceg = space
OR xgsbe = 'X' .
WRITE: / t001-bukrs, t001-ort01.
ENDSELECT.