‎2012 Feb 29 9:05 AM
I am trying to activate tabstrip control in module pool but error is coming like no sub screen is assigned to tabstrip pushbutton
tab12.
my main screen is : 0221
flow logic for 0221 is below :
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0321'.
CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0322'.
PROCESS AFTER INPUT.
CALL SUBSCREEN SUB1.
CALL SUBSCREEN SUB2.
MODULE USER_COMMAND_0221.
and 0321 and 0322 is subscreen and i also gave ref field sub1 and sub2 .
can you plz help me to solve the problem ?
‎2012 Feb 29 9:13 AM
Did you create a Subscreen and placed it inside the tabstrip control?
Or else create a subscreen.
‎2012 Feb 29 9:13 AM
Did you create a Subscreen and placed it inside the tabstrip control?
Or else create a subscreen.
‎2012 Feb 29 10:39 AM
Hi,
yes i created sub screen. i am going to explain what i have done .
step : i created screen 200 (i choose subscreen)and inside 200 i put tabstripcontrol then in tab1 i gave ref field sub1 and tab2 i gave ref field sub2 and fatch code ic1 and ic2.
and then i created screen 221 and 222.
inside 200 flow logic i wrote below code but still its giving me same error.
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0221'.
CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0222'.
PROCESS AFTER INPUT.
CALL SUBSCREEN SUB1.
CALL SUBSCREEN SUB2.
MODULE USER_COMMAND_0221.
i dont know is it required to make any normal screen .
please try to give me ans as soon as possible.
‎2012 Feb 29 10:42 AM
hi Kunal,
Make your screen 200 as normal screen. your problem would be resolved.
Regards,
Vinod
‎2012 Feb 29 11:03 AM
i solved my problem but little different way .
inside tab strip we have to create subscreen area from layout in each and every tab .
‎2012 Feb 29 11:06 AM
but now i am getting CONTROL variable not found error even though i have declare
CONTROLS: TAB12 TYPE TABSTRIP. Top include
still error is coming .
can you please tell how can i solved it .
‎2012 Feb 29 11:09 AM
hi kunal,
Yes that is required. But your program wont run without atleast one normal screen. So i meant to say that create one normal screen. Include Tabstrip inside normal screen. Include subscreens inside every tabstrip. But the summary is You will require atleast one normal screen for sucessfully run your program.
Hope this clarifies all your doubts.
Regards,
Vinod.
‎2012 Feb 29 11:11 AM
hi kunal,
you will have to activate your include seperately where your tab control has been declared.
Regards,
Vinod
Edited by: Vinod Pakath on Feb 29, 2012 4:43 PM
‎2012 Feb 29 9:58 AM
hi,
For creating a tabstrip you will have to create altleast two or more subscreens initially. Then only you can create tabstrip.
Regards,
Vinod
‎2012 Feb 29 10:38 AM
Hi,
yes i created sub screen. i am going to explain what i have done .
step : i created screen 200 (i choose subscreen)and inside 200 i put tabstripcontrol then in tab1 i gave ref field sub1 and tab2 i gave ref field sub2 and fatch code ic1 and ic2.
and then i created screen 221 and 222.
inside 200 flow logic i wrote below code but still its giving me same error.
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0221'.
CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0222'.
PROCESS AFTER INPUT.
CALL SUBSCREEN SUB1.
CALL SUBSCREEN SUB2.
MODULE USER_COMMAND_0221.
i dont know is it required to make any normal screen .
please try to give me ans as soon as possible.