ABAP Keyword Documentation → ABAP − Reference → SAP GUI User Dialogs → Classic Lists → Creating Lists
SET LEFT SCROLL-BOUNDARY
Other versions: 7.31 | 7.40 | 7.54
Syntax
SET LEFT SCROLL-BOUNDARY [COLUMN col].
Addition
Effect
This command sets the left boundary of the horizontally movable area of the current page. This applies
to both user-activated scrolling through the list displayed on-screen and to scrolling activated by the SCROLL
command. For the command to work properly, the
list cursor has to be positioned
in a page with an output command or with SKIP
.
The command works only on this page. If the command is executed multiple times for one page, the last command is the one that is applied.
If the addition COLUMN
is not specified, all places on the current page that are located on the left of the current position of the list cursor
(sy-colno
) are excluded from horizontal scrolling.
Addition
... COLUMN col
Effect
If the addition COLUMN
is specified, this applies to all columns in the current
page that are located on the left of the position specified in col
. Here
col
refers to the columns in the list displayed. col
expects a data object of the type i
. If the value in col
is less than or equal to 0, or greater than the current list width, the statement is ignored.
Notes
- Only the lower or upper limit of displayed data objects should be used as the edge of a movable area, because the position of Unicode characters in the list buffer and in the displayed list only patch for these limits.
-
To prevent an entire line from being horizontally movable, use the
NEW-LINE
NO-SCROLLING
command.
Example
Output of a tabular list of airlines from the database table SCARR, in which the area for output from the key field is fixed.
DATA scarr_wa TYPE scarr.
SELECT *
FROM scarr
INTO @scarr_wa.
WRITE: / scarr_wa-carrid COLOR COL_KEY.
SET LEFT SCROLL-BOUNDARY.
WRITE: scarr_wa-carrname,
scarr_wa-currcode,
(40) scarr_wa-url.
ENDSELECT.