cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to receive a response message from a output PO process?

Former Member
0 Kudos

Hi everybody.

We are doing a PO interface between SRM and external system via XI.

When we create a PO in SRM we send it to XI using sproxy (PurchaseOrderRequest_Out message).

But the external system always send back a response.

Are there any way to capture the message and, in case of error in external system, to change the output status from “Successfully process” to “incorrectly process” in our PO document?

Thanks and regards.

Raúl Moncada.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What's ur external system?

If ur external system is implemented in java, u can throw out a exception.

The inbound interface always has a fault message type. I think you can use that to achieve your goal.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm</a>

FYI.

B'Rgds

Former Member
0 Kudos

Hi Kantilal and YiNing .

We are an interface with an ARIBA system via https. We are using XI http adapter.

Yes, our external system is implemented in java.

We can capture the response message from ARIBA in XI without problems, but we do not know a standard way to send the message to SRM in order to change the PO output status.

Thanks for your help.

Raúl Moncada.

Shabarish_Nair
Active Contributor
0 Kudos

is there any way you can make the request from R3 a sync one (use of a BAPI or RFC) .. in tht case since your receiver is also a sync system you could create a sync - sync communication with request and response.

Former Member
0 Kudos

Yeah, I think Shabarish is right. In this situation you should use synchronous communication.

But I understand in some senarios you can't wait for response to continue the process. In this case, you should create a outbound message interface for you ARIBA system.

After the ARIBA system get message from XI, it will do it's process, and after that, the ARIBA should use the outbout message interface u created to send the result back to XI, and to the R/3 as a response. Of course, a inbound interface should be made for R/3 to handle the response (ie change the output statue of PO).

It's not really technically synchronous, but it still have request and response senario.

hope it helps.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Since you indicated that the external system always sends a response, you can examine the response and transform it to an XML document that can be used to updated the SRM sytem PO status.

This will have to be done in BPM.

Regards,

Bill

Former Member
0 Kudos

Hi,

Is there not a standard interface delivered in the standard SRM software component ?

Cheers

Colin.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

How are you dealing with the external system? Which adapter are you using to deal with the external system?

Can you give us more details, so that a solution can be looked into..

Regards,

Bhavesh