cancel
Showing results for 
Search instead for 
Did you mean: 

SRM/XI Scenario - How to send cXML Response?

Former Member
0 Kudos

I'm looking for someone out there that has experience configuring XI to send out cXML Purchase Orders via HTTP created in SRM to Trading Partners and also to receive cXML Invoices via HTTP for these Purchase Orders into XI.

My questions are: How do you configure XI to receive and process the cXML responses that are sent back from the Trading Partners when they receive a Purchase Order? I know this needs to be a synchronous transaction through the same HTTP tunnel that the Purchase Order was sent through. Is it something that needs to be configured using BPM? Same thing for Invoices. What do I need to do in XI to send out a cXML response to the Trading Partner when I receive an invoice? Again, is BPM needed for this?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dave,

As far as I could see from our testing, SRM standard business content uses proxies to submit/receive the messages with XI. Unfortunately, the standard ones seem top be asynchroneous.

I believe the easiest for you would be to copy and change the standard message interfaces into synchroneous interfaces. I'm pretty sure you can call your own proxy in an exit to replace the standard call but the question is : what will you do with the response ? I'm unsure if you can 'transfer the response into something usefull on the SRM side ( something like a PPF status of the output message ) .

On XI, you can map the SRM proxy onto a synchroneous HTTP interface to send/receive with the partner ( and map into cXML ) : in this case you don't need BPM.

More or less the same story for the invoices : you would need to copy to a sync interface and pass the response from the standard SRM processing for the inbound invoice as a response to the proxy. On XI you can map it into a http response.

But do you think you will get 'business responses' into the http responses ? If you keep async on srm side and sync ( by defintion for http ) on partner side, an http 500 would result in an error in the interface and should be picked up by XI monitoring. Maybe there is a reason why SAP provides async proxies.

Hope it helps

Dirk

Former Member
0 Kudos

Hi Dirk/ Dave,

I am having the same kind of scenario.

But Here SRM is sending the idocs to XI and XI needs to generate Electronic Purchase order to different supplier. I am not sure should I use of proxies or can continue with the Idocs also.

I have few more questions:

1) How to produce the cXML format after mapping here, any special configuration

2) Any documentation available to configure this kind of scenarios?

Your suggestion. help and documents appreciable. Thanks in Advance.

regards

Ram Singhal

rmsinghal@gmail.com