SAP CDS
Core Data Services (CDS) is an infrastructure that can be used by database developers to create the underlying (persistent) data model which the application services expose to UI clients.
The database developer defines the data-persistence and analytic models that are used to expose data in response to client requests via HTTP. With CDS, you can define a persistence model that includes objects such as tables, views, and structured types; the database objects specify what data to make accessible for consumption by applications and how. This guide takes you through the tasks required to create CDS documents that define the objects most often used in a data persistence model, for example:
- Create tables (entities)
- Create SQL views
- Create associations between entities or views
- Create user-defined structured types
The concept of CDS views is the same when comes to ABAP or HANA. The major difference lies in implementation of these views.
At a very high level , in ABAP the CDS views are stored in the Application layer , but in HANA they are stored directly on the HANA DB – XS layer.
Even though the concept is the same the codes are not interchangeable. Meaning ABAP CDS code cannot used in HANA environment as a copy paste.
Area | ABAP CDS | HANA CDS |
---|---|---|
Definition | A CDS view is defined for existing database tables and views, or for other CDS views in ABAP Dictionary, using the ABAP CDS statement DEFINE VIEW. A CDS view serves to define the structure of an SQL view and represents a projection onto one or several Dictionary tables or Dictionary views. | Use SAP HANA Core Data Services (CDS) to build design-time, data-persistence models in SAP HANA Extended Application Services. |
Code Management | SAP Application Layer | HANA Database XS Layer |
SQL | Open SQL | Native SQL |
Usage | Views | Models |
Reference
SAP Reference : CDS Views
SAP Reference : ABAP Views
Technical Understanding of ABAP layer , CDS Views – ABAP , CDS – HANA
Other Reference
0 Comments