cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Java to R/3 (BAPI)

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

satish_kumar106
Explorer
0 Kudos

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.

Answers (1)

Answers (1)

p330068
Active Contributor
0 Kudos

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