Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Classic Lists →  Displaying Lists →  GET CURSOR - List 

GET CURSOR - field_properties

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... [VALUE val] [LENGTH len] 
    [[DISPLAY|MEMORY] OFFSET off] [LINE lin].

Extras

1. ... VALUE val

2. ... LENGTH len
3. ... [DISPLAY|MEMORY] OFFSET off
4. ... LINE lin

Effect

Using these additions, further information on the cursor position can be read during list processing with the addition FIELD of the GET CURSOR statement.

Addition 1

... VALUE val

Effect

The addition VALUE assigns the formatted content of the output area on which the cursor is positioned to the data object val. For val, a character-type variable is expected.

Addition 2

... LENGTH len

Effect

The addition LENGTH assigns the length of the output area on which the cursor is positioned to the data object len. For len, a variable of the type i is expected.

Addition 3

... [DISPLAY|MEMORY] OFFSET off

Effect

The addition OFFSET without an addition or with the addition DISPLAY assigns the position of the cursor in the output area on which it is positioned to the data object off. For off, a variable of the type i is expected.

The addition OFFSET with the addition MEMORY assigns the offset of the character in the area of the data object in the list buffer (on whose output the cursor is positioned) to the data object off. If the cursor is positioned in a Unicode system on one of the characters < or > for characters cut off in the display, the position of the character in the list buffer that was overwritten by the character is assigned. For off, a variable of the type i is expected.

Addition 4

... LINE lin

Effect

The addition LINE assigns the number of the list row on which the cursor is positioned to the data object lin. For lin, a variable of the type i is expected.