Application Development and Automation 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: 
Read only

Regarding Tabstrip Control

Former Member
0 Likes
1,316

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
Read only

Former Member
0 Likes
1,285

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.

Read only

0 Likes
1,285

Vijay,

This is not working.

Read only

0 Likes
1,285

Just post your code, what you did..?

Read only

0 Likes
1,285

Hi Moderators,

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

Read only

0 Likes
1,285

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

Read only

0 Likes
1,285

CASE SY-UCOMM.

WHEN 'RDGRP'.

IF RAD1 = 'X'.

TAB_STRIP-ACTIVETAB = TAB1.

ELSEIF RAD2 = 'X'.

TAB_STRIP-ACTIVETAB = TAB2

ENDIF.

ENDCASE.

Read only

0 Likes
1,285

Hi,

TAB_STRIP-ACTIVETAB = *TAB1.*

place tab1 in quotations

TAB_STRIP-ACTIVETAB = 'TAB1'.

regards

padma

Read only

0 Likes
1,285

>

> 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

Read only

Former Member
0 Likes
1,285

hi...

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

ELSE RAD2 = 'X'.

TAB_STRIP-ACTIVETAB = TAB2

may be it will work...

Read only

Former Member
0 Likes
1,285

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

Read only

Former Member
0 Likes
1,285

Hi All,

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

Thanks.