The SAP Cloud Application Programming Model (CAP) in detail, built on one scenario end to end: the Order Approval Portal, a side-by-side CAP app for the Sales Order Approval business (requirements CR1–CR13).

Pages in this section
Page | What you learn |
|---|---|
Why CAP, architecture, project layout, cds CLI, Node.js vs Java, CAP vs RAP, the scenario | |
Entities, types, aspects (cuid, managed), associations and compositions, @sap/cds/common, annotations, i18n | |
03 · Services & Generic Providers – OData, REST & Projections | Service definitions, projections, OData V4 and REST, generic CRUD, paging, search, input validation |
04 · Custom Logic in Node.js – Event Handlers, CQL & Actions | Service implementations, before/on/after handlers, req, errors, CQL with cds.ql, transactions, actions |
Project structure, Maven, generated accessors, @Before/@On/@After handlers, CQL builder, actions | |
UI annotations in CDS, list report and object page, draft, value helps, Fiori tools, previews | |
07 · Authorization & Security – Roles, Restrictions, XSUAA / IAS | @requires and @restrict, instance-based rules, XSUAA, IAS and AMS, app router, testing auth |
08 · Databases & Deployment – SQLite, HANA Cloud, MTA, Cloud Foundry & Kyma | Profiles, SQLite, HANA Cloud with HDI, PostgreSQL, schema evolution, MTA, cf deploy, Kyma |
09 · Remote Services & Integration – S/4HANA APIs, Destinations, Cloud SDK | cds import, remote service consumption, destinations, mocking, SAP Cloud SDK |
10 · Messaging & Events – Event Mesh, Outbox & S/4HANA Events | Emitting and receiving events, SAP Event Mesh / Advanced Event Mesh, outbox, S/4HANA business events |
cds-mtxs, tenant onboarding, SaaS Provisioning service, extensibility for customers | |
cds.test, mocking, plugins, telemetry and logging, health checks, performance | |
SAP Cloud SDK for AI, generative AI hub from CAP, vectors in CDS, RAG in a CAP service | |
Every page's interview questions in one place for revision |
How to study with these notes
- Order: read the pages in number order – each page starts with why the topic matters, then a picture, then the details, common mistakes and interview tips.
- Hands-on: a SAP BTP trial or free-tier account is enough for almost every example.
- Revision: page 14 – cover the answer, answer aloud, then check the page for depth.
- Other sections in ③ SAP BTP: BTP Foundations, BTP Development, SAP Build, ABAP on BTP, Integration Suite, SAP Business AI.