Skip to Content

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

Delete Internal table in same loop- Can we do this?

LOOP AT ITAB INTO WA_ITAB.

read table itab2 into wa_itab2.

if sy-subrc is initial.

*I want to delete entries from ITAB.*

DELETE ITAB FROM WA_ITAB.
MODIFY ITAB.

endif.



ENDLOOP.

I am getting a dump if i do like this.

What is the correct syntax for this?

Rgds

Praveen

Edited by: PRAVEEN s on Apr 6, 2009 11:19 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question