SAP GET CURSOR LIST LINE ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• VALUE GET CURSOR LINE - list
• LENGTH GET CURSOR LINE - list
• DISPLAY OFFSET GET CURSOR LINE - list
• MEMORY OFFSET GET CURSOR LINE - list
• OFFSET GET CURSOR LINE - list

GET CURSOR, line_properties
Short Reference

ABAP_SYNTAX
... $[VALUE val$] $[LENGTH len$] $[$[DISPLAY$|MEMORY$] OFFSET off$].

ABAP Addition
1 ... VALUE val
2 ... LENGTH len
3 ... $[DISPLAY$|MEMORY$] OFFSET off

What does it do?
Using these additions, further information about the cursor position can be read using the addition LINE of the statement GET CURSOR.

ABAP Addition

What does it do?
The addition VALUE assigns the formatted content of the list line on which the cursor is positioned to the data object val. val expects a character-like variable.

ABAP Addition

What does it do?
The addition LENGTH assigns the line length of the line on which the cursor is positioned, set using the addition LINE-SIZE of the program-initiating statement or using NEW-PAGE to the data object len. len expects a variable of the type i.

ABAP Addition

What does it do?
The addition OFFSET without an addition or with the addition DISPLAY assigns the position of the cursor in the displayed line on which it is positioned to the data object off. off expects a variable of the type i.
The addition OFFSET with the addition MEMORY assigns the position of the character in the list buffer line on whose output the cursor is currently positioned to the data object off. If the cursor is on one of the characters < or > for characters cut off in the display, the position of the character in the list buffer that is overwritten by the character is assigned. off expects a variable of the type i.

Return to menu