Get Example source ABAP code based on a different SAP table
• VALUE GET CURSOR FIELD - list • LENGTH GET CURSOR FIELD - list • DISPLAY OFFSET GET CURSOR FIELD - list • MEMORY OFFSET GET CURSOR FIELD - list • OFFSET GET CURSOR FIELD - list • LINE GET CURSOR FIELD - list
ABAP Addition 1 ... VALUE val> 2 ... LENGTH len> 3 ... $[DISPLAY$|MEMORY$] OFFSET off> 4 ... LINE lin>
What does it do? Using these additions, further information about the cursor position can be read during list processing with the addition FIELD> of the GET CURSOR>> statement.
ABAP Addition
What does it do? The addition VALUE> assigns the formatted content of the output area on which the cursor is positioned to the data object val>. val> expects a character-like variable.
ABAP Addition
What does it do? The addition LENGTH> assigns the length of the output area 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> 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>. off> expects a variable of the type i>. Counting begins at 0. 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 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. off> expects a variable of the type i>.
Latest notes: If substrings> are displayed in lists, the returned offset is counted starting from the offset of the subfield. ABAP_HINT_END
ABAP Addition
What does it do? The addition LINE> assigns the number of the list line on which the cursor is positioned to the data object lin>. lin> expects a variable of the type i>.