‎2007 Feb 12 5:34 AM
Hi,
I am using a loop at internal table.I have to delete records from my internal table.Using delete within loop statement,gives performance issues.Please guide whether the delete will work outside the loop statement.
‎2007 Feb 12 6:55 AM
Hi ,
You can delets entries outside the loop , either by using the index or the where condition along with the delete statement.
Regards,
Sunmit.
‎2007 Feb 12 5:39 AM
Delete statement will work outside the loop.
delete itab where <condition>.
delete itab index <index>.
delete itab from <index1> to <index2>
Manoj
‎2007 Feb 12 5:49 AM
Hi Sneha,
check the below link for all the forms of delete statements
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/delete.htm
Mark the points if u find it useful
~~Guduri
‎2007 Feb 12 6:55 AM
Hi ,
You can delets entries outside the loop , either by using the index or the where condition along with the delete statement.
Regards,
Sunmit.