Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[ABAP] Delete all rows from index

If you want to delete all lines from a certain index, e.g. 6, you can do the following:

DELETE lt_data FROM 6 TO lines( lt_data ).

As result, your table will only hold the first 5 rows.

Leave a Reply

Your email address will not be published. Required fields are marked *