Skip to Content
0
May 19 at 06:46 PM

How to delete the internal table which are not in select options ?

88 Views

Hi Teams,

I want to delete the internal table contents which are not in select options.

I have used the below logic but it not deleting the entries.

DELETE pt_alv1 WHERE pernr NOT IN s_pernr[] AND werks NOT IN s_werks[] AND btrtl NOT IN s_btrtl[].

Any suggestions please.

Thanks & Regards,

Shabbir