on 10-02-2013 2:14 PM
Hi,
We are on PI 7.11.
We have an interface where a single file must map to an IDOC and under certain circumstances should generate an email.
We have a split in the Receiver Determination which always sends to the IDOC mapping and if a XPATH condition is true it should send to the MAIL mapping.
If the XPATH is true then it successfully sends data to the IDOC and also to the MAIL.
But, if the XPATH is false then it sends to the IDOC and maps correctly but in the Monitor we see the split taking place and an error on the email side saying: Split mapping created no messages
Help appreciated.
Gareth
Hi Gareth,
But, if the XPATH is false then it sends to the IDOC and maps correctly but in the Monitor we see the split taking place and an error on the email side saying: Split mapping created no messages
Are you using multimapping?, in this case, you should check that the message tag for the mail interface won't be generated.
Mark, im a little confused with your solution, isnt necessary a to use xpath in the receiver determination?, in order to choose one receiver or another, (to determine later the i.d desired).
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gareth,
Design your interface in the following way
create two mappings one for file to idoc and the other for file to mail.
In the receiver determination use two conditions
1. one for Idoc
2. one for Mail
In the interface determinatin, use two condtions
1. If condtion true , then call file to idoc map
2. If condtion true, then call file to Mail map.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gareth,
the problem is that in multi-mapping, the message has to get split even though the XPATH condition is false. The mapping to email API is not separate.
Why don't you tryu to create an additoinal mapping to the MAIL API and then do conditional interface determination.
that should work.
cheers,
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The error is at
Interface determination stage. You need to use two receiver service/system from
Receiver determination and determine the email condition in RD.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.