on 10-12-2009 11:42 AM
Please open following doc and refer to page 14.
;jsessionid=%28J2EE3417800%29ID0601227750DB00651747582433322980End?rid=/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd&overridelayout=true
it says....
Element cardinality : Fixed Occurrences (minOccurs == maxOccurs)
Exceptions: Nodes with fixed occurrences(minOccurs=maxOccurs)
Nodes are automatically marked as green
Mapping is not mandatory<minOccurs> nodes are created automatically.
I did not understand this at all. Can someone please explain me?
read this http://help.sap.com/saphelp_nw70/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/03/398c4024d26e1de10000000a1550b0/content.htm
from sap help
it will help you to understant those sentences more clearly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
No, this is applicable only to target structure.
It means that, when there is a fixed Occurence for a 'Node', then that node always exists,
and important thing is, as node does not contain any value, we don't have to map anything to such a node.
But same is not the case with an "Element". If it has a fixed occurence, that means, it will be generated in the target node
and as element contains some value, it has to have some mapping.
Regards,
Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat
It means when the minOccurence of a node is 1 and maxOccurence of a node is 1, then we dont have to map it since it will always be created. Thsi node will always be created in target structure
But when the minOccurs and maxOccurec of an element is 1 then we need to map it else it will be in red color. This field will always be created in target and hence mapping logic needs to be defined
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
>>does this apply to source, target structures with same cardinality and same names? ( like we do interfaces without MM )?
Think like this if you have a source with a mandatory node/field (minOccur=maxOccur =1) and you are not providing what will happen. Actually if you not doing any XMLvalidation in sender agreement the payload for mapping will be incorrect and eventually the target can not be created
But this is not the case with target creation. IF you have not mapped a mandatory field you cannot activate teh mapping itself. And if the node is mandatory then you dont have to map it (as it will be created automatically)
Regards
Suraj
User | Count |
---|---|
93 | |
10 | |
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.