Ansicht
Dokumentation

ABENDYNPRO_FIELD_ABEXA - DYNPRO FIELD ABEXA

ABENDYNPRO_FIELD_ABEXA - DYNPRO FIELD ABEXA

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

- FIELD Statement

This example demonstrates how to transport data using the statement FIELD.

Source Code

Execute

Description

The static next dynpro number of dynpro 100 is 100. The checkboxes which are ready for input are assigned the dynpro fields box1, box2, box3, and box4. The dynpro flow logic is as follows:

PROCESS BEFORE OUTPUT.
  MODULE init_screen_100.
PROCESS AFTER INPUT.
  MODULE user_command_0100.
  MODULE module_1.
  FIELD box2.
  MODULE module_2.
  FIELD: box1, box3.
  MODULE module_3.

In the GUI status STATUS_100, the Cancel icon (F12) is activated using the function code CANCEL. If the user selects the checkboxes ready for input and raises the PAI event by pressing Enter, the output fields indicate which dynpro field is available in which dialog module.

  • The dynpro field box4 is transported in the PAI event, since it does not occur in any FIELD statements.
  • Dynpro field box2 is not transported until before the dialog module module_2 is called and is therefore not available in user_command_0100 or module_1.
  • Dynpro fields box1 and box3 are transported before the dialog module module_3 and are therefore only available in that module.





CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1909 Date: 20240425 Time: 194350     sap01-206 ( 29 ms )