SAP DYNPRO GET CURSOR ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_DYNPRO - Determining the Cursor Position
This example demonstrates how to determine the cursor position on dynpros.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The static next dynpro number of dynpro 100 is 100. All input/output fields except for the screen field of input_output are set as not ready for input in the Screen Painter. The module init_screen_0100 sets the GUI status to STATUS_100 in the PBO event. In the GUI status, the 'Cancel' symbol (F12) is activated using the function code CANCEL, and the function key F2 is assigned the function code SELE. When the program is executed, the user can select all screen elements by double-clicking them or all interface elements linked with SELE. The output fields on the screen return the cursor position.