Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI User Dialogs →  Classic Lists →  Creating Lists 

BACK

Quick Reference

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.
    If BACK is executed after the statement RESERVE, 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 is positioned in the first line below the standard page header.
  • The lines of a page below the page header.
    If BACK is executed outside of the event block for TOP-OF-PAGE and not after RESERVE, 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.