SAP GET CURSOR FIELD ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• VALUE GET CURSOR FIELD - dynpro
• LENGTH GET CURSOR FIELD - dynpro
• OFFSET GET CURSOR FIELD - dynpro
• LINE GET CURSOR FIELD - dynpro
• AREA GET CURSOR FIELD - dynpro

GET CURSOR, field_properties
Short Reference

ABAP_SYNTAX
... $[VALUE val$] $[LENGTH len$] $[OFFSET off$] $[LINE lin$] $[AREA area$].

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

What does it do?
Using these additions, further information about the cursor position can be imported during PAI processing if the addition FIELD is specified for the statement GET CURSOR.

ABAP Addition

What does it do?
The addition VALUE assigns the formatted content of the screen element on which the cursor is positioned to the data object val as a character string. val expects a character-like variable.

ABAP Addition

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. len expects a variable of the type i.

ABAP Addition

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. off expects a variable of the type i.

ABAP Addition

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 LINE assigns the number of the line of the table control or the group of the step loop to the data object lin. If not, lin is set to 0. lin expects a variable of the type i.

ABAP Addition

What does it do?
If the screen element on which the cursor is positioned is within a table control, the addition AREA assigns the name of the table control to the data object area. If not, area is initialized. area expects a character-like variable.

Return to menu