cancel
Showing results for 
Search instead for 
Did you mean: 

copy data from RFC to another

Former Member
0 Kudos

hi all

I am using an RFC to fetch data. I have to pass back the same set of data into another RFC which has the same structure. How may i do it?

Thanks.

reg

vln

Note: Copyservice did not work. The structure of RFCs are same.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Could you please explain why WDCopyService doesn`t work? Do you have some exceptions while calling it?

Former Member
0 Kudos

it is quite easy.

copy from source to target.

for example

IWDNode nodeOut = wdContext.nodeZ_Sas_Rfc_Get_P9701_Input().nodeOutput().nodeP9701();

IWDNode nodeIn = wdContext.nodeP9701_Upd();

WDCopyService.copySubtree(nodeOut, nodeIn);

regards

John

Former Member
0 Kudos

Both structures are from different classes ( meaning from different RFC, though their structure is the same.). Hence the copy is not working.

Even though i am not catching any exception, i still dont get any error.

thanks.

reg

vln