SAP Knowledge Base Article - Public

3199473 - Not able to publish Custom CDS view due to warning message "Field XXXX ignored: Data type XXXXX not allowed for characteristic

Symptom

You're trying to create a Custom CDS view with calculated columns but CDS view gives you some warning messages and because of that you're not able to Publish CDS view.

Warning message: Field XXXX ignored: Data type XXXX not allowed for characteristic

Environment

S/4HANA Cloud

Cause

It is mandatory to set an aggregation for the those fields.
The reason is that the analytical engine performs a check for such fields. According to the check, if an aggregation(SUM ,MAX OR * is not provided then the analytical engine throws an error 'Data type * not allowed for characteristic' when publishing the view . This means that the data type is not supported for a characteristic and the field will be ignored.

Resolution

To fix the issue, please setup aggregation for the fields per your requirement.

Keywords

Custom CDS view, calculated columns, warning messages, publish CDS view, field XXXX ignored, data type XXXX not allowed for characteristic, aggregation , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions