ABAP Keyword Documentation → ABAP - Quick Reference
GET CURSOR - Quick 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 infieldand 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,DISPLAYandMEMORYdistinguish 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 inlineand determines further row-related properties of the cursor position in lists.
VALUE val- Returns the value of the list line inval.
LENGTH len- Returns the length of the list line inlen.
[DISPLAY|MEMORY] OFFSET off- Returns the offset of the cursor in the list line inoff.DISPLAYandMEMORYdistinguish between screen position and position in the list buffer.