Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

set cursor alv grid (not using objects)

I got a question on ALV GRID (not using objects), please let me know if you have pointers. Thanks.

Output has 2 screens both has different contents. The output is generated using internal table1 and 2 and using FM 'REUSE_ALV_GRID_DISPLAY_LVC' (both screen use same FM).

First screen has multiple pages of output (say 10 pages). User scrolled page 5 and line 10 of first screen and then double clicked it takes to screen #2. After completion of screen #2, the back arrow should get back to page 5 and line 10 of screen #1. Currently the back arrow gets to screen#1 page 1 and line 1. How to remember the cursor position in alv grid and instruct the cursor to go there?

Appreciate the input.

Note: I tried "set cursor line n" with "Scroll" command but no luck.

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question