SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → User Dialogs → Classic Lists → Creating Lists →Syntax
SET LEFT SCROLL-BOUNDARY [COLUMN col].
Addition:
Effect
This command sets the left-hand edge 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 takes effect.
If the addition COLUMN is not specified, all parts of the current page that are located to the left of the current position of the list cursor
(sy-colno) are excluded from horizontal scrolling.
... COLUMN col
Effect
If the addition COLUMN is specified, this applies to all columns in the current
page that are located to the left of the position specified in col.
col refers to the columns in the list displayed. A data object of the type i
is expected for col. If the value in col is less than or equal to 0, or greater than the current list width, the command has no effect.
Notes
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.