Page length of individual pages

To determine the page length of each page individually, use the NEW-PAGE statement:

Syntax

NEW-PAGE LINE-COUNT length.

This statement defines the page length of the following pages for length . length can be a variable. If you set length to zero, the system uses the standard page length (see also Structure of the Standard List ). The page header is part of the page and thus of the page length.

For the actual list output, length minus the page header length and the page footer length is available.

To adapt the page length to the current window length, set length to sy-rows . The sy-rows system field contains the number of lines of the current window.