2007 Aug 01 7:39 AM
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
2007 Aug 01 10:08 AM
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
2007 Aug 02 11:10 AM
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
2007 Aug 02 11:35 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |