Symptom
-
An error similar to the following was displayed when saving a Custom CDS View
Field <fieldid1> doesn't exist. It is used in properties of field <fieldid2>
- For example:
Field CompanyCodeCurrency doesn't exist. It is used in properties of field AmountInCompanyCodeCurrency
Environment
-
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a new Custom CDS View
- Add a datasource
- Select a field from the datasource
- Click the Save Draft button
Result: An error similar to the following is displayed:
Field <fieldid1> doesn't exist. It is used in properties of field <fieldid2>
Resolution
-
Be sure to include the field labeled as <field1> in the sample error message in your Custom CDS View
- For example, for the error message:
Field CompanyCodeCurrency doesn't exist. It is used in properties of field AmountInCompanyCodeCurrency
field CompanyCodeCurrency needed to be added to the Custom CDS View to resolve the error
Keywords
Custom, CDS, View, error, field, not, exist, properties, Custom CDS Views , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem
Product
SAP S/4HANA Cloud Public Edition all versions