sapdev logo background
sapdev logo sapdev logo
Comments

Implementing a subscreen to an ABAP dynpro screen with SAP





Creating a subscreen on a ABAP dynpro screen is a fairly simple process, you just add a subscreen area (i.e. GD_SUBSCREENAREA) to your main program screen and then add the following ABAP code to the dynpro screens PBO flow logic.

For this example the main screen is 0100 and the subscreen is 0110. You then build the subscreen content as you would any other screen


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




comments powered by Disqus