How To Fix SADL_GW_DT_CDS002 - Dsa berechnete Feld &1 ist nicht erlaubt.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SADL_GW_DT_CDS - Messages CDS Checks

  • Message number: 002

  • Message text: Dsa berechnete Feld &1 ist nicht erlaubt.

  • Show details Hide details
  • Was verursacht dieses Problem?

    In the CDS view (consumption view), a calculated field is defined:
    e.g.: so.NetAmount + so.TaxAmount as GrossAmount
    A field can only be calculated using a calculation exit.

    Systemantwort

    Das System gibt eine Fehlermeldung aus und erlaubt Ihnen nicht, mit dieser Transaktion fortzufahren, bis der Fehler behoben ist.

    Wie behebe ich diesen Fehler?

    Create an ABAP class (CL_xxx_EXIT) which implements the interface
    IF_SADL_EXIT_CALC_ELEMENT_READ where the field is calculated.
    Add the annotations to the field in the CDS view (consumption view):
    @ObjectModel: { virtualElement : true<(>,<)>
    virtualElementCalculatedBy: 'ABAP:CL_xxx_EXIT'
    }
    cast( 0 as MYAMOUNT ) as GrossAmount<(>,<)>

    Vorgehensweise für Systemadministratoren

    Contact the corresponding developer of the CDS view to correct the
    error.

    Fehlermeldungsextrakt aus SAP-System. Copyright SAP SE


Smart SAP Assistant

  • Was ist die Ursache und Lösung für den SAP Fehler SADL_GW_DT_CDS002 - Dsa berechnete Feld &1 ist nicht erlaubt. ?




    • 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