Symptom
You would like to update the ObjectIdentifierMapping in your system and you changed the Default External ID/ DefaultIndicator to FALSE. An error occurred after importing the file.
Error: Update not allowed for properties: DefaultIndicator. Check metadata for ObjectIdentifierMappingCollection.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Data Workbench work center
- Click on Export view
- Search for ObjectIdentifierMapping
- Click on Next and All Data
- Click on Next until Export Data
- Go to Monitor view
- Open file and make changes
- Go to Data Workbench work center
- Click on Import view
- Select Update and Individual Object
- Search for ObjectIdentifierMapping
- Click on Next
- Upload the modified file
- Click on Next until Import Data
- Click on Import Data
- Go to Monitor view
Cause
According to C4C OData API, the Default Indicator/ Default External ID cannot be created and updated. Therefore, it is not possible to update the ID mapping which are not created via OData using Data Workbench work center.
The update with OData depends on the external key (OData ID Mapping). As a result, the records which are not created via OData will not have this external key. Hence, it is not possible to update the ID mapping which are not created via OData using Data Workbench work center.
Therefore, we suggest creating new ID mapping creation via DWB and not updating any records using Data Workbench work center. If any update is triggered, it will create a duplicate mapping.
In addition to it, the update of Default Indicator via OData service has been restricted. This has been done to prevent creating wrong data in the system
Resolution
The only possibility to update the Default External ID/ Default Indicator is via UI.
Keywords
ObjectIdentifierMapping, update, LocalObjectID, RemoteObjectID, DefaultIndicator, Default External ID, , KBA , AP-DRM-OIM , Object Identifier Mapping , LOD-CRM-INT-DWB , Data Workbench , Problem