Get Example source ABAP code based on a different SAP table
ID RESERVE • RESERVE ABAP Statement • LINES RESERVE
RESERVE> Short Reference >
ABAP_SYNTAX RESERVE n LINES.>
What does it do? This statement creates a page break if there is not enough space left on the current list page between the last output and the page end or page footer>, as specified in n>. n> expects a data object of type i>. No page break is triggered if the value of n> is less than or equal to 0. The page break raises the list event END-OF-PAGE>> regardless of whether or not a page footer was defined in the program-initiating statement. Furthermore, the statement RESERVE> affects the behavior of the statement BACK>>.
Latest notes: If the page length is greater than the value of n>, the RESERVE> statement can be used to define blocks of lines that can only be displayed completely on one page. ABAP_HINT_END
Example ABAP Coding
The three lines produced by the DO> loop and the blank line that follows them form a line block and are not separated by page breaks. ABEXA 00560 ABAP_EXAMPLE_END