Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

about reports

Former Member
0 Likes
470

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
441

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.

2 REPLIES 2
Read only

Former Member
0 Likes
441

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

Read only

Former Member
0 Likes
442

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.