I am usinmg Set_table_for_first_display to display the ALV grid.
In my ALV grid, I have a field as Flag which will show as a lead selection in the grid. Such that I have designed the field catelog and layout.
When I select a row and click on DISPLAY button, it has to display the details.
This I am able to do through GR_GRID->GET_SELECTED_ROWS() .
But after displaying the data the cursor is not in the same row. Lead selection is cleared.
I manually tied to set the FLag as X and updated the table. Even then Lead selection is not coming in the row.
Suggestion is very much helpul for this.