SAP CDS TDL



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS - Type Definitions
CDS type definitions are defined in the CDS type definition language ( CDS TDL) of ABAP CDS . CDS type definitions can be used to define the following CDS types:
CDS simple types
At present, only elementary CDS types are available. When TDL source code with a CDS type definition is activated, the CDS type is created in form of a metadata representation in system tables. The CDS types themselves are not transported. Instead they are created after the transport of a TDL source code when this code is activated in the target system. Each CDS type is defined in a separate piece of TDL source code in the ABAP Development Tools (ADT). In the development tools, CDS types are only visible as CDS definitions in their TDL source code. The ABAP runtime framework and other frameworks access the internal metadata of CDS types. For example, the ABAP runtime framework recognizes a CDS type as a global type. Therefore, the name of a CDS type must be unique.
The following sections describe the possible CDS types and the associated TDL statements:
CDS simple types



Latest notes:

CDS types are in the namespace of all global types of an AS ABAP.
Once a piece of TDL source code has been activated, its name is stable and cannot be changed.
The TDL source code of a type definition for a CDS type is edited in a different editor than the DDL source code of a CDS data definition , the DDLA source code of a CDS annotation definition , the DDLX source code of a CDS metadata extension, and the DCL source code of a CDS role for CDS access control. The ADT documentation describes how to create the different types of source code.
NON_V5_HINTS
ABAP_HINT_END