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
NEW-LINE [NO-SCROLLING|SCROLLING].
Additions 1. ... NO-SCROLLING 2. ... SCROLLING
Effect
This statement sets the list
cursor at the first position of the next line after the current line, if the current position of
the list cursor results from a previous output statement. In the first line of a new page and if the
current list cursor was set with the statements SKIP,
NEW-LINE, NEW-PAGE,
or BACK into the list line, NEW-LINE does not affect the list cursor.
Note
The statement NEW-LINE is executed implicitly at the end of an event block.
... NO-SCROLLING
Effect
The addition NO-SCROLLING has the effect that the first line of the current list level, which was written after the statement NEW-LINE with an output statement
(WRITE,
ULINE), cannot be moved horizontally. This applies to scrolling in the
list displayed on the screen by the user and to scrolling with the statement SCROLL. Vertical mobility is not affected.
Note
To freeze an area that covers several lines, use the statement SET LEFT SCROLL-BOUNDARY.
Example
The line with the output "Fixed Line" will not be moved during horizontal scrolling.
WRITE / 'Scrollable Line'.
NEW-LINE NO-SCROLLING.
WRITE: / 'Fixed Line',
/ 'Scrollable Line'.
Addition 2
... SCROLLING
Effect
The addition SCROLLING undoes the addition NO-SCROLLING
(default setting). The addition NO-SCROLLING can only be undone before an output statement is executed. Once a line has been frozen, you can no longer change this state.