‎2007 Aug 10 8:34 AM
Hi all,
I have created one sub screen in main screen, and i want to display it only if user presses certain push button. befor that it shoul not be displayed.
Only after when user press the push button the subsvreen abd its contents to be displayed on the same maim screen.
Can any help me with the same.
Thanks
Amar
‎2007 Aug 10 11:44 AM
Hello,
Please check the standard SAP code in abapdocu as follows
t-code:abapdocu -> BC ABAP Programming -> ABAP user Dialogs -> screens -> Complex screen elements -> subscreens ( REPORT demo_dynpro_subscreens.)---> see the code/execute
This report code will give you a detail idea how to call a screen since the action performed by executing this report is similar to your requirement
Hope it proved of some use
Reward if helpful
Regards
Byju
‎2007 Aug 10 9:05 AM
Hi,
Subscreen will also have the screen number, then when a Push button is pressed then Call that Subscreen from the Main screen
Regards
Sudheer
‎2007 Aug 10 11:05 AM
Hi, if you want to display the subscreen after pressing a pushbutton, you have to write the code under pushbutton okcode in PAI module.
call subscreen <subscreenarea> including '<programname>' '<subscreen number>'.
‎2007 Aug 10 11:44 AM
Hello,
Please check the standard SAP code in abapdocu as follows
t-code:abapdocu -> BC ABAP Programming -> ABAP user Dialogs -> screens -> Complex screen elements -> subscreens ( REPORT demo_dynpro_subscreens.)---> see the code/execute
This report code will give you a detail idea how to call a screen since the action performed by executing this report is similar to your requirement
Hope it proved of some use
Reward if helpful
Regards
Byju