NEW-LINE
Short Reference
ABAP Syntax NEW-LINE [NO-SCROLLING|SCROLLING].
ABAP_ADDITIONS
1 ... NO-SCROLLING
2 ... SCROLLING
What does it do? 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 o
utput 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.
Latest notes: The statement NEW-LINE is executed implicitly at the
end of an event block .
ABAP_ADDITION_1 ... NO-SCROLLING
What does it do? 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.
Latest notes: To freeze an area that covers several lines, use the
statement SET LEFT SCROLL-BOUNDARY
.
Example ABAP Coding 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'.
ABAP_ADDITION_2 ... SCROLLING
What does it do? 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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved