Skip to Content
avatar image
Former Member

Error handling in PI

Hi All,

I am implementing file(text file) to idoc scenario.There can be different steps where a message can be failed. So wanted to know different ways of tracking an error and sending an error notification to the sender?

1) Failure while doing FCC-> How to inform sender that the file is corrupt?

2) Failure at mapping level -> how to send a notification to the sender application that the message has been failed?

Regards!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 31, 2012 at 05:42 AM

    Hello Vasanth,

    Please go through below SDN posts,it may be helpfull

    http://scn.sap.com/thread/2096476

    http://scn.sap.com/thread/1197860

    Regards,

    $HRI

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2012 at 04:16 AM

    Hi. Vasant.

    For these requeriment you can try to set up Alerts.

    Check below links.

    http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/09/09/xi-alerts--step-by-step

    http://scn.sap.com/docs/DOC-3804

    Regards

    Lucho.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 31, 2012 at 01:57 PM

    >Failure at mapping level -> how to send a notification to the sender application that the message has been failed?

    Just curious. Why do you want to send mesg to the sender system if the error occurs at the mapping level? is that due to invalid data?

    IMHO, the error occurs at the mapping level due to various reasons example like mapping logic errors or improper condition handling in the mapping or so. It's not really easy to distinguish between your mapping error vs data invalid issues. Instead you can set Schema validation which is first step in the pipeline step. You might want to use XSD for the equivalent XML sender message structure and validate. If the error happens due to constraints of size of the field or types etc, you can send alert mail to the sender system.

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d026d253-3108-2c10-69a0-a5460fc1f0b9?overridelayout=true

    Add comment
    10|10000 characters needed characters exceeded