Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

proxy error handling - synchronous


I am working on ECC proxy->PO->Web service and sending back response from web service to proxy.

Here in outbound proxy is synchronous, the data is also coming into this.

Now the problem to handle the errors, from the outbound interface when response received we are calling BAPI in it, if BAPI fails then we have to fail the proxy also, but BAPI failed after proxy is successful.

How to fail Proxy when BAPI failed?

Or can we use fault message type outbound synchronous proxy? But for fault message type filling ABAPers cannot find the method to write code as it is not inbound proxy.


The call to PI is already finished with PI providing a successful response.Likewise as far as ECC is concerned the message to PI has been processed.

If you want to fail this call, you will have to handle this within the ABAP report. The ABAP proxy is no more in your control as the Proxy call is completed as per my understanding.

Like Inaki has mentioned this has to be a logic within the ECC framework as to how the error handling framework in ECC is done. You could print to SLG1, create a ALV Error framework, etc but this has to be inline with your ECC Error handling.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question