‎2007 Jun 14 10:28 PM
Hi,
I have table control wizard with multiple selection.
When i select some of the rows with data in my table control wizard, the selected rows selections needs to be saved.
my itab looks like this
begin of itab
selx,
infocube,
infocube_
descripition,
end of itab.
now i already have data being populated in other 2 fields, but when user selects some rows its selx should become X other wise it should be blank. Can some one guide me how to do this?
‎2007 Jun 14 10:38 PM
When you create table control define the property W_SelColumn(Select the checkbox) with value sel_flag
Loop at itab_tc.
module tab_control.
endloop.
module tab_control.
cnt = cnt + 1.
if sel_flag = 'X'.
itab_tc-sel = 'X'.
modify itab_tc index cnt.
endif.
endmodule.
‎2007 Jun 14 10:38 PM
When you create table control define the property W_SelColumn(Select the checkbox) with value sel_flag
Loop at itab_tc.
module tab_control.
endloop.
module tab_control.
cnt = cnt + 1.
if sel_flag = 'X'.
itab_tc-sel = 'X'.
modify itab_tc index cnt.
endif.
endmodule.