How To Fix ACM_CMP_CHECKS001 - Zugriffsrelevantes Element &1 wurde hinzugefügt.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ACM_CMP_CHECKS - API Release: Message class for ACM Compatibility Checks

  • Message number: 001

  • Message text: Zugriffsrelevantes Element &1 wurde hinzugefügt.

  • Show details Hide details
  • Was verursacht dieses Problem?

    The access protection for an already released CDS entity was extended by
    an additional field or association.

    Systemantwort

    The system reports a compatibility issue with an access control
    document.
    Why is it problematic?
    To add a new field or association to the access control document might
    break customer code. This is the case when an access control document
    created by a customer inherits the access protection from an SAP
    delivered CDS entity and applies it to the customer's CDS entity. The
    newly added field or association of the access control document might
    not be in the field list of the customer's CDS entity and results in a
    syntax error for the customer's access control document. At runtime this
    causes a dump saying 'ACM_UNEXPECTED_VALUE'.

    Wie behebe ich diesen Fehler?

    You must include fields and associations added to your access control
    document into the optional element list of the access control document,
    e.g.:
    grant select on <CDS Entity> with optional elements (<field1> default
    <void | true | false>, <association1> default <void | true | false>
    where ...
    At runtime the access control conditions are then replaced by the
    default value if the field/association is not part of the CDS entity
    field list the access control is applied to.
    The issue is also reported on access control documents that are extended
    indirectly e.g. via the inherit mechanism. Transaction SACMDCLS helps
    you to figure out from where the access control conditions are inherited
    from. Open the transaction SACMDCLS -> Access Control Name =
    <your access control document> -> double click your access control
    document on the result list -> press button 'ABAP Artifacts'. On the
    window at the bottom with title 'Designtime Conditions' the access
    control conditions including their inheritance relationship are
    displayed.

    Vorgehensweise für Systemadministratoren

    Forward this issue to the developer of the reported access control
    document.

    Fehlermeldungsextrakt aus SAP-System. Copyright SAP SE


Smart SAP Assistant

  • Was ist die Ursache und Lösung für den SAP Fehler ACM_CMP_CHECKS001 - Zugriffsrelevantes Element &1 wurde hinzugefügt. ?




    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Zugehörige SAP-Fehlermeldungen

Klicken Sie auf die Links unten, um die folgenden verwandten Nachrichten anzuzeigen:

Klicken Sie auf diesen Link, um alle SAP-Meldungen durchsuchen.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author