ABAP Keyword Documentation → ABAP - Reference → User Dialogs → Classic Lists → Process lists in the list buffer → SCROLL LIST
SCROLL LIST - Horizontal
Other versions: 7.31 | 7.40 | 7.54
Syntax
... {TO COLUMN col}
| {{LEFT|RIGHT} [BY n PLACES]} ... .
Alternatives
1. ... TO COLUMN col
2. ... LEFT [BY n PLACES]
3. ... RIGHT [BY n PLACES]
Effect
These additions are used to scroll horizontally in the list.
Note
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.
Alternative 1
... TO COLUMN col
Effect
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
.
Alternative 2
... LEFT [BY n PLACES]
Effect
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
.
Alternative 3
... RIGHT [BY n PLACES]
Effect
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
.