on 12-03-2009 8:35 PM
Hello experts
There is a mapping requiremnt and i don't quite know how to achieve it. Hope to get some hints on how to do it.
I have a source file
<line> unbounded
<field1>
<filed2>
<field3>
</Line>
My taget is Idoc
<e1xmbh>
<e1mbxy1>
<Zitem>
<field1>
<field2>
.
.
.
</Zitem>
</e1mbxy1>
<e1mbh>
now i need to creat<Zitem> node based on a condition : if field1 (concat) field 2 combination is same( from the root context) then the Zitem must be in the same <e1mbxy1>
if field1 (concat) field2 combination is different from the previous one from the queue then the Zitem should belong to next existence of node <e1mbxy1>
It is quiet hard to explain but hopefully someone has an answer for it .
Thank you
Hi,
You need to create 2 UDFs to achieve what You want.
1st: to create <e1mbxy1> nodes
field1 (concat) field 2 >>>>UDF1>>>>>>e1mbxy1
2nd: to put the individual values <field1>,<field2>... in the correct target node.
field1 >>>>UDF2>>>>>>field1
Regards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.