Application Development 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: 

Regarding Tabstrip Control

Former Member
0 Kudos

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.

11 REPLIES 11

former_member188685
Active Contributor
0 Kudos

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.

0 Kudos

Vijay,

This is not working.

0 Kudos

Just post your code, what you did..?

0 Kudos

Hi Moderators,

i would like to post this query in other group ABAP General. Is it permissible?

0 Kudos

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

0 Kudos

CASE SY-UCOMM.

WHEN 'RDGRP'.

IF RAD1 = 'X'.

TAB_STRIP-ACTIVETAB = TAB1.

ELSEIF RAD2 = 'X'.

TAB_STRIP-ACTIVETAB = TAB2

ENDIF.

ENDCASE.

0 Kudos

Hi,

TAB_STRIP-ACTIVETAB = *TAB1.*

place tab1 in quotations

TAB_STRIP-ACTIVETAB = 'TAB1'.

regards

padma

0 Kudos

>

> 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

Former Member
0 Kudos

hi...

in ur code u have written else if.. write only else ....

ELSE RAD2 = 'X'.

TAB_STRIP-ACTIVETAB = TAB2

may be it will work...

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi All,

I did not get answer for my question yet. Hoping to see some good replies.

Thanks.