Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

delete

Hi Guyz,

How can i delete entries in the internal table based on the selection screen , ie, i have range of clientnumber on the selection screen..i should delete all my entries in the internal table which are not equal to the client numbers based on the selection screen.. plz advise

declaration:

select-options:

s_client type ztable-client

regds

Tags:
replied

Check this example..

tables: vbak.
DATA: BEGIN OF itab OCCURS 0,
  vbeln LIKE vbak-vbeln,
  END OF itab.
 
SELECT-OPTIONS s_vbeln for vbak-vbeln.
 
DELETE itab WHERE NOT vbeln IN s_vbeln.

Regards,

Omkaram.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question