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
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.
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.
- S/4Hana Cloud 2102
- Custom CDS Views
Reproducing the Issue
- Open CDS View
- Make minor change
- Attempt to Publish CDS View
- Observe Error
This issue was caused by a change in the DDIC in the inheritance of association annotations.
Development is researching this complex issue and will provide a solution when available.
#TO_COMPOSITION_ROOT , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem