SAP DYNPRO FIELD ABEXA



Get Example source ABAP code based on a different SAP table
  



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

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_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.