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

Tabstrp with single subscreen

former_member193737
Participant
0 Likes
1,617

How to create a Tabstrp with 3 tabs with only one subscreen is that possible.

1 ACCEPTED SOLUTION
Read only

0 Likes
1,288

Hi Selva Kumar,

First let me tell you that you can use single "subscreen area" for different tabstrips, as well as single "subscreen". But using a single subscreen for each tab is of no use. Any how using single shared subscreen area can be used so that you can open different subscreens with different tabs without assigning different subscreen areas for each tab.

For your query, following requirements must be met:

  • Create a third tab using Pushbutton and drag it to the tabstrip.
  • All tab pages share a common subscreen area.
  • All tab titles have function code type ' ' (space).

Code sample:

PROCESS BEFORE OUTPUT.

MODULE ..........

.............

CALL SUBSCREEN subarea INCLUDING SY-CPROG dynnr.

PROCESS AFTER INPUT.

CALL SUBSCREEN subarea.

MODULE.........

The PBO must contain a module before the subscreen is called, in which you place the name of the subscreen in the corresponding variable. Assign an initial vale to the subscreen variable so that the screen is processed the first time.

In PAI block, call a module in which the Function code of the ACTIVETAB title is placed in the active tab field of the structure you created with the type TABSTRIP.

Regards-

Chirag Keswani

How to create a Tabstrp with 3 tabs with only one subscreen is that possible.

5 REPLIES 5
Read only

former_member392866
Active Participant
0 Likes
1,288

Hi Selva Kumar,

we can say not Possible. Each tab should contain a separate sub screen with screen no.

if possible then all tabs contain similar data - so no use of tab strip concept.

Thanks,

Balaji P.

Read only

rosenberg_eitan
Active Contributor
0 Likes
1,288

Hi,


What are you trying to achieve ?


Regards.

Read only

0 Likes
1,289

Hi Selva Kumar,

First let me tell you that you can use single "subscreen area" for different tabstrips, as well as single "subscreen". But using a single subscreen for each tab is of no use. Any how using single shared subscreen area can be used so that you can open different subscreens with different tabs without assigning different subscreen areas for each tab.

For your query, following requirements must be met:

  • Create a third tab using Pushbutton and drag it to the tabstrip.
  • All tab pages share a common subscreen area.
  • All tab titles have function code type ' ' (space).

Code sample:

PROCESS BEFORE OUTPUT.

MODULE ..........

.............

CALL SUBSCREEN subarea INCLUDING SY-CPROG dynnr.

PROCESS AFTER INPUT.

CALL SUBSCREEN subarea.

MODULE.........

The PBO must contain a module before the subscreen is called, in which you place the name of the subscreen in the corresponding variable. Assign an initial vale to the subscreen variable so that the screen is processed the first time.

In PAI block, call a module in which the Function code of the ACTIVETAB title is placed in the active tab field of the structure you created with the type TABSTRIP.

Regards-

Chirag Keswani

Read only

0 Likes
1,288

what I need to give in REF FIELD it gives error when all the names of subscreen in all tabs are same

Read only

dipayandas
Newcomer
0 Likes
1,288

First create all the Tabs in the Tabscript, then create a subscreen under the first Tab

(example here it is Name : 'REF'). Put the Ref ID as "REF" for all the tabs.