Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Subscreen

Former Member
0 Likes
570

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
541

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

3 REPLIES 3
Read only

Former Member
0 Likes
541

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

Read only

Former Member
0 Likes
541

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

Read only

Former Member
0 Likes
542

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