1.Overview
This section describes how to exchange a ProductVersion from an external PLM system to the SAP system and vice versa. As a result, a material master is created or updated.
The Integration allows to do the following use cases:
Direction: External PLM System --> SAP
- Create a New Material Master in SAP
- Create a New Material Master in SAP based on an existing previously transferred ProductVersion
- Create a New Material Master in SAP based on a Material Master Template
- Update a Material Master in SAP
Extending a Material Master to Another Plant
- Read material master information out of the SAP system
Direction: SAP --> External PLM System
- Create a Part in the external PLM system based on an SAP Material Master
- Update a Part in the external PLM system based on an SAP Material Master
- Read Part information out of the external PLM system and show the information in SAP
Supported Entities | ECC | S/4HANA Cloud, private edition | S/4HANA Cloud, public edition |
---|---|---|---|
Material Master | SUPPORTED | SUPPORTED |
2. Object Definition
Fieldname | Description | PLMSI Behaviour | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
key | Leading business ID coming from an external PLM system or SAP | MANDATORY | ||||||||
| ProductVersion id |
| ||||||||
| ProductVersion type | ProductVersion Type is mapped to an SAP Material Type. | ||||||||
| ProductVersion version |
| ||||||||
| temporary PLM ID of the business entity | The PLM ID is provided if the direction of External PLM System --> SAP or in the response. The PLM Id for example can change if two objects can point to the same material master. (like a manufacturing equivalent) | ||||||||
| temporary ERP ID of the business entity | The ERP ID is provided if the direction of SAP --> External PLM System or in the response. The ERP Id contains the SAP Material Master Number, and (if applicable) is concatenated with the current revision level. | ||||||||
controlParameters (only for posting) | Structure with parameters on how to create/update the PV | OPTIONAL | ||||||||
| key of an existing ProductVersion which should be used as a template for PV creation | This property is only influencing the business logic in case of a new material master creation process
| ||||||||
| control if all linked DocumentVersions Links (DVs under integration control) should be updated or merged | This flag is only influencing the business logic in case of an update of a material master creation process
| ||||||||
changeObject | Key of the change object (only if the object is sent in the context of the change object) | OPTIONAL | ||||||||
| key of the Change Object MDM entity | Provided COs and corresponding linked SAP ECMs/Change Records must exist in the SAP system, otherwise, the payload gets rejected.
| ||||||||
vendorData | Additional information for a Vendor Part | OPTIONAL | ||||||||
| Key of the vendor MDM entity | See the Vendor Definition section. SAP business partner is linked to the material master as a manufacturer. | ||||||||
| Manufacturer Part Number of the ProductVersion | Linked to the SAP Material Master Manufacturing Part Number | ||||||||
Attributes | Aligned Attributes | OPTIONAL | ||||||||
validFrom | Contains date and time of the FROM effectivity or release date directly assigned to the object. e.g. "2022-12-01T07:42:28Z" | This property is only influencing the business logic in case a PV is represented by a SAP Material Master with Revision Levels
| ||||||||
status | Contains the status of the business object | The combination of DM Status and DM Maturity is translated based on the PLMSI configuration to an SAP Material status | ||||||||
maturity | Contains the maturity of the business object | The combination of DM Status and DM Maturity is translated based on the PLMSI configuration to an SAP Material status | ||||||||
baseUOM | Base Unit of the Product (ISO-Code) | DM BaseUoM is linked to the SAP Material Master base unit of measure. | ||||||||
basicMaterial | Defines from which basic Material the product is made of. | Not linked to SAP Material Master by default. Refer to How to section | ||||||||
batchManaged | Specifies if this material should be managed under batch control | Not linked to SAP Material Master by default. | ||||||||
weight | Specifies the Gross Weight of the product version. | Linked to the SAP Material Master gross weight. | ||||||||
weightUOM | Unit of Measure of the weight | Linked to the SAP Material Master weight UoM | ||||||||
length | Specifies the dimension "length" of the product version. | Linked to the SAP Material Master length dimension of the base UOM | ||||||||
width | Specifies the dimension "width" of the product version. | Linked to the SAP Material Master width dimension of the base UOM | ||||||||
height | Specifies the dimension "height" of the product version. | Linked to the SAP Material Master height dimension of the base UOM | ||||||||
sizeUOM | Unit of Measure of the dimension | Linked to the SAP Material Master of the base UOM | ||||||||
displayURL (only for data federation) | URL for data federation à show link to SAP object | URL for the WebGui SAPGUI for SAP Material Master | ||||||||
names[] | name of the product version (multi-language) | OPTIONAL Behavior: You either have to provide names[] or descriptions [] during initial create of a PV Linked to the SAP Material Master short text. | ||||||||
| Language key | ISO Language Key like e.g. "EN,"DE", ... | ||||||||
| Name of the ProductVersion | Text | ||||||||
descriptions[] | description of the product version (multi-language) | OPTIONAL Behavior: You either have to provide names[] or descriptions [] during the initial creation of a PV. If no name is sent during the initial creation, the first 40 chars of the description are used for the SAP short text. Linked of SAP Material Master Description | ||||||||
| Language key | ISO Language Key like e.g. "EN,"DE", ... | ||||||||
| Description of the ProductVersion | Text | ||||||||
classAssignments[] | Class assignments of the PV | OPTIONAL | ||||||||
classKey | Key of the class | Linked to an SAP Class. The class type is maintained in the PLMSI config. A class key must be unique within the same collection. Otherwise, the payload is rejected. | ||||||||
| namespace of the class | The class id in SAP is calculated based on namespace and id. If a namespace is provided the corresponding SAP ID looks like the following <namespace>_<id>. Otherwise, it is just the id. The SAP system will search for a class with the same id. If the same class is found a class allocation is executed. In case the class is not found a warning message is issued but the PV is still processed. | ||||||||
| Id of the class | |||||||||
| temporary PLM ID of the business entity
| The PLM ID is provided if the direction of External PLM System --> SAP or in the response. | ||||||||
| temporary ERP ID of the business entity | The ERP ID is provided if the direction of SAP --> External PLM System or in the response. The ERP Id contains the SAP id of the class and class type. | ||||||||
| version of the class
| Version is ignored in SAP | ||||||||
| type for class (e.g. “01” (see IRDI)) | Type is ignored in SAP | ||||||||
| Description of Class (optional, only for better reading) | Ignored by the SAP system. | ||||||||
| Properties of the class | Linked to an SAP Characteristic of the parent SAP Class | ||||||||
| namespace of the property | The char id in SAP is calculated based on namespace and id. If a namespace is provided the corresponding SAP ID looks like the following <namespace>_<id>. Otherwise, it is just the id. The SAP system will search for a class with the same id. If the same class is found a class allocation is executed. In case the class is not found a warning message is issued but the PV is still processed. | ||||||||
| id of the property | |||||||||
| temporary PLM ID of the business entity | The PLM ID is provided if the direction of External PLM System --> SAP or in the response. | ||||||||
| temporary ERP ID of the business entity | The ERP ID is provided if the direction of SAP --> External PLM System or in the response. The ERP Id contains the SAP 300 class id. | ||||||||
| version of the property | Version is ignored in SAP | ||||||||
| type of the property (e.g. “02” (see IRDI)) | Type is ignored in SAP | ||||||||
| Description of Property (optional, only for better reading) | Ignored by the SAP system. | ||||||||
| ||||||||||
| Linked to the characteristic value within SAP. If the value is longer than the provided characteristic length definition, the value gets cut. Only one of the value fields must be provided. An error message is returned if more than one value field is filled. The value can also be empty/initial. | |||||||||
| ||||||||||
| ||||||||||
| ||||||||||
linkedDocumentVersions[] | additional DocumentVersions which should be linked to the ProductVersion | OPTIONAL | ||||||||
| Linked document keys | Provided DVs and corresponding linked SAP Document Infor Records must exist in the SAP system, otherwise, the payload gets rejected. Within SAP a Material Master ↔ Document Infor Record object link is created. Update logic is controlled to keepExistingLinkedDocumentVersions flag of the control key section. | ||||||||
factoryData[] | factory data of a ProductVersion | OPTIONAL | ||||||||
| Key of the factory | The factory is linked to an SAP Plant. The link is configured as part of the PLMSI configuration. | ||||||||
| Sourcing strategy for the related factory | Not linked to SAP Material Master by default. | ||||||||
| ProductVersion Status of the related factory | The combination of DM Status and DM Maturity is translated based on the PLMSI configuration to an SAP plant-specific material status | ||||||||
| ProductVersion Maturity of the related factory | The combination of DM Status and DM Maturity is translated based on the PLMSI configuration to an SAP plant-specific material status | ||||||||
| Extension fields to exchange additional attributes on the factory level | Extension Fields can be mapped based on the PLMSI Field and Value (FVM) mapping to SAP standard MARC fields. | ||||||||
variantDefinitionKey
| VariantDefinition link to a PV | OPTIONAL | ||||||||
| Id of the linked VariandDefinition MDM entity | See VariantDefinition is represented by a 300 class. For further details see the VariantDefinition section. If you sent a VariantDefinition Linkg following actions will take place:
| ||||||||
| temporary PLM ID of the business entity | The PLM ID is provided if the direction of External PLM System --> SAP or in the response. | ||||||||
| temporary ERP ID of the business entity | The ERP ID is provided if the direction of SAP --> External PLM System or in the response. The ERP Id contains the SAP 300 class id. | ||||||||
extensionFields[] | extension fields to exchange additional attributes | OPTIONAL Extension Fields can be mapped based on the PLMSI Field and Value mapping (FVM) to SAP standard fields, Material classification or custom MARA fields | ||||||||
| Key to identifying the extension field | Key must be unique per entity | ||||||||
| SubKey to further identify the extension field | The subkey must be unique per entity and per key. | ||||||||
| Readable name for the extension field | Display name of readability only and for data federation | ||||||||
| Value of the extension field | Only one of the value fields must be provided. An error message is returned if more than one value field is filled. The value can also be empty/initial. | ||||||||
| Value Description | |||||||||
| Value Integer | |||||||||
| Value Decimal | |||||||||
| Value Date | |||||||||
| Value Duration |