on 06-01-2008 8:22 PM
Hi SAP Gurus,
I have a pretty good idea about my doubt, but would like to confirm it.
I have a field under the node with a minoccurs of 0 and it has been mapped. The values don't appear in the the target result, what could be wrong?
1) The parent node has not been assigned.
2) Parent node has cardinality 0 ... unbounded
3) Parent node has many fields
I am thinking the answer is #1, could someone please back me up on this or correct me.
Thanks,
Adnan Abbasi
Hey
If the parent node itself is not mapped(created on receiver side) you wont see child element.
you are right,the most probable answer is 1 until and unless you have some logic for the child element due to which it can either occur or not occur depending upon some value in source file.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like to thank you all for answering my question promptly. I wish rewarding the point system was somehow different and then I could give everyone good point and not make me feel guilty about it. I am sorry to those of you who I was not able to reward good points, but all you guys are equally worthy. Thanks very much.
Regards,
Adnan Abbasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adnan,
There could be the case that this field is not coming from source side, so it won't appeare at target side,
there can also be a case that you have not mapped it parent node.
Also to confirm the things you can test your mapping in test tab of mapping.
Reward Points if Helpful
Thanks
Sunil singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adnan,
The answer is 1. If you want the element to be created in the target structure, Please map the parent node to a constant.
Thanks,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) If your occurence of parent node is 1..1 then it is not required to map parent node.
2) if occurence of parent node is 0..unbounded then u have to map it and use RemoveContext Function to map.For child element use SplitByValue function to map.
3) no matter if Parent node has many fields.
Regards,
Rohit
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Having a node with minoccurs = 0 only says.
If it's not in the source data, It's ok.
You do not specific if the source field has minoccurs 0 or not.
The reason for not getting a result into a target field can be several.
Some of them could be:
- Node not delivered in source (min occurs 0 ==> ok, no syntax error)
- Field not delivered in source (min occurs 0 ==> ok, no syntax error)
- Wrong logic in the mapping
(E g error in if statement or if-statement not fullilled)
- You are using CSV conversion (File Adapter) and named a field wrongly.
Either on the source or target-side.
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.