cancel
Showing results for 
Search instead for 
Did you mean: 

One Request Two Response -Synchronous scenario

0 Kudos

Hi Experts,

I need to develop a synchronous scenario where PI will picked up a XML file,process it and will send it to SAP through Proxy.

In response message from SAP ,PI needs to create 2 files in two different target directories.As per my understanding in this situation

I have to create two different data types for the response message for the two files.But how can I include 1request message type and two response message type in a single service interface.Is this can be  done by some other way?Please suggest?

Thanks and Regards

   Joy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear joy,

For this scenario you have to branch the message at receiver side , means you have to give two different receiver on receiver determination.

But make sure this should be asynchronous because..

Error: Multiple receivers are not permitted in synchronous calls

You have to use BPM for synchronous call.....

are u using BPM .... ?

This link might helpfull for you....

http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm

thanks and regards,

Anup Banerjee

0 Kudos

Hi Anup,

Thanks for the info.No I am not using BPM.Previously it was decided to create two files one processed and one error file.But as I have told one request can contain one response only so I think the requirement might change to create only one error file.

Anyway thanks for your suggestion.

Regards

Joy

Answers (0)