BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

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 model (CDL comments propagated into generated database objects via the package.json cdsc.docs compiler option), and 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.

Where it sits

Explains
Schema evolutionCAPSchema evolutioncapabilityGetting 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.Data modellingCAPData modellingcapabilityDefining 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.
Since then
Data modelling has changed 3 times since this was published, most recently in @sap/cds 9.9.0, 2026-04-23
Source
reachable

Who is behind it

Thomas JungThomas JungPersonWrote this
Developer Advocate
In the atlas: contributes to 15, wrote 6
@jung-thomas
author

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

declared and crawled
Published
declared
Published on
declared
Views
crawled
5,854

For data-modelling

on the edge
Applies in
authored
cap

More on this26

Group by25 of 25 pieces
Piece, what it offersStill applies
Also explainingSchema evolution21
SAP Developer New, July 3rd 2026
SAP Community, Thomas Jung
nothing recorded
Deep Insert in SAP CAPM Using Composition and Fiori Elements
SAP Community, Talari Hari KumarThe reasoningA recipeRunnable code
nothing recorded
Building an Enterprise Application Using Fiori Elements and CAP - Part 1
SAP Community, Farooq, part 1 of 3The reasoning
nothing recorded
Create CDS Views and expose through OData service in CAPM
SAP Community, VenkateshMundru
nothing recorded
A CAP Plugin for Flexible Number Range Management: cds-numberrange-plugin
SAP Community, abdulbasitThe reasoningRunnable code
nothing recorded
Understanding Projections in CAPM: Select Only What You Need!
SAP Community, Avisek_The reasoning
nothing recorded
HANA Database Migration: Handling Incompatible Changes to Existing Tables
SAP Community, Sekar SomasundaramThe reasoningA recipe
nothing recorded
CAP, CDS, CDL, CSN and jq - finding associations
SAP Community, DJ AdamsThe reasoning
nothing recorded
SAP CAP(Cloud Application Programming)开发框架概述
SAP Community, ArthurYang
nothing recorded
Run and Deploy SAP CAP (Node.js or Java) with PostgreSQL on SAP BTP Cloud Foundry
SAP Community, TiaXuThe reasoningA recipeRunnable code
Core changed
#CAP-TechBytes Input Validation
SAP Community, ThajunnizaThe reasoning
nothing recorded
How I migrated my on-prem xsa cds3+hana solution to cds6+sqlite
SAP Community, alex_myakinkiiThe reasoningRunnable code
Core changed
SAP CAP Adapter to expose OData as custom REST Service
SAP Community, Former Member
nothing recorded
Creating structured types, enums and named aspects using the CDS Graphical Modeler
SAP Community, Xiao-fei_SongThe reasoning
nothing recorded
Importing @sap/cds common.cds to your CAP project using the CDS Graphical Modeler
SAP Community, Xiao-fei_Song
nothing recorded
First Java Cap Application
SAP Community, bruce_wang3
nothing recorded
Computed field example in CAP
SAP Community, DJ AdamsThe reasoningA recipeRunnable code
Core changed
SAP Cloud Platform Backend service: Tutorial [11]: CDS : magic: key: generation
SAP Community, CarlosRoggan
nothing recorded
Develop a full stack Business application with SAP Cloud Application Programming Model
SAP Community, former_member584731
nothing recorded
Learn how to define constraints declaratively in your CDS model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Analyze and optimize ABAP Cloud model apps built on core data services
SAP TechEd — session catalogueThe reasoning
nothing recorded
Also byThomas Jung5
SAP Developer New, July 3rd 2026
SAP Community, Thomas Jung
nothing recorded
September 15th: What's New on developers.sap.com
SAP Community, Thomas Jung
nothing recorded
SAP Tech Bytes: Adding Service Implementation to an SAP HANA Project
SAP Community, Thomas Jung
nothing recorded
New SAP Cloud Application Programming Model Sample for Many-to-Many Relationships and Fiori Annotations
SAP Community, Thomas Jung
nothing recorded
Adding a Swagger UI to Your SAP Cloud Application Programming Model / Node.js Service
SAP Community, Thomas JungThe reasoningRunnable code
New majors

Details

Graph5 edges
← POINTS HERE
POINTS OUT →
explainsSchema evolutioncapability, core and community
explainsData modellingcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • 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