Code: Alles auswählen.
Delete itab where id not like 'L0%'.
Code: Alles auswählen.
REPORT zdeleteitab.
DATA:
BEGIN OF line,
id(8) TYPE c,
END OF line,
tab LIKE TABLE OF line.
tab = VALUE #( ( id = 'L0000000' )
( id = 'L0000001' )
( id = 'L0000002' )
( id = 'LZS00001' )
( id = 'T5555555' )
( id = 'R5556666' )
( id = 'XC333333' ) ).
DELETE tab WHERE id NP 'L0*' AND id NP 'LZS*'.
Code: Alles auswählen.
DELETE tab WHERE id NS 'L0' AND id NS 'LZS'.