SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation →
ABAP − Short Reference →
GET CURSOR - Short Reference
Reference
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 in field 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 in val.
LENGTH len - Returns the length of the screen element or the output area of a list in len.
[DISPLAY|MEMORY] OFFSET off - Returns the offset of the cursor in the
screen element or in the output area of a list in off. In lists, DISPLAY
and MEMORY 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 in line.
AREA area - Returns the name of a table control in area.
-
LINE line
Returns
the number of the row of a table control, of a step loop, or the list in line and determines further row-related properties of the cursor position in lists.
VALUE val - Returns the value of the list row in val.
LENGTH len - Returns the length of the list row in len.
[DISPLAY|MEMORY] OFFSET off - Returns the offset of the cursor in the
list row in off. DISPLAY and MEMORY distinguish between screen position and position in the list buffer.