Syntax for New Page

Basic form

NEW-PAGE.

Effect

Starts a new page during list processing. Terminates the current page and continues output on a new page.

NEW-PAGE does not generate blank pages, i.e. it ignores pages containing no output.

NEW-PAGE increments the page counter (the system field SY-PAGNO ).

The event END-OF-PAGE is not processed.

To start a new page depending on the number of unused lines remaining on the current page, use the RESERVE statement.

Addition 1

... NO-TITLE

Effect

Starts a new page but no longer outputs the standard header (title, date and page number). This is the default setting for secondary lists.

Addition 2

... WITH-TITLE

Effect

Starts a new page and continues to output of the standard header (title, date and page number). This is the default setting for basic lists.

Addition 3

... NO-HEADING

Effect

Starts a new page but no longer outputs column headings (text elements). This is the default setting for secondary lists.

Addition 4

... WITH-HEADING

Effect

Starts a new page and continues to output the column headings (text elements). This is the default setting for basic lists .

Addition 5

... LINE-COUNT lin

Effect

Starts a new page containing the number of lines specified by lin (in the exceptional case of LINE-COUNT 0 , the number of lines per page is unlimited). The default setting is taken from the addition ... LINE-COUNT in the REPORT statement.

Addition 6

... LINE-SIZE col

Effect

Formats the new page with the number of columns specified in col . The exception to this is LINE-SIZE = 0 which indicates line length set by the system according to the standard window width. The addition ... LINE-SIZE col is only effective on the new page if it is also the first page of a new list level.

The addition works only before initialization of the new list level (with WRITE, SKIP, ... ). The default setting is also taken from the addition ... LINE-SIZE in the REPORT statement.

ABAP TOPIC WISE COMPLETE COURSE

BDC OOPS ABAP ALE IDOC'S BADI BAPI Syntax Check
Interview Questions ALV Reports with sample code ABAP complete course
ABAP Dictionary SAP Scripts Script Controls Smart Forms
Work Flow Work Flow MM Work Flow SD Communication Interface

No comments:

Post a Comment