on 08-31-2009 2:04 PM
Hi experts,
If possible please can you let me know if it is possible to map different source fields(1:N) to the same target field(0:N) based on specific conditions for example:
-apples(1:n)-->fruit(1:n)
pears(1:n)>fruit(1:n)
-peaches(1:n)>fruit(1:n)
i.e.
Source Message:
<Source>
<apples>red apples<apples>
<apples>green apples<apples>
<apples>yellow apples<apples>
<pears>red pears<pears>
<pears>green pears<pears>
<peaches>yellow peaches<peaches>
<peaches>red peaches<peaches>
<Source>
Required Target Message:
<Target>
<fruit>red apples<fruit>
<fruit>green apples<fruit>
<fruit>yellow apples<fruit>
<fruit>red pears<fruit>
<fruit>green pears<fruit>
<fruit>yellow peaches<fruit>
<fruit>red peaches<fruit>
<Target>
Is it possible to achieve the above mapping using the graphical mapping tool.
Any help would be appreciated very much.
Thank you,
Brendon
Hi Brendom
Yes you try this , on your target right click on the segment "fruit" and duplicated the segment two times and map with the source like this
apples------------>fruit
pears------------->fruit(1)
peaches------------->fruit(2)
Also you cand built and UDF function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.