{"ref":"content:sap-cap-recent-enhancements-the-hana-dev-should-know-about","page":"/content/sap-cap-recent-enhancements-the-hana-dev-should-know-about","json":"/content/sap-cap-recent-enhancements-the-hana-dev-should-know-about.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"sap-cap-recent-enhancements-the-hana-dev-should-know-about","title":"SAP CAP Recent Enhancements the HANA Dev Should Know About","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/sap-cap-recent-enhancements-the-hana-dev-should-know-about/ba-p/13529600","content_type":"blog","published_on":"source:sap-community","explains":["capability:schema-evolution",{"ref":"capability:data-modelling","applies_to":{"ecosystems":["cap"]}}],"summary":"Thomas Jung walks through CAP features for HANA database developers that landed through late 2021: doc comments in the [data model](capability:data-modelling) (CDL comments propagated into generated database objects via the package.json `cdsc.docs` compiler option), and [schema evolution](capability:schema-evolution) 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.","short":"CAP features for HANA developers up to late 2021","authors":["actor:jung-thomas"],"published":"2022-02-15","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-10-01"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:data-modelling (cap)","reason":"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)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 57 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds 9.6.0, 2025-12 and 2 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":5864,"unit":"views"},{"value":2,"unit":"comments"},{"value":20,"unit":"likes"}]},"signals":{"views":5864,"likes":20,"comments":2,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[{"ref":"actor:jung-thomas","name":"Thomas Jung","json":"/actors/jung-thomas.json"}]}}