If you pay attention to the build log in the console, you will see the CDS artifacts were converted to hdbtable and hdbview artifacts. You will find those artifacts in a new folder under src called gen.
You will now convert those CDS files specific to SAP HANA into runtime objects (tables). Right-click on the database module and choose Build.
Note: If you get an error during the build process, this could be caused by an older version of the XSA Runtime in HANA, express edition. If your XSA version still contains Node.js version 8.x; this can lead to errors when building because this version of Node.js is no longer supported at the OS level. Newer versions of the XSA runtime only contain Node.js version 10.x and 12.x. If you do receive an error at this point, we would suggest editing the /db/package.json like the following to force the usage of the newer version of the Node.js runtime.
{
"name": "deploy",
"dependencies": {
"@sap/hdi-deploy": "^3"
},
"scripts": {
"postinstall": "node .build.js",
"start": "node node_modules/@sap/hdi-deploy/deploy.js"
},
"engines": {
"node": "^10 || ^12"
}
}
Scroll up to in the console to see what the build process has done.
What is going on?
CDS stands for Core Data Services. This is an infrastructure that allows you to create persistency and services using a declarative language. Notice how you are using the same syntax to define both the persistency and the services.
You can find more information on CDS in the help
You defined a CDS artifact, this is an abstraction, a design-time declaration of the entities to be represented in a database and the services to expose them.
The original .cds file was translated into hdbtable, which is the SQLDDL syntax specific to SAP HANA when you saved all of the files.
These hdbtable files were then translated into runtime objects such as tables in the HANA database.
If you checked the services in your space, you would see the service for your HDI container.
or for the HANA Cloud trial:
You can also check the resources in your space using the resource manager in SAP Web IDE:
You can find a similar example and further context on Core Data and Services in this explanatory video