You are on page 1of 6

Subscreens

Sub screens
A Sub screen is nothing but a screen with in
a screen.
Displaying of data of one screen (sub
screen) in the other screen (normal screen)
is done by using sub screens.

Steps to create Sub screens


Create a sub screen area on a normal screen
and name it (say SS1).
Create a separate screen of sub screen type.
Arrange the fields on this screen (sub
screen), such that they fit in the sub screen
area(SS1) exactly.
Write code for calling sub screen in flow
logic editor screen of normal screen.

Code to be written in flow logic


PBO.
Call subscreen <area> including <prg name>
<sub screen number>.
PAI.
Call subscreen <area>.

DONTs with sub screens


GUI status can not be set to the sub screen.
OKCODE is not applicable to the sub
screen.
Sub screen can not call another screen.
It can not contain AT EXIT-COMMAND.

Multiple sub screens


You can call multiple sub screens in the
same area and is done dynamically during
runtime by using variable screen number.
At any given point of time, only one sub
screen can be called in the sub screen area.

You might also like