Warning: Undefined variable $saptab in /customers/b/9/9/trailsap.com/httpd.www/abap-statements/index.php on line 46
Get Example source ABAP code based on a different SAP table
Warning: Undefined variable $prev in /customers/b/9/9/trailsap.com/httpd.www/abap-statements/index.php on line 62
Standard SAP Help for NEW-LINE
NEW-LINE
Short Reference • NEW-LINE ABAP Statement
ABAP Syntax NEW-LINE [NO-SCROLLING|SCROLLING].
ABAP Addition 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. • NO-SCROLLING NEW-LINE
ABAP Addition
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'. • SCROLLING NEW-LINE
ABAP Addition
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.