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

table cotrol column visibility based on radio button

Former Member
0 Likes
379

Hi friends,

my requirement to set the visibility for columns in tablecontrol in module pool .I have 2 radio button outside the table control yes or No. if i press Yes it should display another radion button and the column in table control should be enable for input if it is no it should be in disble mode can any one provide th code if possible.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
348

in PBO...

with in loop....

loop at itab ...

module enable_disable.

endloop.

in driver program....

module enable_disable.

if r1 = 'X'.--->radiobutton

loop at screen.

here disable the field that u want

SCREEN-ACTIVE = '0'.

MODIFY SCREEN.

endloop.

else.

endif.

endmodule.

Hi friends,

my requirement to set the visibility for columns in tablecontrol in module pool .I have 2 radio button outside the table control yes or No. if i press Yes it should display another radion button and the column in table control should be enable for input if it is no it should be in disble mode can any one provide th code if possible.

Thanks in advance.

1 REPLY 1
Read only

Former Member
0 Likes
349

in PBO...

with in loop....

loop at itab ...

module enable_disable.

endloop.

in driver program....

module enable_disable.

if r1 = 'X'.--->radiobutton

loop at screen.

here disable the field that u want

SCREEN-ACTIVE = '0'.

MODIFY SCREEN.

endloop.

else.

endif.

endmodule.