ABAP_ALTERNATIVES: 1 ... TO COLUMN col> 2 ... LEFT $[BY n PLACES$]> 3 ... RIGHT $[BY n PLACES$]>
What does it do? These additions are used to scroll horizontally in the list.
Latest notes: When scrolling horizontally using the statement SCROLL>, only the upper or lower limit of data objects displayed should be specified because the positions in the list buffer and in the list displayed only match for these values. ABAP_HINT_END
ABAP Alternative 1 ... TO COLUMN col>
What does it do? The addition TO COLUMN> specifies the value from col> for the first column in the screen segment. col> expects a data object of type i>. If the value in col> is less than or equal to 0, it is processed as 1. If it is greater than the current line width, it is processed like this line width and sy-subrc> is set to 4.
Example ABAP Coding
Before the first display, the main list is scrolled to column 25. Since SET LEFT SCROLL-BOUNDARY> > is specified, the display of the IDs of the carriers stays fixed. ABEXA 01506 ABAP_EXAMPLE_END
ABAP Alternative 2 ... LEFT $[BY n PLACES$]>
What does it do? The addition LEFT> without BY n PLACES> sets the first column in the screen segment to the value 1. The addition LEFT> with BY n PLACES> sets the current first column (sy-staco >) minus the value in n> as the first column in the display segment. n> expects a data object of type i>. If the result is less than or equal to 0, it is processed as 1 and sy-subrc> is set to 4.
ABAP Alternative 3 ... RIGHT $[BY n PLACES$]>
What does it do? The addition RIGHT> without BY n PLACES> sets the line length (sy-linsz>) minus the window width (sy-scols> minus 2) for the first column in the screen segment. If the result is less than or equal to 0, it is processed as 1. The addition RIGHT> with BY n PLACES> enters the current first column (sy-staco>) plus the value in n> for the first column in the display segment; n> expects a data object of type i>. If the result is greater than the current line length, it is processed like the current line length and sy-subrc> is set to 4.