ABAP Keyword Documentation → ABAP − Reference → SAP GUI User Dialogs → Classic Lists → Creating Lists
BACK
Other versions: 7.31 | 7.40 | 7.54
Syntax
BACK.
Effect
This statement positions the list cursor on the first place of the first line in a logical unit. A list contains the following logical units:
-
A line block defined using
RESERVE
.
IfBACK
is executed after the statementRESERVE
, the list cursor is placed in the first line of the current line block. -
The lines within a self-defined page header.
IfBACK
is executed within the event block forTOP-OF-PAGE
and is not placed afterRESERVE
, the list cursor is positioned in the first line below the standard page header. -
The lines of a page below the page header.
IfBACK
is executed outside of the event block forTOP-OF-PAGE
and not afterRESERVE
, the list cursor is positioned in the first line below the page header.
Example
Displays a small input mask. The input fields are positioned after the description.
DATA: title TYPE c LENGTH 3,
sname TYPE c LENGTH 20,
fname TYPE c LENGTH 20.
SKIP 5.
RESERVE 3 LINES.
WRITE: / 'Title',
/ 'Second name',
/ 'First name'.
BACK.
WRITE: /14 title INPUT,
/14 sname INPUT,
/14 fname INPUT.