sapdev logo background
sapdev logo sapdev logo
Comments

ABAP GET CURSOR FIELD Statement syntax, information and example SAP source code



Return to Statement index



GET CURSOR - Open-SQL

Short Reference

ABAP Syntax ... [VALUE val] [LENGTH len] [OFFSET off] [LINE lin] [AREA area].

ABAP_ADDITIONS:
1 ... VALUE val
2 ... LENGTH len
3 ... OFFSET off
4 ... LINE lin
5 ... AREA area

What does it do? 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 .

ABAP_ADDITION_1 ... VALUE val

What does it do? 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.

ABAP_ADDITION_2 ... LENGTH len

What does it do? 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.

ABAP_ADDITION_3 ... OFFSET off

What does it do? 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.

ABAP_ADDITION_4 ... LINE lin

What does it do? 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.

ABAP_ADDITION_5 ... AREA area

What does it do? 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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




GET_CURSOR_DYNPRO
GET_CURSOR_LIST




comments powered by Disqus