... {TO COLUMN col}
| {{LEFT|RIGHT} [BY n PLACES]} ... .
1. ... TO COLUMN col
2. ... LEFT [BY n PLACES]
3. ... RIGHT [BY n PLACES]
These additions are used to scroll horizontally in the list.
When scrolling horizontally using the SCROLL statement,
you should only specify the upper or lower limit of data objects displayed. This is because the positions in the list buffer and in the list displayed will only match for one of these values in
Unicode systems.
... TO COLUMN col
The addition TO COLUMN specifies the value from
col for the first column in the screen segment. A type i
data object is required for col. If the value in
col is 0 or smaller, it is processed as 1, and if it is greater than the current line width,
it is processed as if it was the same as the line width and the system enters a value of 4 for sy-subrc.
... LEFT [BY n PLACES]
The addition LEFT without
BY n PLACES enters a value of 1 for the first column in the screen segment. The addition
LEFT with BY n PLACES enters the current first column
(sy-staco) minus the value in
n as the first column in the display segment; a type i
data object is required for n. If the result is 0 or less,
it is processed as 1 and the system enters a value of 4 for sy-subrc.
... RIGHT [BY n PLACES]
The addition RIGHT without BY n PLACES enters 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 0 or less, 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. A type i data object is required for n. If the result is greater than the current line length, it is processed as if it were the same as the line length and the system enters a value of 4 for sy-subrc.