cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to Idoc Asynchronous Scenario: How to send back the response from PI?

Former Member
0 Kudos

Hi All,

I have a SOAP to IDOC scenario. The scenario is Asynchronous one.

The interface is running fine in PI, but the third party wants response from SAP PI.

How can this be achieved?

Regards,

Sachi

Accepted Solutions (0)

Answers (3)

Answers (3)

shashank_agarwal
Participant
0 Kudos

Hi,

There are various options to achieve this one of them is -

  1. Create one Outbound proxy via PI and create one outbound structure.
  2. Use the FM in SPROXY and fill the structure with the possible values .
  3. Once your IDOC Posted Successfully
  4. Call the Outbound proxy.
  5. Create one log and store it to AL11 under any specific directory.

Thanks.

former_member190293
Active Contributor
0 Kudos

Hi Dubey!

In some of my integration scenarios(SOAP-IDoc) I use ccBPM Integration process for that purpose.

IP receives message on abstract synchronous interface, performs transformation to build some kind of "technical" response for sender and closes this synchronous interface with this answer. On next step IP sends message to ERP in asynchronous mode.

To get posted IDoc status in ERP I use separate synchronous scenario SOAP-RFC for calling FM returning requested IDocs statuses from ABAP tables.

Regards, Evgeniy.

former_member182412
Active Contributor
0 Kudos

Hi Dubey,

Do you want to send the response after you received the message in PI or after processing the IDoc in ERP system???

Regards,

Praveen.

Former Member
0 Kudos

Hi Praveen,

What is the difference?

Can you help me with both the options please.

Regards,

Sachi

nitindeshpande
Active Contributor
0 Kudos

Hi Dubey,

The difference is SAP PI system's work gets over once the IDoc is posted to ERP system. SAP PI system will not have further details like whether the IDoc is in green status or not.

For example, consider a Sales order IDoc being posted to ERP. Once the idoc is posted, you will see the successful message in SAP PI system. But in ERP system it may get failed due to non-existence of Purchase order number.

So this is the difference which praveen was hinting at.

Regards,

Nitin

Former Member
0 Kudos

Hi Nitin,

Thanks but I understand that.

I was asking what is the difference in configuring the two solution? How should I configure those?

Regards,

Sachi