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
The Authorization Check Mode of the DDL entity does not allow DCL access
control.
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
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
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.
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
Get instant SAP help. Sign up for our Free Essentials Plan.
ACM_SYNTAX040
Expected symbol missing &1 or &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ACM_SYNTAX039
Literal &1 is of type &2, but contains non-numeric characters
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ACM_SYNTAX042
Literal "&1" has length &2, but the data type has maximum length &3
What causes this issue? The literal value is longer than the configured maximum length in DDIC for the field. The system issues an error message and ...
ACM_SYNTAX043
Literal "&1" has length &2, but the data type has minimum length &3
What causes this issue? The literal value is shorter than the expected minimum length of the field type in DDIC. The system issues an error message a...
Click on this link to search all SAP messages.