Association #TO_COMPOSITION_ROOT in CDS-View &1 is defined multiple times

Message type: E = Error

Message class: SADL_GEN_DRFT_MSG - Message for Draft generation

Message number: 066

Message text: Association #TO_COMPOSITION_ROOT in CDS-View &1 is defined multiple times



What causes this issue?

The association #TO_COMPOSITION_ROOT is defined multiple times, either
in the local view or via inheritance from an underlying view. Please
check the active annotations in the DDL document (CDS view) in Eclipse
via right click 'Open With -> Active Annotations'.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

Define the association #TO_COMPOSITION_ROOT only once.


Procedure for System Administrators

Contact the corresponding developer of the DDL document in case of
errors otherwise no further action is required.

Error message extract from SAP system. Copyright SAP SE.