Application Development 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: 

Two subscreens in one one subscreen area

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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.

former_member188685
Active Contributor
0 Kudos

I don't think it is possible.

Former Member
0 Kudos

Hi Nagarajan,

Can you please explain in detail how to call a subscreens from one subscreen.

Regards,

Steve

0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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.