09-19-2008 11:20 AM
Hi All,
I have two radio buttons RAD1 and RAD2 on a screen.
I have tab strip control below that with two tabs i.e. TAB1 and TAB2.
When i select the radio button RAD1, TAB2 should get disabled and when i select RAD2, TAB1 should get disabled.
How can i achieve this.
Thanks.
09-19-2008 11:29 AM
you can make use of activetab option and switch to respective tabs.
controls tab type tabstrip.
...
.
if r1 = 'X'.
tab-activetab = 'TAB2'.
else.
tab-activetab = 'TAB1'.
endif.
09-19-2008 12:04 PM
09-19-2008 12:14 PM
09-19-2008 12:18 PM
Hi Moderators,
i would like to post this query in other group ABAP General. Is it permissible?
09-19-2008 12:25 PM
Hi it is always recommendable to post querys in there repective area by which u can expect fast answers.
According to vijay logic u can gohead whts wrong.
Otherwise paste your code we can have a look and suggest you solution.
Thks
09-19-2008 12:27 PM
CASE SY-UCOMM.
WHEN 'RDGRP'.
IF RAD1 = 'X'.
TAB_STRIP-ACTIVETAB = TAB1.
ELSEIF RAD2 = 'X'.
TAB_STRIP-ACTIVETAB = TAB2
ENDIF.
ENDCASE.
09-19-2008 1:44 PM
Hi,
TAB_STRIP-ACTIVETAB = *TAB1.*
place tab1 in quotations
TAB_STRIP-ACTIVETAB = 'TAB1'.
regards
padma
09-19-2008 2:31 PM
>
> Hi Moderators,
>
> i would like to post this query in other group ABAP General. Is it permissible?
Moved to ABAP General.
Your other thread has deleted...
Do not double-post!!
Enjoy the weekend,
Julius
09-19-2008 1:24 PM
hi...
in ur code u have written else if.. write only else ....
ELSE RAD2 = 'X'.
TAB_STRIP-ACTIVETAB = TAB2
may be it will work...
09-19-2008 2:53 PM
Hi,
In the screen PBO you have to
Loop at screen.
now wen rad1 = 'x'.
tab2-invisible = 1.
endif.
endloop.
and similarly for the other can be achieved.
this way you should be able to achieve this ...
Thanks
Nitin Sachdeva
09-22-2008 6:23 AM
Hi All,
I did not get answer for my question yet. Hoping to see some good replies.
Thanks.