on 03-16-2008 3:06 PM
hi,
i have 4 radio buttons in my selection screen.
ex 1,2,3,4.
i want to click if 1 , then 3 should automatically active state,
same when i click radiobutton 2, 4 will come.
how to do this ....???
please help,
yours regards
subhasis
Hi
If your radio buttons is in the same group then u cant do this. Because in one group u can select only one radio button at any time.
If first 2 are in group1 and last 2 are in group2 then U can do like this. Copy paste this code in ur system and check the functionality.
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME.
PARAMETER: P_RADIO1 RADIOBUTTON GROUP GRP1 USER-COMMAND ucomm DEFAULT 'X',
P_RADIO2 RADIOBUTTON GROUP GRP1.
SELECTION-SCREEN: END OF BLOCK B1.
SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME.
PARAMETER: P_RADIO3 RADIOBUTTON GROUP GRP2 USER-COMMAND ucomm,
P_RADIO4 RADIOBUTTON GROUP GRP2.
SELECTION-SCREEN: END OF BLOCK B2.
AT SELECTION-SCREEN OUTPUT.
IF p_radio1 EQ 'X'.
CLEAR: p_radio4.
p_radio3 = 'X'.
ELSEIF p_radio2 EQ 'X'.
CLEAR: p_radio3.
p_radio4 = 'X'.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.