04-09-2008 1:05 PM
hi to all.
i used a tabstrip control in my screen.
i want to make my tabstrip visible or invisible based on t-code
for my screen.
it will be total based on t-code.
if i will enter t-code zins11 it will show me tabstrip for screen 100.
if i will enter t-code zins12 it will hide me tabstrip for screen 100.
Reply me.
thanks.
04-09-2008 2:47 PM
Hi,
U have to call the subscreen right.
Check with sy-tcode.
If sy-tcode matches call the screen other wise don't call it.
Regards,
Angi.
04-09-2008 1:13 PM
You have to create a main screen(9000) with a subscreen area,
You have to create two sub screens 100 with your tabstrip and 101 a blank screen.
when transaction is zins11, then call subscreen 100 in your sub screen area and
when transaction is zins12, then call subscreen 101 in your sub screen area .
04-09-2008 1:20 PM
If you don't mind seeing the blank grey Tab Strip control box and simply hiding the tabs, this code will help.
LOOP AT SCREEN.
IF screen-name CP 'TS_TEST1_TAB*'.
screen-active = 0.
modify screen.
ENDIF.
ENDLOOP.
where my Tab Strip name was 'TS_TEST1
04-09-2008 1:23 PM
sorry to say,
but it can'nt work for tabstrip. i was already check this option.
thanks.
04-09-2008 2:52 PM
Vip,
You will note that my code hides the tabs.. that was my statement.
04-09-2008 2:47 PM
Hi,
U have to call the subscreen right.
Check with sy-tcode.
If sy-tcode matches call the screen other wise don't call it.
Regards,
Angi.