Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

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

$
0
0
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


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>