Skip to Content
0

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

Dec 24, 2017 at 05:13 AM

130

avatar image

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

set
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nic Teunckens Dec 24, 2017 at 07:55 PM
1
  • 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
Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

1