I assume that you have an internal table describe by a table type. You can use the syntax below.
delete itab where ID = <some_value>.
Regards,
Rich Heilman
Hi Georgy
It must be an internal table which might have been defined from table type.
Yes you can delete records from internal table. Here are few statements and use whichever suits your requirement.
- DELETE itab INDEX idx.
- DELETE itab FROM idx1 TO idx2.
- DELETE itab WHERE Field = Value.
- DELETE ADJACENT DUPLICATES FROM itab Comparing Field1 Field2 .... (Sort the table by Field1 Field2 .. before deleting duplicate entries)
Add a comment