SAP Knowledge Base Article - Public

2588239 - Metadata: ACL Missing or Incomplete in View Error During Query Maintenance


You have created a custom Business Object in the Cloud Applications 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.


  • SAP Cloud Applications Studio
  • SAP Business ByDesign
  • SAP Cloud for Customer

Reproducing the Issue

  1. Login to SDK.
  2. Open the relevant solution.
  3. Activate the Solution/ Activate the query.
  4. Metadata error occurs.


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.


In order to resolve this issue, you can follow the below steps:

  1. Go to Cloud Applications Studio.
  2. Open the relevant solution.
  3. Navigate to the business object where you have added RelevantForAccessControl, association to any standard business object.
  4. Open the affected .qry file.
  5. Open the Query fields tab and select at least one field from the BO to which the association is made.
  6. Save and activate


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 , How To


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