- Right click on the package.
- Choose DDL Source under Dictionary objects node.
- Enter the view name and a description for your new DDL SQL view.
- As expected since I'm creating my first CDS view in local ABAP package, $TMP no change recording is enabled for package $TMP.
.
Beside this, how do I view a CDS view in SAP?
Press CTRL + SHIFT + A or go to Navigate > Open ABAP Development Object… in the top menu of Eclipse. Paste the ABAP CDS view name into the input field of the Open ABAP Development Object dialog. For example, C_MDBusPartChangeProcessType. Open the CDS view.
Subsequently, question is, what are CDS views? 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.
Moreover, how do I run CDS view?
Procedure
- Start the SAP HANA studio.
- Open the SAP HANA Development perspective.
- Open the Project Explorer view.
- Create the CDS-definition file which will contain the view you define in the following steps.
- Define the underlying CDS entities and structured types.
- Define a view as a projection of a CDS entity.
Why CDS views are used?
CDS views push the logic to the database because they take most of the logic from an ABAP application and execute it on the database, instead of on the application server. SAP's new programming model – code to data and not data to code.