‎2006 Oct 27 6:21 AM
‎2006 Oct 27 6:26 AM
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.
‎2006 Oct 27 6:36 AM
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
‎2006 Oct 27 7:58 AM
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
‎2006 Oct 27 9:13 AM
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.