After adding an Access Control Context to a Custom BO you receive a dump while editing an instance which was created before the Access Control Context was present.
- SAP Cloud Applications Studio
- SAP Cloud for Customer
- SAP Business ByDesign
Reproducing the Issue
- Create a Custom BO instance.
- Create a solution patch where you add an Access Control Context to this Custom BO.
- Try to edit the Custom BO instance created on 1.
- Dump will be raised.
You are trying to edit an instance of a BO for which access control context has been defined.
The Instance which you are trying to edit was created in a version of the custom solution prior to the addition of access control context.
After this instance was created a subsequent version of the custom solution was deployed to the tenant, in this subsequent version the access control context annotation was added to this BO.
Thus the expectation is that the Access Control relevant nodes are present for each Business Object instance, and as this expectation is not met the dump is raised.
In order to resolve the error, the instances created before the deployment of the solution version which has added the ACL should be deleted and re-created.
PDI, SDK, "The ACL Root Was Not Found" , KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , How To