sapdev logo background
sapdev logo sapdev logo
Comments

SAP DYNPRO SET CURSOR ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Screens, Determinig the Cursor Position
The example shows how to determine the cursor position on screens.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
When the program is started, a selection screen is displayed which allows the user to select a cursor position. Afterwards, screen 100 is called whose static next screen number is screen 100.
The input and output fields are assigned to the fields field1 to field3 of the ABAP program. The heading is the text field
TEXT , the pushbutton is the screen element PUSH . The static cursor position is preset in the screen attributes as PUSH . The screen flow logic is as follows:
PROCESS BEFORE OUTPUT.
MODULE cursor.
PROCESS AFTER INPUT.
MODULE back AT EXIT-COMMAND.
Before sending screen 100, the system sets the cursor position at
PBO as specified by the user on the selection screen. If the user opts for the static default, the cursor is positioned on the pushbutton; otherwise, the cursor is positioned on the heading or one of the input fields. The position value pos is only processed for the input fields.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




DYNPRO_SEQUENCE_GLOSRY
DYNPRO_SIMPLE_MODULE_ABEXA




comments powered by Disqus