Skip to Content

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


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.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 24, 2017 at 07:55 PM
    • 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
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.