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

selection screen using radio button issue

Former Member
0 Likes
996

Hi Experts,

In my report I am trying to get two different selection screens using two radio button.

How can I hide a selection screen belongs to 1st radio button when other radio button is clicked.

Thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
939

Here I am using the below code but it didn't work

AT SELECTION-SCREEN OUTPUT.

IF rb_quar = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'g1'.
screen-active = '1'.
ELSEIF screen-group1 = 'g2'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.

ELSEIF rb_rest = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'g1'.
screen-active = '0'.
ELSEIF screen-group1 = 'g2'.
screen-active = '1'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.

ENDIF.

Read only

FredericGirod
Active Contributor
0 Likes
939

You could find several examples of Selection Screen layout in transaction BIBS (listed in DWDM trans.).

If you want to "hide" selection screen depending of a choice, maybe TABSTRIP could be a better choice

Read only

0 Likes
939

Thank you for your reply.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
939

Just debug your code, look for actual value of SCREEN-GROUP1, question of capitalization ...