Tools

SAP CDS semantic annotations (@Semantics)

ID sapcds

other

SAP CDS models carry @Semantics annotations that tag an element as holding a particular kind of value. The CSN Interop specification, which exchanges SAP data models between systems, defines the set that is portable: currency code, unit of measure, language code, time of day, UUID and MIME type, plus calendar and fiscal period markers and amounts or quantities that point to a currency or unit element. The supported types cover only registry datatypes that match a documented type of the tool.

Website
https://sap.github.io/csn-interop-specification/annotations/semantics
Supported types
6

Supported semantic types

IDNameCategoriesCountriesDescription
currency Currency finances global A currency in the most specific sense is money in any form when in use or circulation as a medium of exchange, especially circulating...
language Language draft common global Human language written as a name, such as English, Deutsch or allemand (German in French), or as a code. Codes have their own patterns:...
mimetype Media type (MIME type) common, internet global Two-part identifier of a data format, type/subtype, such as text/html, image/png or application/vnd.ms-excel, defined by RFC 6838 and...
time Time draft datetime global Time of the day, like 12:00 or 10PM or 11:05 or 18:01:27
unit_of_measure Unit of measurement draft values global Unit in which a quantity in the same row is expressed, written as a name or a symbol, for example kilogram, kg, litre or thousand...
uuid Universally unique identifier (UUID) identifiers global 128-bit identifier that systems generate without a central registry, defined by RFC 9562 (2024), which replaced RFC 4122. Microsoft...

Use this record