2008 Dec 25 3:19 AM
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.
2008 Dec 25 3:31 AM
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.
2008 Dec 25 3:31 AM
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.