Not every day…. but from time to time there is a question about synchronize scrolling in ALV .
This article will demonstrate my attempt for horizontal scrolling .
Program Y_R_EITAN_TEST_08_02 use cl_gui_alv_grid.
CL_GUI_ALV_GRID have a method (SET_SCROLL_INFO_VIA_ID) that allows us to scroll to a given column name .
The same method also allow us to scroll to a given line number (this is not covered in this program)
For demonstration purpose the program create an empty internal table of type MARA .
The scrolling is done in METHOD user_command_scroll ( I put some comments there…. 😉 ).