ARTICLE
Screens, Determining the Cursor Position
The example shows how to determine the cursor position on screens.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The static next screen number of screen 100 is 100. All input/output
fields except for the screen field of input_output have been set
as not ready for input in the Screen Painter. Module
init_screen_0100 sets the GUI status to STATUS_100 in the
PBO event. In the GUI status, the 'Cancel' ( F12 ) has been
activated using the function code CANCEL , and the function key
F2 has been assigned the function code SELE . When the
program is executed, the user may select all screen elements by
double-clicking them or all interface elements linked to SELE .
The output fields then show the corresponding cursor position.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved