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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Making cursor stay in the record selected in ALV output

Former Member
0 Kudos

I have interactive OOPS based ALV report with check boxes. If i click check box...say at third record, immediately cursor always points to first line of the record. My requirement is to keep th ecursor control stay in the record chosen.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try to use Method 'GET_SELECTED_COLUMNS' from class CL_GUI_ALV_GRID to get the column

then use method 'SET_FOCUS' from the same class CL_GUI_ALV_GRID.

Thanks and regards,

Anmol Bhat.

1 REPLY 1

Former Member
0 Kudos

Hi,

Try to use Method 'GET_SELECTED_COLUMNS' from class CL_GUI_ALV_GRID to get the column

then use method 'SET_FOCUS' from the same class CL_GUI_ALV_GRID.

Thanks and regards,

Anmol Bhat.