on 12-15-2010 12:22 PM
Hi ,
I have 3 Fields on sender
A1 ....1to1
A2.....1to1
A3.....1to1
1 Field on receiver
B1....1 to unbounded
I need to map Sender three Fields to receiver one field
Input Message
<A1>1234567</A1>
<A2>2347890</A2>
<A3>7345903</A3>
Output should be
<B1>1234567</B1>
<B1>2347890</B1>
<B1>7345903</B1>
I tried to find the Standard functionalities.
if there is nay UDF kinldy send me the Code
Thanks in advance
Edited by: sappixi on Dec 15, 2010 1:22 PM
Edited by: sappixi on Dec 15, 2010 1:23 PM
Hi,
Click on B1 node and duplicate subtree, 2 times
Now you can separately map 2 A's to 3 B's
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is pretty simple. If the sender has multiple fields and target has one field with occurence 1 to many. Use subtree by right clicking the fleld on the mapping screen, You will get B1[1], B1[2] ... B1[n] respectively. Map now and see the results. Runtime this mapping field work automatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Message Mapping, at the receiver side> Right click on the node> Select the option Duplicate Subtree.
Do this for twice. You would be totally having three nodes at the receiver side.
Now, map the source three fields to the target field and test your mapping in the Test Tab of message Mapping. Sure, you would be able to acheive your requirement without writing any UDF.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Click on B1 node and duplicate subtree, 2 times
Now you can separately map 3 A's to 3 B's
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 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.