09-23-2008 10:38 AM
Hi friends,
Can I insert two subscreens(or more than one subscreen) in one tab i.e., one subscreen area??
Kindly explain me in detail.
Thanks in advance,
Steve
09-23-2008 10:47 AM
Hi,
In any subscreen at a time, it can hold only one subscreen.
Otherwise it doesn't matter, it is just the subscreen number that you have to specify. If you code a logic to specify the screen number, then you hold different subscreen in subscreen area.
Regards,
R.Nagarajan.
09-23-2008 10:49 AM
09-23-2008 11:09 AM
Hi Nagarajan,
Can you please explain in detail how to call a subscreens from one subscreen.
Regards,
Steve
09-24-2008 10:05 AM
Hi,
You use the following statement in flow logic .
call subscreen SCREEN1 including prg_name scr_no.
prg_name =name of your program,
scr_no = screen you want to call.
regards,
mahantesh
09-24-2008 10:55 AM
Hi,
If you used Tabstrip control with wizard, there will be a module name as 'ZTS_ACTIVE_TAB_SET' in PBO of the screen in which you have tabstrip.
In this module only, the subscreen number is set according to the tab we pressed.
Find the 'WHEN' statement for you tab, under this write a logic to set the subscreen number.
For example i did as follows,
WHEN C_ZTS-TAB1.
IF FLG_SET IS INITIAL.
G_ZTS-SUBSCREEN = '1005'.
FLG_SET = 'X'.
ELSE.
G_ZTS-SUBSCREEN = '1006'.
CLEAR FLG_SET.
ENDIF.
Here : G_ZTS contains three fields : SUBSCREEN, PROG and PRESSED_TAB.
So whenever you select this tab first time subscreen '1005' will be displayed.
Next time, if you select this tab, subscreen '1006' will be displayed.
Regards,
R.nagarajan.
09-24-2008 6:56 AM
hi,
try following logic
Screen 100 has one subscreen - main screen
screen 200 has two subscreen - subscreen (place it in screen100)
screen 300 has information - subscreen (place it in screen 200)
screen 400 has information - subscreen (place it in screen 200)
i think you r trying this.