Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Lead selection in ALV grid

Former Member
0 Kudos


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.




Former Member
0 Kudos

DOne by using Set_selected_rows method