ABAP Keyword Documentation → ABAP - Dictionary
ABAP CDS in ABAP Dictionary
The ABAP Core Data Services (ABAP CDS) are the platform-independent implementation of the general CDS concept for AS ABAP. ABAP CDS makes it possible to define semantic data models on the standard AS ABAP database. Unlike the SAP HANA-specific variant HANA CDS, ABAP CDS is independent of the database system. The entities of the models defined in ABAP CDS provide enhanced access functions compared with existing database tables and views defined in ABAP Dictionary, making it possible to optimize ABAP SQL-based applications. This is particularly clear when an AS ABAP uses a SAP HANA database, since its in-memory characteristics can be implemented in an optimum manner.
The data models are defined in the form of CDS objects using the CDS DDL and CDS DCL provided by ABAP CDS in the syntax of ABAP CDS in CDS source code. The CDS objects defined with these languages are integrated into ABAP Dictionary and managed here. CDS annotations can be used to define metadata for CDS objects.
- CDS Views
CDS entities that are based (from a technical perspective) on CDS database views in ABAP Dictionary.
- CDS Table Functions
CDS entities that are implemented in AMDP functions.
- CDS Hierarchies
CDS entities that create a hierarchy from a data source.
- Abstract CDS Entities
CDS entities that describe only type attributes and for which no instances of database objects are created.
Other versions:
7.31 | 7.40 | 7.54
Notes
- CDS objects are transported using the CDS source code. The CDS entities defined using a CDS data definition in DDL source code are created after the transport when activated in the target system.
- CDS source code can only be programmed in the Eclipse-based ABAP Development Tools (ADT). The Data Definition Language (DDL) and the Data Control Language (DCL) use different editors. The ADT documentation describes how these editors are used. CDS source code can also be displayed in Repository Browser in ABAP Workbench.
- As well as the database-independent ABAP CDS, HANA CDS are also available as another variant of the CDS concept. HANA CDS are only available in the SAP HANA database. Entities in HANA CDS are developed using HANA-specific tools such as SAP Web IDE for SAP HANA and not with the ABAP Development Tools (ADT).
- The fact that ABAP CDS is platform-independent from a functional perspective does not mean that the performance when accessing CDS entities is the same for all platforms. See the Performance Note.