Use IN operator.
IF <fs_data>-ort01 IN r_ort01
ELSE.
DELETE it_data.
ENDIF.
by the way can you not simply write
DELETE FROM itab WHERE field NOT IN range.
Regards,
Pawan.
Use IN operator.
IF <fs_data>-ort01 IN r_ort01
ELSE.
DELETE it_data.
ENDIF.
by the way can you not simply write
DELETE FROM itab WHERE field NOT IN range.
Regards,
Pawan.