Skip to Content
avatar image
Former Member

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

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 14, 2016 at 01:48 PM
    -1

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 01, 2016 at 08:24 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2016 at 09:14 AM
    Add comment
    10|10000 characters needed characters exceeded