Skip to Content
avatar image
Former Member

Message intialization in business process

I've created a business process in XI 3.0 (SP 15) which processes a XML file and sents it in Idoc format to R/3.

Now I want to set up an exception handler branch to get possible errors which might happen during the mapping (transformation process).

In the exception handler branch I put in:

1)transformation step to fill a mail XML structure (standard XI ximail30_xsd.xsd)

2)send step to send the mail

3)control step to terminate the process

In any error case XI doesn't perform the first transformation step in this branch because the necessary source message for the mapping is not initialized. Even if I fill the target message only with constants this process doesn't work.

Any idea to get the message initialized? Or a total different solution for error handling? We don't want to use alert steps!

Thanks,

Christina

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 03, 2006 at 10:28 PM

    Hi Christina,

    If the processing fails in the normal branch, use the original message (which triggered the BPM) as source message in the transformation step. Before you use the original message, check whether the current src message has any value (comparing it with declared but not assigned container element - switch step). If it has any vlaue, use this in transformation. Otherwise use the foriginal message.

    Hope it helps.

    praveen

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04, 2006 at 09:18 AM

    Hi Christina,

    I can't help wondering why you are using a BPM for this. If I am reading your post correctly, your scenario includes a single sender and a single receiver with asynchronous communications at both ends, so there is no need to introduce a BPM. Instead I would suggest using the Alert Framework to generate an e-mail alert when a mapping fails for that particular interface.

    Best regards,

    Thorsten

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 04, 2006 at 09:31 AM

    Hi,

    I dont think you have to use BPM in file to Idoc scenario, refer to following weblog for the development.

    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

    Even you can do direct mapping and no need to do XSLT mapping as explained in above scenario.

    Configure alerts for the error handling as folllows.

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

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

    Thanks,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded