Product Information
SAP HANA Cloud: SAP HANA Core Data Services (CDS) Migration
Attention: The content of this blog was not created by SAP. It was written by a non-SAP consultant, Ashwin Shrimanwar (HANA Consultant, Pythian) to help your migration journey to the cloud. Therefore, please keep in mind that it might take some more time to get answer for your question in case you leave any to this blog.
Core Data Services (CDS) is an infrastructure for defining and consuming semantically rich data models in SAP HANA. It is used to define artifacts in database module using .cds file. SAP HANA Cloud supports HDB artifacts.
This blog describes the steps to follow when migrating SAP HANA CDS to SAP HANA Cloud on SAP Business Technology Platform (BTP).
1. Prerequisites
In SAP Business Application Studio (BAS), a project having a database module and application module (NODEJS) is prepared.
2. Add package.json file in srv folder
3. Add cdsrc.json file
4. Import CDS files to the project
5. Add/change package.json file in db folder
6. Add build.js
7. Execute CDS build
8. Objects generated
9. Objects deployment to the database
The HANA CDS artifacts are now migrated to SAP HANA Cloud design time artifacts and deployed!
Please feel free to leave any comments/questions. It might take some time as this content is not from SAP, but we will do our best to get back to you with accurate and reliable information.