Application Development and Automation 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: 
Read only

Remove cursor or focus from first cell in OOPS GRID ALV in ABAP

sanjana_lingras
Active Participant
0 Kudos
1,577

Hi,

While displaying ALV output cursor is always set on the first field . Is it possible to forcefully set the cursor field on any other command button on the system toolbar or remove the cursor focus from default position.

Regards,

Sanjana

2 REPLIES 2
Read only

NTeunckens
Active Contributor
564
  • For "CL_GUI_ALV_GRID", see Method "SET_CURRENT_CELL_VIA_ID" : link
  • For "CL_SALV_TABLE, you can do somewhat the same via "CL_SALV_TABLE=>GET_SELECTIONS()->SET_CURRENT_CELL( <Structure determining CellPos> ) : link
  • See the GET / SET CURSOR Statement if you want the Cursor to be set on a particular Field / Button : link
Read only

564

Good points except for SET CURSOR which is not for "OOPS GRID ALV", but only for ALV of type ABAP list.