Get Example source ABAP code based on a different SAP table
ABAP_DYNPRO - Dynamic Screen Modification This example demonstrates how to modify dynpro fields at runtime.
ABAP_SOURCE_CODE ABAP_EXEC >
ABAP_DESCRIPTION The static next dynpro number of dynpro 100 is 100. The input and output fields are from the structure DEMO_CONN>> in the ABAP Dictionary. The bottom four input and output fields are assigned to the modification group MOD>. The dynpro flow logic is as follows: PROCESS BEFORE OUTPUT. MODULE status_0100. PROCESS AFTER INPUT. MODULE cancel AT EXIT-COMMAND. MODULE user_command_0100.> In the GUI status SCREEN_100>, the function code TOGGLE> is linked with a pushbutton. When the program is called, the four input/output fields at the bottom are not displayed as ready for input, because the variable flag> initially contains a blank. The user can make the fields ready for input or not by using Display/Change >. The program DEMO_DYNPRO_MODIFY_SCREEN>> demonstrates further dynamic screen modifications.