on 01-11-2012 11:32 AM
Hai All,
I created a table with following fields like date,activity,login and logout and i also bind the table with itab. when i edit the activity and press the save button i want to fetch the modified data (itab) and pass it to bapi (R/3). How to acheive this.
Regards,
Ravi.
Hi Ravi,
You can follow below steps:
create a copy node for the table node & do a copyservice to it after populating the entire table. On Save you can compare the current table value with the previous value using copy node.Now you can pass only those rows which has been changed.
Regards,
Satish S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear
Create the TWO custom Original and Modified context node and attribute same structure as RFC Node. Bind the View UI Eleements with Modified Context node and attributes.
Once you populate the data to Modified conext node from RFC and then same time copy to Original context node using
WDCopyService.copyElements(wdContext.nodeModified(),wdContext.nodeOrigial());
Now when you save the data in RFC using modified context node. then again call the method for populating in the modified or other specific node. don't the copy again.
Then compare the elements values in the Origial and Modified one and check which one have modified value. then process as per requirement.
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.