RESERVE (ABAP Keyword)

RESERVE is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.

RESERVE

Basic form
RESERVE n LINES.

Effect
If
there is not enough space left on the current page for at least n
lines, this statement starts a new page. n can be a constant
(1,2,3,…) or a variable.

Notes
Before starting a new page, the END-OF-PAGE processing is executed. This differs from NEW-PAGE .
If the RESERVE statement does not trigger a new page, output is continued on the current page.
Use BACK to return to the first line you can display after RESERVE .

Note
Performance
The runtime required to execute a RESERVE statement is approx. 1 msn (standardized microseconds).