ABAP Keyword Documentation → ABAP - Short Reference
GET CURSOR - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
GET CURSOR { { FIELD field
[VALUE val]
[LENGTH len]
[[DISPLAY|MEMORY] OFFSET off]
[LINE line]
[AREA area] }
| { LINE line
[VALUE val]
[LENGTH len]
[[DISPLAY|MEMORY] OFFSET off] } }.
Effect
Evaluates the cursor position on screens and lists.
Additions
-
FIELD field
Returns the name of the screen element of the field displayed on a list infield
and determines further field-related properties of the cursor position.
VALUE val
- Returns the value of the screen element or the output area of a list inval
.
LENGTH len
- Returns the length of the screen element or the output area of a list inlen
.
[DISPLAY|MEMORY] OFFSET off
- Returns the offset of the cursor in the screen element or in the output area of a list inoff
. In lists,DISPLAY
andMEMORY
distinguish between the screen position and the position in the list buffer.
LINE line
- Returns the number of the row for a table control, for a step loop, or the list inline
.
AREA area
- Returns the name of a table control inarea
. -
LINE line
Returns the number of the row of a table control, of a step loop, or the list inline
and determines further row-related properties of the cursor position in lists.
VALUE val
- Returns the value of the list row inval
.
LENGTH len
- Returns the length of the list row inlen
.
[DISPLAY|MEMORY] OFFSET off
- Returns the offset of the cursor in the list row inoff
.DISPLAY
andMEMORY
distinguish between screen position and position in the list buffer.