SAP Knowledge Base Article - Public

2550631 - Get the incompatible error when changing the custom CDS view

Symptom

  • Unable to save the changes to an CDS view and get the error message like: Changing Aggregation of field xxx is incompatible.
  • This CDS view is being used by an analytical query.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the App Custom CDS View.
  2. Change the fields of the CDS view.
  3. Get error when saving the changes.

Cause

The Custom CDS View is being used by the analytical query, it is not possible to do incompatible changes.

Resolution

  1. Open Custom Analytical Queries App.
  2. Find the queries which are created based on this CDS view.
  3. Remove the queries.
  4. Go back to the App Custom CDS View.
  5. Change the CDS view.

Keywords

Changing, Aggregation, field, incompatible, Custom CDS View , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud 1708