Skip to Content
0
Former Member
Sep 12, 2007 at 02:39 AM

ALV - Editing a Row after Sorting - REAL HEADACHE.....

278 Views

Hi,

I have a ALV table with a DropDown in one of the columns. The user can enter a value in the dropdown boxes.

Now the proble is, lets say I have SORTED the table by another column. Now the user enters a value in one of the rows of the dropdown and clicks the SAVE Button.

How do i find out, which Row the User Has entered the value ?

I tried using the table it_modified_cells in the event handler for ON_DATA_CHECK . However it gives wrong row indexes, that is if, the row number '10' is Row number '1', after sorting, and if this row is modified, then it_modified_cells table gives Row '1' as modified rather than Row '10'.

So ina nut shell, after sorting , if a row is edited, How to find out which is this row...... ?