Skip to Content
0
Former Member
Mar 22, 2006 at 09:51 AM

delete current record

328 Views

Hi Experts,

loop at itab.

if <condition>.

do something.

else.

(Here i dont want the current record in output).

endif.

endloop.

1.I have tried "delete itab index sy-tabix".

but the record is not deleted when if condition fails.

2. And also i tried "delete itab" but it leads short tump.

3. clear itab. its deleting the current record.but it inserts one empty record additionally.

help me what statement is suitable after else statement.