sapdev logo background
sapdev logo sapdev logo
Comments

ABAP SCROLL LIST HORIZONTAL Statement syntax, information and example SAP source code



Return to Statement index



SCROLL LIST - Horizontal

Short Reference

ABAP Syntax ... {TO COLUMN col}
| {{LEFT|RIGHT} [BY n PLACES]} ... .

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 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 .

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. 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 .

ABAP_ALTERNATIVE_2 ... LEFT [BY n PLACES]

What does it do? 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 .

ABAP_ALTERNATIVE_3 ... RIGHT [BY n PLACES]

What does it do? 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 .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SCROLL
SCROLL_LIST_VERTICAL




comments powered by Disqus