on 01-28-2006 1:15 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.