cancel
Showing results for 
Search instead for 
Did you mean: 

Select all functionality

Former Member
0 Kudos

I have a RFC get_product_items which has a table parameter t_items. This table has 3 fields - itemid, itemname and a boolean field chkbox. The items are displayed in a table UI element on the iview when the RFC is executed.

Now I want to implement SelectAll function for the table. I have placed a checkbox above the table.

When this checkbox is clicked, I want to pass the above table t_items as input to another RFC RFC_selectall which has the same table t_items as one of its parameters.

The RFC will set all the checkboxes to X and return back the data, which needs to get displayed in the same table.

Please suggest where and what should the coding be exactly.

Note that I dont want to loop on the table to send it to the RFC. I want to use WDCopyservice.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sanjay,

You have to write your code in Component Controller.

Could you please tell me why do you want to avoid looping thro the table.Bcaz WDCopyService class is having three methods ie.1.copyCorresponding 2. copyElements 3.copySubTree.

I think these methods wont help in your requirement.

These methods are used to copy the values of one attribute into another.

If you need more input let me know.

Regards,

Karthick Eswaran