cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create message for HTTP receiver to send Acknowledgments

0 Kudos
384

I have the follwoing scenario

R/3 Purchase Order IDOC sender ---> PI 70 ---> HTTP receiver external vendor system

What it does it sends an ORDERS IDOC from R/3 to XI and in XI the IDOC is transformed to an XML sent with PlainHTTP to the vendor system. In design I am using:

1) XCBL standard XSD schemas for PurchaseOrder message types and interface (that the Vendor provided me with)

2) Some old SAP XSLT mapping programs I found from the Business Connector era, that do exactly that convert R/3 IDOC to the standard XCBL Order.

All this works fine. What I want to do now, is get a system acknowledgment from the vendor system that they have received the message. I know that this can't be done in terms of XI acknowledgments (at least not without BPM).

But the vendor partner has also provided me with another standard XSD for MessageAcknowledgments and he has also given me an example of what his response message would look like. They have implemented this with another customer of theirs that uses XI and I would like to do the same, only I don't know how.

The vendor response (based on the XCBL standard XSD) looks like this and has three fields. The first and third are obviously populated from the PurcheseOrder XML received by the vendor him and the second field looks like the message ID of the XI system that sent him the PurchaseOrder

<MessageAcknowledgement>

<AcknowledgementLocation>Other</AcknowledgementLocation>

<AcknowledgementReferenceNumber>01ddb5c6-7a75-1000-a53c-0a1006170001</AcknowledgementReferenceNumber>

<AcknowledgementNote>Date:20090614T12:00:00+01:00 DocType:Order DocNum:4550195032 Originator:265755319</AcknowledgementNote>

</MessageAcknowledgement>

I would appreciate any jumpstart ideas on how to go about this.

regards

Lukas Karambelas

View Entire Topic
0 Kudos

Aamir thanks again, but the tricky point is that I don't need an ALEAUD acknolwdgment that IDOC has been posted to XI.

The Vednor system will definitely send TWO responses, both by HTTP which have to be received by XI

1) System acknowledgment

A message according to the standard XCBL "MessageAcknowledgment" (MA) XSD , which should come right after the PO arrives with HTTP to the vendor. This message will have in its payload the XI message ID of the PO sent to the vendor from ERP. Then if XI hasn't received an MA within an agreed timeframe then, XI could initiate an agreed number of re-tries or simply flag an error and initiate a manual investigation

2) Application Acknowledgment

A message according to the PurchaseOrderResponse XSD standard

Former Member
0 Kudos

You will have 2 separate scenarios.

>>1) System acknowledgment

This is scenario 1,it will use BPM to route the system ack,this is IDOC to HTTP with BPM.

>>2) Application Acknowledgment

This is scenario 2,its a simple HTTP to IDOC scenario without BPM.

Thanks

Aamir