Do you have any question about this error?
Message type: E = Error
Message class: ACM_SYNTAX - ACM: DCL Syntax Error Messages
Message number: 195
Message text: Rule won't apply to &1 because of functional grant in access control &2
You created an Access Control document to grant select privileges on an
entity. This entity is already protected by another Access Control
document with a functional grant. A functional grant provides select
privileges without any instance filtering to the user and has the
following syntax "GRANT SELECT ON <entity>;"
The syntax check of the Access Control document returns a warning
telling you that the Access Control document is not applied to the CDS
entity. The result set of the CDS entity is not restricted by the
current Access Control document.
To get rid of the warning remove your Access Control document for this
entity. It still might make sense to create an Access Control document
for the given entity if you are in a transport scenario. In this case
the warning is of informational purpose to not getting confused why your
Access Control document is not applied at runtime in the current system.
You can ignore the warning because it has no impact at runtime. It is
for informational purposes of the Access Control developer. If you want
to get rid of this warning, contact the developer of the Access Control
document.
Error message extract from SAP system. Copyright SAP SE.
ACM_SYNTAX195
- Rule won't apply to &1 because of functional grant in access control &2 ?The SAP error message ACM_SYNTAX195 indicates that a specific rule cannot be applied to a user or role due to a functional grant in the access control settings. This typically occurs in the context of SAP Access Control, where rules are defined to manage user access and ensure compliance with security policies.
Cause:
The error arises when:
To resolve this error, you can take the following steps:
Review the Functional Grant:
Analyze the Rule:
Modify the Functional Grant:
Adjust the Rule:
Testing:
Documentation:
By following these steps, you should be able to resolve the ACM_SYNTAX195 error and ensure that your access control rules are functioning as intended.
Get instant SAP help. Start your 7-day free trial now.
ACM_SYNTAX194
Rule won't apply to &1 because of redefinition in access control &2
What causes this issue? You created an Access Control document to grant select privileges on an entity. This entity is protected by another Access Co...
ACM_SYNTAX193
Rule won't apply to &1 because of the annotation setting of the entity
What causes this issue? You created an Access Control document to grant select privileges on an entity which has set the annotation: @AccessControl.a...
ACM_SYNTAX196
Optional element &1 is no valid field or association of entity &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_SYNTAX197
Optional element &1 is not used
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.