sapdev logo background
sapdev logo sapdev logo
Comments

ABAP REPORT LIST OPTIONS Statement syntax, information and example SAP source code



Return to Statement index



REPORT - list_options

Short Reference

ABAP Syntax ... [NO STANDARD PAGE HEADING]
[LINE-SIZE width]
[LINE-COUNT page_lines[(footer_lines)]] ... .

ABAP_ADDITIONS:
1 ... NO STANDARD PAGE HEADING
2 ... LINE-SIZE width
3 ... LINE-COUNT page_lines[(footer_lines)]

What does it do? These additions influence the basic list of the program.

ABAP_ADDITION_1 ... NO STANDARD PAGE HEADING

What does it do? 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 .

ABAP_ADDITION_2 ... LINE-SIZE width

What does it do? 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 .

Latest notes: 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 .

ABAP_ADDITION_3 ... LINE-COUNT page_lines[(footer_lines)]

What does it do? 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
.

Latest notes: The default value should be used for screen lists since, as a rule, page breaks specified using LINE-COUNT are not adjusted to the window size.
The default value should also be used for spool lists, so that the page size can be selected on a printer-specific basis. A spool list should be created in such a way that it provides satisfactory results for any page size.
Specifying a fixed line count is only useful for form-like lists with a fixed page layout. Here, however, always check whether these forms can be created by other means .

Example ABAP Coding 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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




REPORT_DEFINING
RESERVE




comments powered by Disqus