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

Calling a subscreen inside another subscreen

Former Member
0 Likes
5,340

Hi everyone,

I have an issue where in I need to call a subscreen inside another subscreen. The demo requirement is something like below:

I have two tabstrips:

After clicking on the "Submit" button, the table control should appear:

I tried using a dummy selection screen as well, but I cant get it done. I am using tabstrip with wizard. So how can I get this done?

Regards.

Manish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,458

Hi Manish,

Calling a subscreen inside Another subscreen is not possible.

and apart form subscreen you con't insert another elements like input fields inside the Tabstrip.

13 REPLIES 13
Read only

Former Member
0 Likes
4,459

Hi Manish,

Calling a subscreen inside Another subscreen is not possible.

and apart form subscreen you con't insert another elements like input fields inside the Tabstrip.

Read only

0 Likes
4,458

Hi Nagamani,

That's fine. So how do I make the table control appear after the "Submit" button is pressed? Do u have a solution for that?

Regards.

Manish.

Read only

0 Likes
4,458

If calling subscreen inside subscreen wouldn't be possible, then 90% of SAP standard programs would not work. I'd say it's normal to do so.

Read only

0 Likes
4,458

Hi Lukasz,

So how can I achieve the objective of displaying the table control after the click of the button?

Regards.

Manish

Read only

0 Likes
4,458

Hi Manish,

That you can achieve without Tab strip.

Read only

0 Likes
4,458

1.Create one screen in SE51 which contains Tabstrip. Then in Tabstrip you must create subscreen areas.
2. Create subscreen with button and with subscreen area

3. Create next subscreen with Tablecontrol.

Put proper logic in PBO and PAI of all screens

Read only

0 Likes
4,458

Hi Nagamani,

My requirement is to get it done inside the tabstrip.

Regards.

Manish

Read only

0 Likes
4,458

Hi Lukasz,

I had done what you mentioned as per the first 2 points. But my question is this, when I create the tabstrip, only one subscreen is inside it. When I create 2 subscreens : 1 for the button and material number selection and the other for the table control, how can the tabstrip (with wizard) call both the subscreens in the PBO and PAI??

The layout has only one subscreen defined which holds the "Submit" button and the selection parameter.

Only the above screen is getting called. I need to display the table control after the "Submit" button is displayed.

Regards.

Manish

Read only

0 Likes
4,458

On your subscreen with material number and submit button add subscreen area bellow and call next subscreen with table control there when button is clicked or empty subscreen during initial call

Read only

0 Likes
4,458

Hi Manish,

In the subscreen, have both the material selection and the Table control.

Make the table control attribute invisible(T100-invisible = 'X') at PBO of subscreen and remove the invisible flag when the submit button is clicked.

Thanks & Regards,

RameshBabu

Read only

0 Likes
4,458

This message was moderated.

Read only

ipravir
Active Contributor
0 Likes
4,458

Hi Manish,

You can user CL_GUI_ALV_GRID with Custom contains.

So after enter material no, and by clicking SUBMIT button, you initialize CL_GUI_CUSTOM_CONTAINER class and display the information in ALV.

If you want to any function like table control, so CL_GUI_ALG_GRID contains lots of similar event and method to achieve those functionality.

Regards,

Praveer.

Read only

Former Member
0 Likes
4,458

This message was moderated.