Ansicht
Dokumentation

ABENDYNPRO_FIELD_CHAIN_ABEXA - DYNPRO FIELD CHAIN ABEXA

ABENDYNPRO_FIELD_CHAIN_ABEXA - DYNPRO FIELD CHAIN ABEXA

rdisp/max_wprun_time - Maximum work process run time   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

- Input Checks in Dialog Modules

This example demonstrates how to check input fields in dialog modules.

Source Code

Execute

Description

The static next dynpro number of dynpro 100 is 100. The input fields are assigned the dynpro fields input1 to input6. The function code of the pushbutton is EXECUTE.

In the GUI status STATUS_100, the symbol Cancel (F12) is activated by the function code CANCEL with the function type E. The function key F8 is assigned the function code EXECUTE without a special function type. The dynpro flow logic is as follows:

PROCESS BEFORE OUTPUT.
  MODULE init_screen_100.
PROCESS AFTER INPUT.
  MODULE cancel AT EXIT-COMMAND.
  FIELD input1 MODULE module_1.
  FIELD input2 MODULE module_2.
  FIELD input3 MODULE module_3.
  CHAIN.
    FIELD input4.
    MODULE chain_module_1.
    FIELD input5.
    FIELD input6 MODULE chain_module_2.
  ENDCHAIN.
  MODULE execution.

The fields input1 to input3 are checked separately in the modules module_1 to module_3. As long as the user does not enter a corresponding value, the screen layout is repeatedly displayed with the appropriate field ready for input.

The fields input4 to input6 are checked together in the processing chain. If input4 does not match the condition in chain_module_1, all three fields are made ready for input again. The same applies if the three fields do not fulfill the condition in chain_module_2.

The execution module, from which an information message is displayed, is not executed until all six fields fulfill the appropriate conditions.






CPI1466 during Backup   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2553 Date: 20240329 Time: 165712     sap01-206 ( 40 ms )