SAP Knowledge Base Article - Preview

3582882 - Publishing custom field with CDS usage fails with error related to CDS annotation

Symptom

  • Publishing a custom field fails with the status "Publishing Failed"
  • In transaction SCFD_LOG there is a "DDIC Mass Activation: Activation failed" error with the error detail:
    • Return Code: 8. Object type: DDLS. Object name: <ObjectName>. Annotation Semantics.unitOfMeasure is not allowed in view entities.
  • In transaction SCFD_FIELDVIEWER the field shows the status "Generation Failed"
  • A custom field has been created in an earlier release and after the system upgrade. When trying to edit that field or try to execute the report CFD_REGENERATE_IN_ONPREMISE, the error message comes up: "Changes for field ... could not be saved."


Read more...

Environment

  • SAP S/4HANA
  • Custom Fields app

Product

SAP S/4HANA all versions

Keywords

SAP S/4HANA, Fiori App, Custom Fields, Publishing Failed, OData service, CDS view entity, Semantics, @Semantics.unitOfMeasure, @Semantics.currencyCode, DDIC Mass Activation, SCFD_LOG, SCFD_FIELDVIEWER, CFD_REGENERATE_IN_ONPREMISE, Custom CDS, CDS Extension, Activation failed , KBA , BC-SRV-APS-EXT-FLD , Custom Fields , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.