Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3229

Re: CDS View vs Atribute view

$
0
0

Hi Reddy,

 

an attribute view is one of the view types available in the HANA modelling environment. The attribute view (also known as Join View) is intended to join tables together. One scenario might be to use an attribute view as a single dimension in an analytical view.

YOu find more information on that in chapter 6.2 the SAP HANA Modelling Guide (http://help.sap.com/hana/SAP_HANA_Modeling_Guide_for_SAP_HANA_Studio_en.pdf)

 

CDS (Core Data Services) is a layer above the "pure" database in order to define semantically-enriched data models. In contrast to the attribute view a CDS document can define tables (called entities), views, table types, associations and annotations. So as you can see CDS is much more powerful than a plain attribute view. You can find an introduction to CDS views in the HANA developer guide chapter 3.1 (http://help.sap.com/hana/SAP_HANA_Developer_Guide_for_SAP_HANA_Web_Workbench_en.pdf)and an extensive description on them in the reference guide (http://help.sap.com/hana/SAP_HANA_Core_Data_Services_CDS_Reference_en.pdf)

 

So summarizing attribute views are one simple type of views intended to join tables (and in case apply some filtering). CDS is a complete layer within HANA in order to do sematically-rich data modeling. So both deal with data modeling but there is no close connection between them

 

There are also so called CDS views that come from the ABAP world. These are ABAP managed artefacts where you can also do data modelling. The capabilities are much bigger than the ones of classical views in ABAP and allow also some semantical annotations (more to come with NW 750 as far as rumors say). Nevertheless currently (NW 740) the DDL files of a CDS view allow only the modelling of one single entity (in contrast to a CDS document in the HANA repository where you can define several artefacts in one CDS file)

 

Hope that helps (and does not add confusion :-))

 

BR

Christian

 

P.S. If you go for modelling I would only use calculation views and avoid attribute and analytical views (although not officially deprecated, you can see where the journey goes when taking a look at HANA Live content)


Viewing all articles
Browse latest Browse all 3229

Trending Articles