Ansicht
Dokumentation

ABAPSCROLL_LIST_HORIZONTAL - SCROLL LIST HORIZONTAL

ABAPSCROLL_LIST_HORIZONTAL - SCROLL LIST HORIZONTAL

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

SCROLL LIST, horizontal

Short Reference



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

Alternative 1

... TO COLUMN col


Effect

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

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.

Alternative 2

... LEFT $[BY n PLACES$]


Effect

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.

Alternative 3

... RIGHT $[BY n PLACES$]


Effect

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.






Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3500 Date: 20240427 Time: 022649     sap01-206 ( 65 ms )