SAP Knowledge Base Article - Public

3028274 - Unable to publish Custom CDS View after upgrade to S/4Hana Cloud 2102

Symptom

Unable to publish Custom CDS View after upgrade to S/4Hana Cloud 2102.  User is seeing error in Custom CDS Views log:

Association #TO_COMPOSITION_ROOT in CDS view YY1_XXX defined multiple times
Message no. SADL_GW_DT_CDS025

Diagnosis
The association that is annotated with @ObjectModel.association.type: #TO_COMPOSITION_ROOT is defined multiple times, either in the local CDS view or through an inheritance from an underlying CDS view.

Procedure
To check the active annotations in the CDS view in Eclipse, right-click Open With -> Active Annotations.

Define the association annotated with @ObjectModel.association.type: #TO_COMPOSITION_ROOT only once.

Procedure for System Administration
Contact the corresponding developer of the CDS view to correct the error.

Environment

  • S/4Hana Cloud 2102
  • Custom CDS Views

Reproducing the Issue

  1. Open CDS View
  2. Make minor change
  3. Attempt to Publish CDS View
  4. Observe Error 

Cause

This issue was caused by a change in the DDIC in the inheritance of association annotations.

Resolution

Development is researching this complex issue and will provide a solution when available.

Keywords

 #TO_COMPOSITION_ROOT , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud 2102