cancel
Showing results for 
Search instead for 
Did you mean: 

Running a new model with data from another model

Former Member
0 Kudos

Hi,

I am very new to WD for Java and some help would be appreciated.

I've created 2 RFC's on SAP. the first returns a table of data, the second inputs this table and returns other data.

I have executed the first model on my WD, and displayed the data in a table on the view.

I have created the context and mapped it to the second model. However, I have no idea how to pass the data from the first RFC to the second.

Can anyone help please?

Cheers

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi James,

If the structure of the input node of the RFC 2 is the same as the output of the RFC 1 you can use WDServiceCopy to copy the element from RFC 1 output to input of RFC 2.

Or if the structures are different then you can code to copy the required attributes.

The execution procedure of RFC 2 is the same as RFC 1. Instantiate, bind , provide input parameters and execute the model. The values will be available in output node.

Regards,

Kartikaye

Former Member
0 Kudos

Hi Kartikaye,

WDCopyService didn't quite work but it did point me in the write direction.

I now have a working web dynpro.

Thanks

James