Professional Documents
Culture Documents
CDS is semnaticaly rich data definition language. It provides as easy to understand and reusable
tool that ABAP developers utilize to execute the code push down paradigm.
TASK:
Get the id, name and respective zip code of the home address for all employees in org-unit
4711.
SQL:
Write lwa_empl-id.
Write lwa_empl-name.
LOOP at lt_addrs.
IF lt_addrs-type = ‘HOMEADDR’.
Write zipcode.
ENDIF.
CDS
It is combination of DDL (Data Definition Language) , QL(Query Language) and DCL(Data Control
Language).
CDS is not written in ABAP but the objects reside in abap data dictionary. It is combination of open sql
and variour list of annotations.
@VDM.viewType : BASIC
If I want to use this table in analytic purpose, then I need to tell it is dimension type of table.
If we have multiple basic type views and if we want to connect them we need associations between
them.