sapdev logo background
sapdev logo sapdev logo
Comments

ABAP NEW-PAGE Statement syntax, information and example SAP source code



Return to Statement index



NEW-PAGE

Short Reference

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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




NEW-LINE
NEW-PAGE_OPTIONS




comments powered by Disqus