Message type: E = Error
Message class:  SADL_GW_DT_CDS - Messages CDS Checks 
Message number: 010
Message text: Do not use annotation &1 on subnode.
The superfluous annotation is used in the CDS view of a subnode, but the
annotation can only be added to the CDS view of the root node. The
annotation in the CDS view of the root node affects the complete
composition.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
You can remove the annotation from the CDS view of the subnode.
Contact the corresponding developer of the CDS view to correct the
error.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message SADL_GW_DT_CDS010 typically occurs in the context of SAP Gateway and Core Data Services (CDS) when there is an issue with the annotations used in your CDS views, particularly when they are applied to subnodes.
Cause: The error message indicates that there is an inappropriate use of an annotation on a subnode in your CDS view. Annotations are metadata that provide additional information about the data model, and certain annotations are not allowed on subnodes. This can happen if: You are trying to apply an annotation that is meant for the main entity to a subnode. There is a misconfiguration in the CDS view definition. The structure of the CDS view does not align with the expected model for the annotations being used.
Solution: To resolve the error, you can follow these steps: Review the Annotations: Check the annotations applied to the subnode in your CDS view. Ensure that you are not using annotations that
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
SADL_GW_DT_CDS009 &1: Annotation &2 is missing. Add the annotation to the CDS view.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SADL_GW_DT_CDS008 Do not use the virtual element &1 in the association definition.
What causes this issue?  In the consumption CDS view, a virtual element is used in an association definition. This is not allowed.System Response  The...
SADL_GW_DT_CDS011 Annotation '@ObjectModel.semanticKey' is required for UUID-based models.
What causes this issue?  If you use a UUID-based model, a semantic key is required in the CDS view.System Response  The system issues an error message...
SADL_GW_DT_CDS012 Semantic key element &1 is unknown or hidden.
What causes this issue?  The element used in the semantic key annotation is invalid. Only elements that are exposed in the CDS view and that are not a...
Click on this link to search all SAP messages.