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

select options and radio button problem

Former Member
0 Likes
519

Hi All,

In selection screen I have a select option and two radio button default is disable when I input value on select option, it will enable radio button. How can I do this?

Thanks.

mlai

Hi All,

In selection screen I have a select option and two radio button default is disable when I input value on select option, it will enable radio button. How can I do this?

Thanks.

mlai

3 REPLIES 3
Read only

Former Member
0 Likes
494

Please go through the below code and reward points if u find it useful:

*******************************************************************

tables : pa0000.

selection-screen begin of block b1 with frame title text-001.

select-options : s_pernr for pa0000-pernr.

parameters : r1 radiobutton group g1 modif id abc.

parameters : r2 radiobutton group g1 modif id abc.

selection-screen end of block b1.

at selection-screen output.

if s_pernr[] is initial.

loop at screen.

if screen-group1 = 'ABC'.

screen-invisible = 1.

modify screen.

endif.

endloop.

else.

loop at screen.

if screen-group1 = 'ABC'.

screen-invisible = 0.

modify screen.

endif.

endloop.

endif.

***************************************************

Thanks

Vasu

Read only

0 Likes
494

Hi Vasu,

I'm trying the event that you suggested to my program but I got a error of "Relational operator "ABC" is not supported". Is there anything wrong with using this event or is any restriction to use this event? Please kindly tell me how to across this problem, thank you.

mlai

Read only

Former Member
0 Likes
494

Hi,

Try with the following steps.

1.In selection screen give like the following.

select-options : s_nr for vbak-vbeln.

parameters : r1 radiobutton group g.

parameters : r2 radiobutton group g.

2.And in

at selection-screen output event.

3.<b>if s_nr is not initial.

r1 = 'X'.

r2 = 'X'.</b>

Try and reward points if found useful.

Regards,

Sathya Rajkumar.