Entering content frameStandard Page Headers of Individual Pages Locate the document in its SAP Library structure

The standard page header consists of list and column headers. To influence the representation of these individual components of the standard page header, use the following options of the NEW-PAGE statement:

Syntax

NEW-PAGE [NO-TITLE|WITH-TITLE] [NO-HEADING|WITH-HEADING].

You can switch the standard heading for all subsequent pages on or off using the WITH-TITLE or NO-TITLE additions respectively.

You can switch the column headings for all subsequent pages on or off using the WITH-HEADING or NO-HEADING additions respectively.

For information on basic and secondary lists, see Interactive Lists.

Note

Even if you suppress the standard page header by using the NO STANDARD PAGE HEADING option of the REPORT statement, you can activate the display of the individual components using WITH-TITLE and WITH-HEADING.

The NEW-PAGE statement does not affect the display of a page header that you define in the event TOP-OF-PAGE, since this event is processed on the new page (see Individual Page Header).

Example

REPORT demo_list_new_page_options LINE-SIZE 40.

WRITE: 'Page', sy-pagno.

NEW-PAGE NO-TITLE.
WRITE: 'Page', sy-pagno.

NEW-PAGE NO-HEADING.
WRITE: 'Page', sy-pagno.

NEW-PAGE WITH-TITLE.
WRITE: 'Page', sy-pagno.

NEW-PAGE WITH-HEADING.
WRITE: 'Page', sy-pagno.

This program creates five pages with different page headers. In the text elements, the list header is defined as 'Standard Page Header', and the column header as 'Column'.

This graphic is explained in the accompanying text

Pages 1 and 5 contain the complete standard page header. On page 2, the list header is missing. On page 3, the entire page header is suppressed. On page 4, the column header is left out.

 

Leaving content frame