on 01-08-2007 9:04 AM
Hello All,
I have scenario:
DB -> XI -> SAP (IDOC)
In one message from DB I am sending multiple rows which I am transforming to multiple IDOCs. Everything works fine until one of rows have an error in data. When error occur BPM process stops and is not sending rest of the rows. I would like this scenario to not break after error row and send all messages except error ones.
I tried to use exception, but it does not work the way I want - it does not sent rest of messages.
Thank You in advance for your help.
best regards
Dawid
Read the blogs I have given.They will address the errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Mapping exceptions to catch the relevant errors and you can report the rejected rows through an email or alerts using java mapping or from UDF .
/people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
Both of them are good resources to achieve the task you described.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dawid,
1. what kind of error do you mean ? mapping error ?
if it's a mapping error maybe you can catch it inside your mapping
so that it will not result in an exception and you can just
remove the incorrect IDOC from the R3 (bd87) and the rest would be
processed correctly?
2. <b>why do use use a BPM to map DB to multiple IDOCs?</b>
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
1. This is a mapping error. I would like to catch this error in XI if possible and not send IDOCs to SAP. But if this is the easiest way then I can force others to use this. I would also like to use Alerts to send message about this error from XI (and I can do it in BPM).
2. Is there any other way to send multiple IDOCs?
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.