Skip to Content
avatar image
Former Member

transaction handling in XI

hi guys;

What I am trying to look is XI tries to insert data in database and some error happens while inserting data so how xi rolls back the trasaction and how can we write a logic to send a email about this error to any person.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 23, 2006 at 04:03 AM

    Mudit,

    <i>how can we write a logic to send a email about this error to any person.</i>

    You can create Alerts, which will trap all errors occuring in your process and send an email to the necessary person.

    To create alerts , this blog can help you out,

    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

    From SP14 onwards, activation of end to end monitoring is not needed for Alerting. Refer to this note 870232 for this info.

    If you are blow SP14, then also check this blog,

    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

    To send an EMAIL, assign an EMAIL ID to the corresponding user in the transaction SU01 and then set up SCOT and you can send emails when the ALERT is triggered.

    <i>some error happens while inserting data so how xi rolls back the trasaction</i> Internally , you can set the TRANSCATON handling of XI. Mostly, this transcation handling for errors dyuring insertion is handled by the Database itself.

    Regards,

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • Mudit,

      Do the following,

      1 CONFIGURATION -- INTERNAL PROCESSING

      2 WRITE LOG ENABLED ~~ This will write the logger whenever Alerts are being triggered

      3 ALERT INBOX-- PERSONALIZATION -- TIME INDEPENDENT DELIVERY --EMAIL selected

      4 SU01 -- Assign EMAIL ID to the corresponding User / recipeint of the ALERT

      5. SCOT has to be set up. Check if SCOT set up is completely done.

      Regards,

      Bhavesh