ABAP Keyword Documentation → ABAP - Reference → User Dialogs → Screens → ABAP Statements for Screens → GET CURSOR - Dynpro
GET CURSOR - Open-SQL
Other versions: 7.31 | 7.40 | 7.54
Syntax
... [VALUE val] [LENGTH len] [OFFSET off] [LINE lin] [AREA area].
Extras
2. ... LENGTH len
3. ... OFFSET off
4. ... LINE lin
5. ... AREA area
Effect
Using these additions, further information on the cursor position can be imported during
PAI processing if the addition
FIELD
is attached to the statement GET CURSOR
.
Addition 1
... VALUE val
Effect
The VALUE
addition assigns the formatted content of the screen element on
which the cursor is positioned to the data object val
as a character string. For val
, a character-type variable is expected.
Addition 2
... LENGTH len
Effect
The addition LENGTH
assigns the length of the screen element on which the
cursor is positioned to the data object len
. For len
, a variable of the type i
is expected.
Addition 3
... OFFSET off
Effect
The addition OFFSET
assigns the position of the cursor within the screen element on which the cursor is positioned to the data object off />. For
off
, a variable of the type i
is expected.
Addition 4
... LINE lin
Effect
If the screen element on which the cursor is positioned is within a
table control or a
step loop, the addition assigns
the number of the row of the table control or the group of the step loop to the LINE
data object lin
. Otherwise, lin
is set to 0. For lin
, a variable of the type i
is expected.
Addition 5
... AREA area
Effect
If the screen element on which the cursor is positiioned is within a
table control, the addition
AREA
assigns the name of the table control to the data object area
.
Otherwise, area
is initialized. For area
, a character-type variable is expected.