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?
Edited by: PRAVEEN s on Apr 6, 2009 11:19 PM