2014 May 14 6:47 AM
How to create a Tabstrp with 3 tabs with only one subscreen is that possible.
2014 May 14 7:45 AM
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:
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.
2014 May 14 6:57 AM
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.
2014 May 14 7:19 AM
2014 May 14 7:45 AM
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:
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
2014 May 14 8:04 AM
what I need to give in REF FIELD it gives error when all the names of subscreen in all tabs are same
2022 Aug 12 4:29 PM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |