SAP Knowledge Base Article - Public

2521355 - Error Publishing Custom CDS View

Symptom

  • For non numeric <FieldName> aggregation is not possible. Please select None.
  • CDS View Could Not Be Published

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Create a new Custom CDS View and add an aggregation to it
  2. Attempt to publish the view and this error may appear

Cause

Aggregation must be done on numeric fields

Resolution

  • Remove the aggregation (set aggreagation to None)
  • Only use aggreagations for numeric fields

Keywords

numeric int8 publish published , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud all versions