2008 May 26 3:00 AM
hi guys,
i want to delete a line in the internal table with condition.
how am i going to code delete the line? the brief code is as below. can any please help me to fill up? thanks
IF wa_ekbe NE ' '.
???? where index sy-tabix.
ENDIF.
hi guys,
i want to delete a line in the internal table with condition.
how am i going to code delete the line? the brief code is as below. can any please help me to fill up? thanks
IF wa_ekbe NE ' '.
???? where index sy-tabix.
ENDIF.
2008 May 26 3:09 AM
Hi Ben,
You can use the following code to delete data from internal table.
DELETE itab WHERE <Condition>.
Hope this helps you.
Thanks,
Arun
2008 May 26 3:10 AM
Hi Ben
You can code it this way:
IF wa_ekbe NE ' '.
DELETE table tb_ekbe from wa_ekbe.
ENDIF.
Thanks
Shivika
2008 May 26 3:17 AM
2008 May 26 4:09 AM
if you want to delete some row in internal table where some field where some <field> has value.. do this..
delete it_ekbe where <field> NE ' '.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |