on 07-26-2010 11:20 AM
Hello All,
I have INVOIC->XML scenario.
REceiver strcutre is given below
<invDetail>
<feeType>
<feeName>
<PartNumber>
</invDetail>
I have repeat the invDetail for all the Fee segments in the INVOIC Idoc that is E1EDP05 for all lineitems.
for example:
E1EDP01
E1EDP19
IDTNR 1123
E1EDP05
E1EdP05
E1EDP01
E1EDP19
IDTNR 1883
E1EDP05
I want the output to be
<invDetail>
<feeType>
<feeName>
<PartNumber>1123</PartNumber>
</invDetail>
<invDetail>
<feeType>
<feeName>
<PartNumber>1123</PartNumber>
</invDetail>
<invDetail>
<feeType>
<feeName>
<PartNumber>1883</PartNumber>
</invDetail>
Can someone please help.
Thanks
Hello prabhu,
if i understood correctly..
the hierarchy is
E1EDP01
E1EDP19-IDTNR (123)
E1EDP05
i think it wil work if u do as below:-
map the node
E1EDP05
to
<invDetail>
directly.
set the context of
E1EDP05
to
E1EDP01
map E1EDP19-IDTNR (123) _> use one as many ( give
E1EDP05
in both 2nd and 3rd )-><PartNumber>
if the source value of
<feeType>
<feeName>
is present in
E1EDP05
, map directly.
and if its there under E1EDP01 , use the same function use one as many...
Regards
biplab
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.