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

Selection rows in table controls populating problem.

Former Member
0 Likes
272

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
256

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.

1 REPLY 1
Read only

Former Member
0 Likes
257

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.