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


SADL_GW_DT_CDS002 - Overview

  • 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


SADL_GW_DT_CDS002 - Details








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


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
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