Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Classic Lists →  Creating Lists 

NEW-PAGE

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


NEW-PAGE [page_options] [spool_options]. 

Effect

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.


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.

Continue

NEW-PAGE - page_options

NEW-PAGE - spool_options