2006 Dec 13 6:45 PM
if there are 2 radiobuttons ...if i select one radiobutton(first one) ,the second one should be in disable mode and if i select second radiobutton, the first one should be in disable mode?
how to do that?
2006 Dec 13 6:56 PM
You can group them in the same group within a frame if needed
Parameters: View radiobutton group g1,
Enter radiobutton group g1.
You can even assign one of them as default using Default 'X'
if none is defines first in the group is selected.
if there are 2 radiobuttons ...if i select one radiobutton(first one) ,the second one should be in disable mode and if i select second radiobutton, the first one should be in disable mode?
how to do that?
2006 Dec 13 6:48 PM
hi u shud be declaring it in one group, here the parameters are of same group G1
<b>PARAMETERS: BUY RADIOBUTTON GROUP G1.</b>
<b>PARAMETERS: SELL RADIOBUTTON GROUP G1.</b>
Please mark the helpful answers using the radio buttons on ur left and close the thread
2006 Dec 13 6:51 PM
Hi
Group the parameters declared as radiobutton.
PARAMETERS: p1 RADIOBUTTON GROUP radi,
p2 RADIOBUTTON GROUP radi.
Regards,
Navneet
2006 Dec 13 6:56 PM
You can group them in the same group within a frame if needed
Parameters: View radiobutton group g1,
Enter radiobutton group g1.
You can even assign one of them as default using Default 'X'
if none is defines first in the group is selected.
2006 Dec 13 6:59 PM
hi,
assign radio buttons to same group...
sample code:
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: r3 RADIOBUTTON GROUP g2 USER-COMMAND ug2 .
SELECTION-SCREEN COMMENT 5(20) text-006 FOR FIELD r3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: r4 RADIOBUTTON GROUP g2 .
SELECTION-SCREEN COMMENT 5(20) text-007 FOR FIELD r4.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
Regards
2006 Dec 13 7:02 PM
Hi,
Check the following...code...
PARAMETERS: B1 RADIOBUTTON GROUP SC1 user-command us1.
PARAMETERS: B2 RADIOBUTTON GROUP SC1.
in the AT SELECTION-SCREEN OUTPUT.
if b1 = 'x'.
loop at screen.
if screen-name = 'B2'.
screen-active = 0.
screen-output =0.
modify screen.
ENDIF.
endloop.
else.
loop at screen.
if screen-name = 'B1'.
screen-active = 0.
screen-output =0.
modify screen.
ENDIF.
endloop.
endif.
Regards,
Var
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |