SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Program structure → Introductory Statements for Programs → REPORT →
REPORT - list_options
Syntax
... [NO STANDARD PAGE HEADING]
[LINE-SIZE width]
[LINE-COUNT page_lines[(footer_lines)]] ... .
Extras:
1. ... NO STANDARD PAGE HEADING
2. ... LINE-SIZE width
3. ... LINE-COUNT page_lines[(footer_lines)]
Effect
These additions influence the basic list of the program.
... NO STANDARD PAGE HEADING
Effect
This addition suppresses the output of the
standard page header (standard header and column headers) on the basic list of the program and sets
the system field sy-wtitl to the value "N". This setting can be overwritten
when the list is created using the additions NO-TITLE|WITH-TITLE and
NO-HEADING|WITH-HEADING of the statement NEW-PAGE.
... LINE-SIZE width
Effect
This addition specifies the line width of the basic list and details list of the program to width characters, and sets the system field sy-linsz to this value. The line width determines the number of characters in the line buffer as well as the number of columns in the list displayed. The value width must be specified directly as a positive number. The maximum line width is 1023.
When the LINE-SIZE is not specified, the line width of the basic list is set to a standard width based on the window width of the current
dynpro, but is at least as wide
as a standard size SAP window. For the standard width, the contents of sy-linsz
is 0. The LINE-SIZE overwrites the value of the addition LINE-SIZE
of the statement SUBMIT
and can be overwritten when the list is created using the addition LINE-SIZE of the statement NEW-PAGE.
Note
The current maximum line width is stored in the constants SLIST_MAX_LINESIZE of the
type group SLIST.
Also defined there is a type SLIST_MAX_LISTLINE of type c with length SLIST_MAX_LINESIZE.
... LINE-COUNT page_lines[(footer_lines)]
Effect
This addition specifies the page length for the basic list of the program to page_lines lines and fills the system field sy-linct with this value. If LINE-COUNT is not specified and for page_lines less than 0 or greater than 60000, the page length is set internally to 60000. This setting overwrites the value passed by the (similarly named) addition LINE-SIZE of the statement SUBMIT and can be overwritten when the list is created by the (similarly named) addition LINE-COUNT of the statement NEW-PAGE.
If a number is specified for footer_lines, a corresponding number of lines are reserved for the page footer, which can be described in the event block END-OF-PAGE.
page_lines and footer_lines must be specified directly as positive numbers, where no sign can be specified for footer_lines.
Notes
Example
The page length of the basic list is set to 65 lines, eight of which are reserved for the page footer. The line width is 132 characters.
REPORT z_myreport LINE-COUNT 65(8) LINE-SIZE 132.