SAP NEW-PAGE ABAP Statements

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-PAGE

NEW-PAGE

Short Reference
• NEW-PAGE ABAP Statement


ABAP Syntax NEW-PAGE [page_options
] [spool_options].

What does it do? This statement createsa new page in the current list and writes the subsequent list output into a spool list. The additions page_options determine general properties of the new page. The additions spool_options control the spool list output.

The statement NEW-PAGE completes the current page. If output was created by WRITE or ULINE on the current page, then a new page is created and the value in sy-pagno is increased by 1. An empty line is inserted between the individual pages. The list cursor is set to the first position of the first line under the standard page header of the new page.

The new page is created independent of the current list cursor position underneath the last line of the current page in which output was created.



Latest notes:
The statement NEW-PAGE cannot be used to create empty pages. The list event END-OF-PAGE is not triggered. The event TOP-OF-PAGE is triggered before the first output on the new page.

Return to menu