NEW-PAGE is a keyword in ABAP used for creating a new page in our reports ( lists ). When this statement executed a page break will be triggered and output starts appearing in the new page after the header area.
Syntax look like
NEW-PAGE [NO-TITLE|WITH-TITLE][NO-HEADING|WITH-HEADING][LINE-COUNT][LINE-SIZE][PRINT ON|OFF]
Parameters details :
- NO-TITLE|WITH-TITLE : Specifies weather standard title should display on the page. NO-TITLE wont display the standard title.
- NO-HEADING|WITH-HEADING : Specifies weather column headings should display .
- LINE-COUNT : Specifies the page length ( how many lines are there in the page )
- LINE-SIZE : How much width for each lines in the page.
- PRINT ON|OFF : for creating new print list level
Sample program with NEW-PAGE statement