cancel
Showing results for 
Search instead for 
Did you mean: 

Create message from synchronous HTTP response code

Former Member
0 Kudos

Hi all,

I am trying to figure out how to send a message via HTTP to a third party, receive a response and then send a message back to ECC in a different message type from the original message. For example, An invoice is sent from the ERP to PI and then an XML is sent to a third party. The third party then sends a response (system acknowledgement), PI receives that response and then sends a custom idoc back to the ERP system based off of the status of the response (200, 4XX, or 5XX). Is this possible using the HTTP adapter?

Thanks for everyone's help.

Michael

Accepted Solutions (0)

Answers (3)

Answers (3)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You also need to consider one thing here...  if the third party system sends the application acknowledgement something like success or got the message as response then it is valid to create the receiver http as synchronous to transfer the response to the ECC. If the third party sends just system acknowledgement you might not able to map the response.  In this case you might want to consider using ccbpm and explore send step which does the system acknowledgement and after receiving the acknowledgement then use another send step to send the response back to ECC.  There in one blog by michal about the system acknowledgement handling using ccbpm. Search scn for this.

Former Member
0 Kudos

Hi Michael,

IDOCs are inherently asynch.

This blog may give you some ideas...

http://scn.sap.com/people/james.wood/blog/2011/05/12/dealing-with-those-pesky-synchronous-web-servic...

nabendu_sen
Active Contributor
0 Kudos

Hi Michael,

Try to create the Synchronous scenario as ABAP Proxy -> PI -> HTTP (3rd Party).

IDoc does not support Sync communication and to send back ALE Audit you need to make couple of work arounds.

Check below for Sync HTTP at receiver side:

http://scn.sap.com/people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-u...

http://scn.sap.com/people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-t...