How To Fix ACM_SYNTAX041 - The Auth. Check Mode of CDS entity &1 does not allow DCL access control


ACM_SYNTAX041 - Overview

  • Message type: E = Error

  • Message class: ACM_SYNTAX - ACM: DCL Syntax Error Messages

  • Message number: 041

  • Message text: The Auth. Check Mode of CDS entity &1 does not allow DCL access control

  • Show details Hide details
  • What causes this issue?

    The Authorization Check Mode of the DDL entity does not allow DCL access
    control.

    System Response

    A warning message in the DCL Editor occurs when you try to create a role
    for a CDS entity which uses Authorization Check Mode #NOT_ALLOWED.
    Activation of the DCL document is still possible but at runtime all DCL
    roles are ignored for the DDL entity

    How to fix this error?

    Either delete/remove access control by DCL to avoid the warning
    Or set another Authorization Check Mode for the CDS entity in the DDL
    document to support access control by DCL

    Procedure for System Administrators

    Contact the developer of the DCL document

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ACM_SYNTAX041 - The Auth. Check Mode of CDS entity &1 does not allow DCL access control ?
    The SAP error message ACM_SYNTAX041 indicates that there is an issue with the authorization check mode of a Core Data Services (CDS) entity in relation to Data Control Language (DCL) access control. This error typically arises when the authorization check mode of the CDS entity does not permit the use of DCL for access control.
    
    Cause: The error occurs due to a mismatch between the authorization check mode defined in the CDS entity and the DCL access control settings. Specifically, the CDS entity may be set to a mode that does not support DCL, such as #CHECK or #NONE, while DCL is being used to manage access control.
    Solution: To resolve this error, you can take the following steps: Check the Authorization Check Mode: Open the CDS view definition in the ABAP Development Tools (ADT) or the relevant transaction. Look for the @AccessControl.authorizationCheck annotation in the CDS view definition. Ensure that the authorization check mode is set to

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant