&1: Element &2 is typed incorrectly for this annotation

Message type: E = Error

Message class: SADL_GW_DT_CDS - Messages CDS Checks

Message number: 086

Message text: &1: Element &2 is typed incorrectly for this annotation



What causes this issue?

The field must have a suitable underlying type for the following
annotations: @Semantics.dateTime and @Semantics.uuid


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?

For @Semantics.dateTime:
You should use data elements which have domains similar to TZNTSTMPL,
TZNTSTMPS or TIMESTAMP.
You may also do a CAST in the CDS view to the appropriate types: DEC(21
,7), DEC(15,0) or CHAR(14)
For @Semantics.uuid
You should use data elements which have domains similar to SYSUUID_X16,
SYSUUID_C22 or SYSUUID_C32.
You may also do a CAST in the CDS view to the appropriate types: RAW16,
CHAR(22) or CHAR(32)


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.