on 08-20-2008 12:57 PM
Hi All,
I have the Receiver Structure like
<Root>
<HDR>
<HDR1>
<HDR2>
</HDR>
<Det1>
<Det11>
<Det12>
</Det1>
<Det2>
<Det21>
<Det22>
</Det2>
</Root>
While testing Mapping for multiple line Items, I am getting the below structure
<Root>
<HDR>
<Det1>
<Det1>
<Det2>
<Det2>
But the expected Output is
<Root>
<HDR>
<Det1>
<Det2>
<Det1>
<Det2>
Could you plz tell, how to resolve this Error?
Thanks in advance..
Vasu
Hi your problem is actually a common "feature" of XI/PI mappings :-).
Unfortunately there is no way around this using graphical mapping as your nodes will always appear in this order.
But you could write an XLST Transformation where you can build the structure as you want.
But in the graphical mapping the only work around is what the guy above posted by putting a root above it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Here DET1 & DET2 have occurance as unbounded.
So make the one Root node as below
<Root> -- Occurance 1..Unbounded
-
>DET1 -- Occurance 1..1
-
>DET2 -- Occurance 1..1
Then you will get the alternative nodes as expected.
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Mention 1..1 occurance at receiver structure <Det1>
<Det2> it will come, i think now 0..unbound in receiver structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.