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

Sub Screen

Former Member
0 Likes
621

waht is sub screen

4 REPLIES 4
Read only

Former Member
0 Likes
590

Subscreen is a part of another screen. This means that you must define a sufficiently large area in the superior screen and ensure that the flow logic contains a CALL SUBSCREEN ... call in the PB0 and PAI. This call causes the PB0 or PAI part of the subscreen flow logic to be processed.

A screen can contain several subscreens in different areas. You can control the call dynamically, so that the subscreen used does not need to be defined until the transaction is processed.

A subscreen can be called in several screens.

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
590

Hi,

When you create a screen you have an option to make it subscreen. If you make it a subscreen then it cannot have its own PF-STATUS, No next screen can be specified. It can be included in a normal screen. In the normal screen you have to create a subscreen area.

Then in the PBO of the main screen you can include this subscreen using

CALL SUBSCREEN <area_name> includeing <program_name> <subscreen_number>.

IN the PAI .

CALL SUBSCREEN <area_name>.

MARK you messages as questions then only you will be able to award points.

Regards,

Sesh

Message was edited by: Seshatalpasai Madala

Read only

Former Member
0 Likes
590

Sub Screen is basically a reuable component in dynpro applications. it is a screen withing a screen, i.e., u can call a screen(which is marked as subscreen) in any of the dynpro application by mentioning subscreen program(dynpro) and screen number(dynnr). Subscreen plays a vital role in design of Tabstrips(collection of multiple subscreens).

Regards:-

Santosh.

Mark Usefull Answers

Read only

Former Member
0 Likes
590

Hi Abhay,

Check this out. You can go to SE51, Screen painter give a create a new screen no for the program. In the Attributes section select Subscreen option. This can be used with a Subscreen area in a Main screen.