SAP CAP Recent Enhancements the HANA Dev Should Know About
Thomas Jung walks through CAP features for HANA database developers that landed through late 2021: doc comments in the data modelData modellingDefining the shape of data before anything serves it: entities and their types, how they relate, and the projections and views that services and applications consume.SAP and community, unassessed (CDL comments propagated into generated database objects via the package.json cdsc.docs compiler option), and schema evolutionSchema evolutionGetting a model change into a database that already holds data, in every tenant, without losing any of it. Generating the initial schema and migrating one that already holds data are often treated as the same step.SAP and community, narrow by design reaching general availability in the November 2021 release, using the @cds.persistence.journal annotation and cds.hana.journal settings to generate incremental hdbmigrationtable migration scripts instead of dropping and recreating tables. It also walks through two features outside those two: window functions in view column definitions, added in the December 2021 release, and a beta assert_integrity setting that generates database foreign-key constraints from 1:1 associations and compositions.
Where it sits
Who is behind it
Developer Advocate
In the atlas: contributes to 15, wrote 6@jung-thomasauthor
Before you read it
ApplicabilityCore changedData modelling has changed 3 times since this was published, most recently in @sap/cds 9.9.0, 2026-04-23.
This is a derived prompt to re-check the work, not a claim that the work is wrong. Exact stale statements are recorded separately after editorial review.
Properties
About this work
For data-modelling
Details
Graph
Source
History
- explains → applies_to on capability:data-modelling (cap)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
- Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
- Ref
content:sap-cap-recent-enhancements-the-hana-dev-should-know-about- JSON
- /content/sap-cap-recent-enhancements-the-hana-dev-should-know-about.json
- MCP
- Connecting an agent