Skip to Content
Former Member
Sep 20, 2007 at 11:53 AM

Delete records in a internal table


I Have an ALV in which I have selected several lines to delete (icon "-").

The method get_selected_rows returns the index of the selected lines.

In a loop I try to delete the lines of the internal table by the index. But I have a problem because when I delete a line, the index number is updated, therefore the second record that I try to delete doesn´t work because the index has changed.

does there exist the possibility that the index is not updated?