Share |

Implementing a subscreen to a ABAP dynpro screen



Creating a subscreen on a screen is a fairly simple process, you simple add a subscreen area to your main screen and then add the following code to the dynpro screens PBO flow logic. Main screen is 0100 and the subscreen is 0110.


*dynpro PBO flow logic for screen 0100
PROCESS BEFORE OUTPUT.

 MODULE STATUS_0100.
 CALL SUBSCREEN GD_SUBSCREENAREA INCLUDING  'program_name'  'subscreen_number'.
*   i.e. CALL SUBSCREEN GD_SUBSCREENAREA INCLUDING 'ZSAPPROG'  '0110'.

PROCESS AFTER INPUT.
 MODULE USER_COMMAND_0100.