Key Mapping
Definition
Objects can have representatives in multiple systems and multiple components. The keys that identify the representatives are usually different, and therefore are not harmonized. As a result, it is necessary to assign the keys of objects to one another and to store this assignment permanently.
Key mapping (synonym: ID mapping) is the assignment of keys. The keys are IDs of objects, such as master data objects (products, material, and business partners), customizing objects, or organizational terms.
To define the environment in which an ID is valid, a set of attributes that describes the validity of the key is supported in addition to the actual key value. These attributes are the attributes of core component type "Identifier" (cct:identifier).
An identifier is a unique identifier for an object within an identification scheme that is managed by an agency. Generally there are multiple identification schemes for identifying an object.
Structure of CCT:Identifier
| Name | Type | Description |
|---|---|---|
|
Identifier |
Element |
ID of an object |
|
schemeID |
Optional attribute |
Identification scheme of the identifier |
|
schemeVersionID |
Optional attribute |
Version of the identification scheme |
|
schemeAgencyID |
Optional attribute |
ID of the agency that manages the identification scheme of the identifier |
|
schemeAgencySchemeID |
Optional attribute |
Identification scheme of the agency |
|
schemeAgencySchemeAgencyID |
Optional attribute |
ID of the agency (from DE3055) that manages the identification scheme of the agency |
The business system is usually written to attribute schemeAgencyID when a system-dependent cct:identifier is transferred with the Exchange Infrastructure. Attribute schemeID provides information about the object type identified by the ID, for example ProductGUID for the GUID of a product and PartnerGUID for the GUID of a business partner. For a proprietary identification that does not use an official code list, attribute schemeAgencySchemeAgencyID is given the value ZZZ.
Example
Some examples in XML representation are given below:
<ProductID
schemeID="ProductGUID"
schemeAgencyID="BCE_000"
schemeAgencySchemeAgencyID="ZZZ">
322E0B4289273040E10000000A1553A4
</ProductID>
<ProductID
schemeID="MaterialNumber"
schemeAgencyID="BCE_000"
schemeAgencySchemeAgencyID="ZZZ">
FAHRRADLENKER </ProductID>
<ProductID
schemeID="Household goods"
schemeAgencyID="065055766"
schemeAgencySchemeID="DUNS"
schemeAgencySchemeAgencyID="016">
B 1165 HS
</ProductID>