Symptom
For the event RegisteredProduct.Root.Updated, the root-entity-id provided cannot be used to retrieve the Registered Product via OData. The issue occurs when for example the Serial ID of a Registered Product is changed. You expect the entity ID to contain the registered product.
Environment
SAP Cloud for Customer
Reproducing the Issue
Example scenario which works:
- Go to the Work Center Install Base and the view Registered Products.
- Open the product.
- Change an extension field value on the header and save.
- You will see in the work center Administrator > General Settings > Even Notification Monitoring that an event InstallationPoint/RegisteredProduct.Root.Updated is triggered. The root-entity-id contains a valid Registered Product Object ID.
An example scenario which does not retrieve the registered product:
- Go to the Work Center Install Base and the view Registered Products.
- Open the product.
- Change the field Serial ID and save.
- You will see in the work center Administrator > General Settings > Even Notification Monitoring that an event RegisteredProduct.Root.Updated is triggered. The root-entity-id contains an ID that cannot be used to retrieve the Registered Product.
Cause
Technically speaking, the Registered Product is made up of 2 objects, Installation Point and PDM_Individual Product . The leading object is Installation Point (Registered Product is a type of Installation Point).
In events for the "Registered Product" object, the root-entity-id is different to the registered product UUID that is retrieved via OData. This is correct and is due to the technical setup of the registered product and the underlying BOs.
Resolution
If you are looking to use the root-entity-ID from the RegisteredProduct.Root.Updated event to query via OData, you can test the RegisteredProductDescriptionCollection, for example:
https://my<xxxxxx>.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/RegisteredProductDescriptionCollection?$filter=ParentObjectID eq '<enter root-entity-ID>'
Keywords
event management, root entity, registered product, install base, installation point, InstallationPoint/RegisteredProduct.Root.Updated, RegisteredProduct.Root.Updated, Odata , KBA , LOD-LE-IBA , Installed Base Data Management , How To
SAP Knowledge Base Article - Public