on 11-30-2005 11:41 AM
Hi Gurus of XI,
I have an input and according to a flag in it I need to execute 2 mappings (if flag is 1 -> mapping A else mapping B) and hence post an IDOC [mapping A / B uses the same IDOC].
I have a single sender and a single receiver, hence during my interface determination i am trying to specify the condition in the XPATH condition editor and hence assigning the specific mapping.
But an error pops up saying "occurs more than once as inbound interface".
Is there any work around for the same ?
I am trying to avoid a BPM here.
Regards,
ShabZ
Hi Shabz,
You cannot have more than One idoc, but you can handle this in the mapping.
if you use XSLT mapping, make a complete copy of the Node and apply the condtion (for flag A or B).
this way you can go ahead without any routing or interface selection in Int Dir.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create one Mapping, where based on condition you can generate either of one output structure. In the Mapping if flag = 1 output, Sturcture A
else output structure B.
In this case we can avoid BPM, as well as conditions in the XPATH.
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have done a similar scenario. In that i used two services. you could try doing this. Have two services and two channels(one per each). In the coditional receiver determination,give the first service and its channel for the satisfying condition and the second service and corresponding channel for else condition. Then perform the interface determinations for them. You can try something on similar lines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.