on 11-25-2014 1:39 PM
Hi experts
I have a mapping with an inbound flat file and in outbound a n Idoc file description (with Idoc occurrences 0..unbounded)
I want create Idocs only when plant different of 1003.
I have made this mapping, it works :
But when I have only line with plant = 1003 I have this message :
What can I do to fix it ?
Thanks
>>>What can I do to fix it ?
You don't want to create IDOC when the plant value is "1003 " right?
If you want to avoid the mapping failure and filter the messages, handle this logic at receiver determination condition using xpath.
when plant != 1003 route the message to receiver so that when a message only has 1003 it'll not execute the mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>>OK, and when I have lines with plant = 1003 AND lines with plant != 1003, only lines with plant !=1003 will pass, that's it ?
No. That entire message(lines with plant = 1003 and plant !=1003) will be passed to message mapping.
Again you have to handle this filter conditions in your mapping too.(which you've already done).
So you just need to add this additional condition at RD using xpath which will filter if a message only has plant =1003.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.