Message type: E = Error
Message class: SD_CDS_ENTITY - Messages for STOBS/entities
Message number: 106
Message text: Annotation &1 should only be used once within a select list.
The following annotations should be used only once within the select or
element list of CDS objects:
@Semantics.currencyCode
@Semantics.unitOfMeasure
Elements having these annotations assigned are used as default
references for calculated elements of data type CURR/QUAN. In case of
multiple assignments it is not defined which of the elements is used as
reference.
In order to avoid this warning it is also possible to assign the
following annotations to all CURR-/QUAN-typed elements:
@Semantics.amount.currencyCode
@Semantics.quantity.unitOfMeasure
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
SD_CDS_ENTITY106
- Annotation &1 should only be used once within a select list. ?The SAP error message SD_CDS_ENTITY106 indicates that there is an issue with the way annotations are being used in a Core Data Services (CDS) view. Specifically, the error message states that a particular annotation (denoted by &1) is being used more than once in the select list of the CDS view, which is not allowed.
Cause: The error occurs when: An annotation is defined multiple times in the select list of a CDS view. Annotations are meant to provide metadata about the fields in the CDS view, and each annotation should be unique for each field.
Solution: To resolve this error, you should: Review the CDS View Definition: Check the select list of your CDS view to identify where the annotation is being used multiple times. Remove Duplicate Annotations: Ensure that each annotation is only applied once. If you find duplicates, remove the extra instances. Consolidate Annotations: If you need to apply similar metadata to multiple fields, consider whether
Get instant SAP help. Sign up for our Free Essentials Plan.
SD_CDS_ENTITY105
Annotation &1&2&3&4 is not allowed in view entities.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SD_CDS_ENTITY104
Error in WHERE clause of &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SD_CDS_ENTITY107
Feature '&1' not yet supported.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SD_CDS_ENTITY108
Error in HAVING clause of &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.