on 01-03-2014 4:01 PM
Hi friends,
I have the next problem.
my source structure is :
<DATA1>0..1
<DATA2>0..1
<DATA3>0..1
<DATA4>0..1
and my target structure is:
<DATAS>0..unbounded
I must generate the target structure 4 times in this case.
<DATAS>
<DATA1>
</DATAS>
<DATAS>
<DATA2>
</DATAS>
<DATAS>
<DATA3>
</DATAS>
<DATAS>
<DATA4>
</DATAS>
I did this with a UDF with condition FOR(..i<4...) and no problem,
but I need pass de DATA1 in the first structure generated, the DATA2 in the second...and so on.
note: always are 4 node, the target is IDOC and cant modify.
regards.
Hello,
Use duplicate subtree and map each source field with target element.
Edited - Hope i understood ur issue correctly, in case u want something else then paste ur mapping screenshot.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
try the option given by Amit and select the option return as XML in source field (in graphical map).
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brian,
I recommend you to use or Split-By-Value node function for Graphical Mapping or java mapping.
Check this out:
http://www.saptechnical.com/Tutorials/XI/NodeFunctions/Page7.htm
The best link:
Explain node functions - Process Integration - SCN Wiki
Regards,
BR.
Ricardo Viana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.