SAP BACK ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for BACK

BACK

Short Reference
• BACK ABAP Statement


ABAP Syntax BACK.


What does it do? This statement positions the list cursor on the first position of the first line in a logical unit. There are the following logical units in a list: A line block defined with RESERVE.
If BACK is executed after the RESERVE statement, the list cursor is placed in the first line of the current line block. The lines within a self-defined page header.
If BACK is executed within the event block for TOP-OF-PAGE and is not placed after RESERVE, the list cursor will be positioned in the first line underneath the standard page header. The lines of a page underneath the page header.
If BACK is executed outside of the event block for TOP-OF-PAGE and not after RESERVE, the list cursor will be positioned in the first line underneath the page header.



Example ABAP Coding
Output of 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.

Return to menu