06-24-2019 8:36 AM
Hello I am new to ABAP, I just stumble across this term CDS View and curious to know the difference between the two. I know there are basically 4 Types of views in ABAP.
06-24-2019 9:51 AM
ABAP CDS Views and ABAP views are the same at a very basic level. If you create a CDS View with just field names of tables, then it will behave just like an ABAP View.
Apart from basic view creation, CDS have other benefits. Some are:
1. Annotation via which you can add extra properties to any field, these annotations will be reflected on UI.
2. Annotation with BOPF via which you can directly expose your CDS as a service whithout any need of OData and separate CRUD operation creation
3. Field level data manipulation via which you can add some calculations there itself
SAP has provided several documentations regarding the same, go through them for better understanding.
06-24-2019 9:08 AM
They are described here: ABAP CDS Views and here. Many blog posts too. Note: you edit them via Eclipse only.
06-24-2019 9:51 AM
ABAP CDS Views and ABAP views are the same at a very basic level. If you create a CDS View with just field names of tables, then it will behave just like an ABAP View.
Apart from basic view creation, CDS have other benefits. Some are:
1. Annotation via which you can add extra properties to any field, these annotations will be reflected on UI.
2. Annotation with BOPF via which you can directly expose your CDS as a service whithout any need of OData and separate CRUD operation creation
3. Field level data manipulation via which you can add some calculations there itself
SAP has provided several documentations regarding the same, go through them for better understanding.
07-19-2019 11:32 AM
Regards,
Kunal Jauhari