Description
The hdbcds compiler backend, which generated .hdbcds artifacts for deployment to SAP HANA using the HDI CDS plugin, has been removed in CDS compiler v7 (CDS 10). The only supported HANA deployment format is now hdbtable/hdbview (the default). Any project that sets cds.hana.deploy-format to "hdbcds" or configures cds.requires.db.kind with an hdbcds value will receive a hard compiler error when compiling for HANA. The migration path is to switch to the standard hdbtable/hdbview deployment format, which has been the default since CDS 6 and is fully supported by SAP HANA Cloud.
How to Check
- [ ] Run
cds envand check the output for any key containinghdbcds. - [ ] Check
cds.hana.deploy-format— if set to"hdbcds", migration is required. - [ ] Check
cds.requires.db.kindfor an"hdbcds"value. - [ ] Search all config files (
.cdsrc.json,package.json,.cdsrc.yaml,cds.env) for the stringhdbcds. - [ ] Run
cds compile --to hana— if the project is affected, the compiler emits a hard error identifying the removed backend.
Migration Steps
Remove or update the
cds.hana.deploy-formatsetting to use the default format:diff// package.json or .cdsrc.json { "cds": { "hana": { - "deploy-format": "hdbcds" } } }If
cds.requires.db.kindis set to"hdbcds", change it to the standard HANA database service kind:diff// package.json { "cds": { "requires": { "db": { - "kind": "hdbcds" + "kind": "hana" } } } }Recompile and redeploy the HANA artifacts using the
hdbtable/hdbviewbackend:shcds build --for hana cds deploy --to hanaVerify that HDI deployment succeeds and that the HANA objects (tables, views) are created correctly under the new format.
Notes
The hdbtable/hdbview format has been the recommended and default deployment format since CDS 6. Projects still on hdbcds format are running a long-deprecated configuration. The HANA database behavior is identical — the only difference is the artifact format used during deployment. Consult the HANA deployment documentation for any schema migration considerations when switching formats on an existing database.