sapdev logo background
sapdev logo sapdev logo
Comments

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



Return to Statement index



GET CURSOR - line_properties

Short Reference

ABAP Syntax ... [VALUE val] [LENGTH len] [[DISPLAY|MEMORY] OFFSET off].

ABAP_ADDITIONS:
1 ... VALUE val
2 ... LENGTH len
3 ... [DISPLAY|MEMORY] OFFSET off

What does it do? With these additions, further information on the cursor position can be read using the addition LINE of the statement GET CURSOR .

ABAP_ADDITION_1 ... VALUE val

What does it do? The addition VALUE assigns the formatted content of the list line on which the cursor is positioned to the data object val . For val , a character-type variable is expected.

ABAP_ADDITION_2 ... LENGTH len

What does it do? The addition LENGTH assigns the line length set using the addition LINE-SIZE of the statement introducing the program or using NEW-PAGE (this is the line on which the cursor is positioned) to the data object len . For len , a variable of the type i is expected.

ABAP_ADDITION_3 ... [DISPLAY|MEMORY] OFFSET off

What does it do? The addition OFFSET without an addition or with the addition DISPLAY assigns the position of the cursor in the displayed line 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 position of the character in the list buffer line (on whose output the cursor is currently positioned) to the data object off . If the cursor is on one of the characters <(><<)> or > for characters cut off in the display, the position of the character in the list buffer that is overwritten by the character is assigned. For off , a variable of the type i is expected.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




GET_CURSOR_LIST_FIELD
GET_DATASET




comments powered by Disqus