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: 

selection screen using radio button issue

0 Kudos

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

0 Kudos

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.

FredericGirod
Active Contributor
0 Kudos

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

0 Kudos

Thank you for your reply.

raymond_giuseppi
Active Contributor
0 Kudos

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