Symptom
You have created a custom Business Object in the Cloud Application Studio (SDK). You are now trying to activate this Business Object, but activation is failing with the following errors:
-
Metadata: ACL missing or incomplete in view.
-
Error During Query Maintenance.
Environment
-
SAP Cloud Application Studio (SDK All versions).
- SAP Business ByDesign
- SAP Cloud for Customer
Reproducing the Issue
-
Login to SDK.
- Open the relevant solution.
- Activate the Solution/ Activate the query.
- Metadata error occurs.
Cause
This issue occurs when you have defined the association AccessControl with the Access control annotation, however if you fail to select any field from the Association this error will occur.
Resolution
In order to resolve this issue, you can follow the below steps:
- Go to Cloud Application Studio.
- Open the relevant solution.
- Navigate to the business object where you have added RelevantForAccessControl, association to any standard business object.
- Open the affected .qry file.
- Open the Query fields tab and select at least one field from the BO to which the association is made.
- Save and activate
Keywords
AP-RC-BDS-ANA error while activating the query file in SDK Metadata error while activating the solution ACL is throwing error , KBA , AP-RC-BDS-1O , ByDesign Studio OneOffs , AP-RC-BDS-ANA , ByDesign Studio Analytics , Problem
Product
SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions