on 08-03-2006 11:17 AM
Hi,
I had two radio buttons are there in the selection-screen of report program.
And more two fields are there along with these two radio buttons.
Based up on selection of radio buttons, enabling and disabling of other two fields will be needed.
Anybody help out; if possible send some sample code.
Thanks,
Madhu
In addition to what our experts have already suggested.
If you are looking to dynamically disable at the moment you click on the radio button, I doubt if it is possible.
In any case, give a shot at "AT selection on radio button" option
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
A tiny correction to your code.
LOOP AT SCREEN.
<b>IF</b> SCREEN-NAME = CAR.
SCREEN-INPUT = 0.
MODIFY SCREEN.
<b>ENDIF.</b>
ENDLOOP.
The same If condition will apply to the other "Loop at Screen".
regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
First of all post this in ABAP Programming forum, u get lot of options, i know(or Remember only some aspects) so will tell you only that, the code looks similar to this.
Selection-screen: Begin of block b1,
select-options: car for spfli-carrid,
con for spfli-connid,
Parameters: r1 radiobutton group rad,
r2 radiobutton group rad,
selection-screen: end of block b1.
AT SELECTION-SCREEN INPUT.
IF R1 = 'X'. " U SELECTED RADIOBUTTON R1
LOOP AT SCREEN.
SCREEN-NAME = CAR.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
SCREEN-NAME = CON.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
Regards:-
Santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.