on 02-26-2007 8:18 AM
hi,
I have a file to idoc scenario. Have a header and 5 line items segment on the source. After doing mapping when i test, the message mapping does not ouput all the corresponding nodes in the Idoc structure for each item segment on the source side. The output is only displaying the first two segment from the source. Could someone help with this?
thx,
Pradip
Pradip,
please map the all required root nodes with constant if you dont have any source field to map the root node element .
Regards
Sreeram.G.Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Rajeev, Chadra , Sreeram,
Have tried your suggestions, but it still does not work. Now I am only getting the first line item segment from the source side. The target is an idoc so most of the segments are 0...UB cardinality. Have tried mapping the target side idoc nodes with the constant. Also tried mapping the idoc nodes to source structure, but no luck. Any other ideas ???
Hi Pradip,
just check the cardinality of target node - which is mapped to your line item.....it should be 0..unbounded
moreover, the target node if it under some other node then check the cardinality of the above node, it should also be 0..unbounded
if you are using any condition for target node generation, then check the condition again.....
Thanks,
Rajeev Gupta
pradip
map all the segments with a null constant and the segment fields with soruce based on the ocurrences....if the target node has occurence of 1 then it is mandatory for the source field to have a value...if not the system will throw an error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
See here you would have to map the all mandatory fields in the target side and the parent node should be mapped to source side multi occur parent node ..
or map the target parent node with empty constant and try...
Please see the below link
idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradip,
in msg mapping, just check the condition which you have put for generating target....see why the segment is not generated third time in your target.....check the cardinality of target also - it should be 0..unbounded
Thanks,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.