Ansicht
Dokumentation

ABENDYNPRO_SET_CURSOR_ABEXA - DYNPRO SET CURSOR ABEXA

ABENDYNPRO_SET_CURSOR_ABEXA - DYNPRO SET CURSOR ABEXA

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

- Defining the Cursor Position

This example demonstrates how to define the cursor position on dynpros.

Source Code

Execute

Description

At the start of the program, a selection screen appears on a cursor position can be selected. Afterwards, dynpro 100 is called whose static next dynpro number is dynpro 100.

The input and output fields are assigned to the fields field1 to field3 of the ABAP program. The header is the text field TEXT and the pushbutton is the screen element PUSH. The static cursor position is predefined in the dynpro attributes as PUSH. The dynpro flow logic is as follows:

PROCESS BEFORE OUTPUT.
  MODULE cursor.
PROCESS AFTER INPUT.
  MODULE back AT EXIT-COMMAND.

Before the screen of dynpro 100 is sent, the cursor position is set at PBO according to the user input on the selection screen. If the user chooses the static default, the cursor is placed on the pushbutton, otherwise on the header or one of the input fields. The specified position pos is only respected in the input fields.






ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 1408 Date: 20240419 Time: 213637     sap01-206 ( 28 ms )