cancel
Showing results for 
Search instead for 
Did you mean: 

Exception handling in ABAP server proxy, But error message not reaching to PI

0 Kudos

Hi Experts,

I have implemented an ABAP server proxy. The scenario is FILE->PI->ABAP Proxy. The scenario is working fine in success scenario. But in case of failure scenario, we are not able to see this as error in PI. We have fault message in the inbound Service Interface. When there is an error while processing the data in inbound proxy provider class,filling the fault message and filling the severity as 'HIGH' and raising the exception. We can see this message with 'RED' flag in the local integration engine of the ECC system. But the same is shown as successfully processed message in PI but the error is not propagating back to PI.

Could you please help me on this.

Thanks,

Accepted Solutions (0)

Answers (3)

Answers (3)

xavisanse
Active Participant
0 Kudos
Former Member
0 Kudos

https://archive.sap.com/discussions/thread/2062273

It sounds like you already have a Request and Response message type defined in your inbound service interface, and that you have probably generated all the required proxy objects and logic. Can you confirm that your inbound service interface is Synchronous? Have you also maintained operational and message mappings for your request/response?

former_member182412
Active Contributor
0 Kudos

Hi Thirupathi,

  • Your interface is FILE to ABAP Proxy asynchronous, if the inbound service interface is asynchronous then fault message which trigger from the application is persisted for monitoring.
  • If the proxy is synchronous then fault message sent back to sender.

Check below sap help for more details.

https://help.sap.com/saphelp_nw75/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm

  • In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.
  • The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring . In the case of asynchronous Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments

Regards,

Praveen.