Hierarchy
⤷
⤷
Basic Data
| Data Element | /IWFND/MED_MDL_CARDINALITY |
| Short Description | Cardinality of nodes - See /IWFND/IF_MED_MDL_REFERENCE |
Data Type
| Category of Dictionary Type | D | Domain |
| Type of Object Referenced | No Information | |
| Domain / Name of Reference Type | /IWFND/MED_MDL_CARDINALITY | |
| Data Type | CHAR | Character String |
| Length | 1 | |
| Decimal Places | 0 | |
| Output Length | 1 | |
| Value Table |
Further Characteristics
| Search Help: Name | ||
| Search Help: Parameters | ||
| Parameter ID | ||
| Default Component name | ||
| Change document | ||
| No Input History | ||
| Basic direction is set to LTR | ||
| No BIDI Filtering |
Field Label
| Length | Field Label | |
| Short | 10 | Cardinalit |
| Medium | 20 | Cardinality of Nodes |
| Long | 20 | Cardinality of Nodes |
| Heading | 20 | Cardinality of Nodes |
Supplementary Documentation - /IWFND/MED_MDL_CARDINALITY0200
Use
Defines the cardinality of the source Data Object or the target Data Model.
For internal (parent / child) relations, the cardinality is always 1 (one-to-one relationship). For external relations, it can also be 1:n (one-to-many relationship).
Dependencies
The Property editor fields together control how the relation is represented in the metadata.
Example
The following examples show how the fields are represented in the metadata, with the relevant field underlined to highlight it.
Source Cardinality:
<Association Name="SalesOrder" sap:content-version="1">
<End Type="Z_FR_CUST.customer" Multiplicity="1" Role="FromRole_customer_zfr_salesorder" />
<End Type="Z_FR_CUST.zfr_salesorder" Multiplicity="*" Role="ToRole_zfr_salesorder_customer" />
<ReferentialConstraint>
<Principal Role="FromRole_customer_zfr_salesorder">
<PropertyRef Name="VALUE" />
</Principal>
<Dependent Role="ToRole_zfr_salesorder_customer">
<PropertyRef Name="CUSTOMERNUMBER" />
</Dependent>
</ReferentialConstraint>
</Association>
Target Cardinality:
<Association Name="SalesOrder" sap:content-version="1">
<End Type="Z_FR_CUST.customer" Multiplicity="1" Role="FromRole_customer_zfr_salesorder" />
<End Type="Z_FR_CUST.zfr_salesorder" Multiplicity="*" Role="ToRole_zfr_salesorder_customer" />
<ReferentialConstraint>
<Principal Role="FromRole_customer_zfr_salesorder">
<PropertyRef Name="VALUE" />
</Principal>
<Dependent Role="ToRole_zfr_salesorder_customer">
<PropertyRef Name="CUSTOMERNUMBER" />
</Dependent>
</ReferentialConstraint>
</Association>
History
| Last changed by/on | SAP | 20131122 |
| SAP Release Created in | 200 |