2007 Jul 19 11:05 AM
during out put if we have two radio buttons fields.if we select one radio button the other should hide(means radio button field). which event we have to use and where we have to write the logic
2007 Jul 19 11:15 AM
At selection-screen.
if rad1 = 'X'.
loop at screen.
case screen-name.
when 'RAD2'.
Screen-invisible = 1. "if u dont want to display the field
SCREEN-Active = 1 ."it will be disabled.u can see but cannot give inputs.
modify screen.
endcase.
endloop.
elseif rad2 = 'X'.
loop at screen.
case screen-name.
when 'RAD1'.
Screen-invisible = 1. "if u dont want to display the field
SCREEN-Active = 1 ."it will be disabled.u can see but cannot give inputs.
modify screen.
endcase.
endloop.
2007 Jul 19 11:11 AM
hi,
try with AT SELECTION SCREEN on OUTPUT event.
AT SELECTION SCREEN on OUTPUT. r u can use AT SELECTION-SCREEN event also
if r1 = 'X'.
loop at screen.
screen-name = 'r2'.
screen-active = 0.
modify screen.
endloop.
else.
loop at screen.
screen-name = 'r2'.
screen-active = 0.
modify screen.
endloop.
endif.
if helpful reward some points.
with regards,
Suresh.A
2007 Jul 19 11:15 AM
At selection-screen.
if rad1 = 'X'.
loop at screen.
case screen-name.
when 'RAD2'.
Screen-invisible = 1. "if u dont want to display the field
SCREEN-Active = 1 ."it will be disabled.u can see but cannot give inputs.
modify screen.
endcase.
endloop.
elseif rad2 = 'X'.
loop at screen.
case screen-name.
when 'RAD1'.
Screen-invisible = 1. "if u dont want to display the field
SCREEN-Active = 1 ."it will be disabled.u can see but cannot give inputs.
modify screen.
endcase.
endloop.