on 04-01-2011 4:04 PM
Dear Friends,
I have a source structure in this format
IDOC(1..1)
NODE1(1..N)
FIELD1
NODE2(1..N)
FIELD2
NODE3(1..N)
FIELD3
NODE4(1..N)
FIELD4
Bascially, NODE 2,3, 4 are at the child nodes of NODE 1.
I have to map the fields, FIELD2,FIELD3, FIELD4 to a simple xml structure in the target.
The mapping is working fine, when NODE2,3 and 4 are occurring once and it fails when they repeat.
I have to pick up the FIELD element from the corresponding NODE and then populate it in the target structure.
Pls help me in this regard or share some good links that can help me how to do this mapping.
Thanks you so much.
Regards,
Jack.
HI Jack,
Use SplitByValue node function to handle contexts for Node2/3/4 fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack,
Make sure that the repeating nodes (NODE 2,3, & 4) are mapped properly to their respective nodes in the receiver side.
Also check the occurrences of the nodes at the receiver side whether they are "1...N" or not .
You can check the below links.It might be of some help :-
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack,
The node which contains FIELD2, 3 and 4 in the target system should be mapped to NODE2, 3 and 4.
check the XML equivalent by mapping test, for multiple records, copy paste the data part of payload, change the data and check the destination XML.
Regards,
Kinshuk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to map context node 2or3or4 to destination context node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.