The present post is in continuation with GET CURSER Syntax part one and going through it shall give you more convenience in understanding the present extension.
Here is the continuation for the earlier post .......
Addition 1... OFFSET off
Effect
Copies the position of the cursor within the field to the field off (1st column = 0).
If the cursor is not somewhere within a field ( SY-SUBRC = 4 ), the offset value is set to 0.
Addition 2
... LINE lin
Effect
With step loops, lin contains the number of the loop line where the cursor stands. In list processing, this is the absolute line number (as stored in the system field SY-LILLI ).
Addition 3
... VALUE g
Effect
g contains the value of the field where the cursor stands, always in output format (character display).
Addition 4... LENGTH len
Effect
len contains the output length of the field where the cursor stands.
Variant 2GET CURSOR LINE lin.
AdditionsEffect
As for variant 1 with addition LINE , except that there are differences with the return value and the effect of the additions.
The return code value is set as follows:
SY-SUBRC = 0 The cursor is on one of the list lines (list processing) or on a loop line (step loop).
SY_SUBRC = 4 The cursor is not on one of the list or loop lines.
Addition 1
... OFFSET off
Effect
Applies to list processing only. The field off contains the position of the cursor releative to the beginning of the list line (1st column = 0). With horizontally shifted lists, the offset value can thus be greater than 0, even if the cursor is positioned on the extreme left of the window.
Addition 2
... VALUE g
Effect
List processing only. The field g contains the list line where the cursor is positioned.
Addition 3
... LENGTH len
Effect
List processing only. len contains the length of the line ( LINE-SIZE ).MySAP environment security solutions
SAP security authentication and authorization
SAP security infrastructure for data production
SAP safety infrastructure
Here is the continuation for the earlier post .......
Addition 1... OFFSET off
Effect
Copies the position of the cursor within the field to the field off (1st column = 0).
If the cursor is not somewhere within a field ( SY-SUBRC = 4 ), the offset value is set to 0.
Addition 2
... LINE lin
Effect
With step loops, lin contains the number of the loop line where the cursor stands. In list processing, this is the absolute line number (as stored in the system field SY-LILLI ).
Addition 3
... VALUE g
Effect
g contains the value of the field where the cursor stands, always in output format (character display).
Addition 4... LENGTH len
Effect
len contains the output length of the field where the cursor stands.
Variant 2GET CURSOR LINE lin.
AdditionsEffect
As for variant 1 with addition LINE , except that there are differences with the return value and the effect of the additions.
The return code value is set as follows:
SY-SUBRC = 0 The cursor is on one of the list lines (list processing) or on a loop line (step loop).
SY_SUBRC = 4 The cursor is not on one of the list or loop lines.
Addition 1
... OFFSET off
Effect
Applies to list processing only. The field off contains the position of the cursor releative to the beginning of the list line (1st column = 0). With horizontally shifted lists, the offset value can thus be greater than 0, even if the cursor is positioned on the extreme left of the window.
Addition 2
... VALUE g
Effect
List processing only. The field g contains the list line where the cursor is positioned.
Addition 3
... LENGTH len
Effect
List processing only. len contains the length of the line ( LINE-SIZE ).MySAP environment security solutions
SAP security authentication and authorization
SAP security infrastructure for data production
SAP safety infrastructure
No comments :
Post a Comment