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(Cloud Application Programming)开发框架概述

A Chinese-language walkthrough of CAP built mainly from CAPire's own "About CAP" page: CDS entities, associations, compositions and aspects for data modelling, with an extend Books with @restrict: [{ grant:'WRITE', to:'admin' }] aspect as its authorization example; CQL and CQN queries shown against both a local service and OData's $select/$expand; and the service-and-event model — this.on, this.emit, srv.on — that carries CAP's async processing. It closes with the author's own setup: installing @sap/cds-dk, scaffolding a bookshop project with cds init, and running it with cds watch against local SQLite, mocked authentication and file-based messaging standing in for HANA Cloud, IAS and Kafka.

Where it sits

Explains
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.AuthorizationCAPAuthorizationcapabilityDeciding who may read or change what, at service, entity and instance level — role checks, forwarded user context, and restrictions evaluated as query filters rather than after the fact.Async processingCAPAsync processingcapabilityDoing work outside the request that triggered it, with a guarantee that it eventually happens — deferred jobs, retries, and periodic work. Distinct from messaging, which is about telling other systems.ODataCAPODatacapabilityExposing data and operations through OData, including the service model, metadata and protocol versions clients require. Version differences affect which clients can consume a service and which query features they can use.
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

ArthurYangauthor

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
4,929

For data-modelling

on the edge
Applies in
authored
cap

For authorization

on the edge
Applies in
authored
cap

For async-processing

on the edge
Applies in
authored
cap

For odata

on the edge
Applies in
authored
cap

More on this66

Group by66 of 66 pieces
Piece, what it offersStill applies
Also explainingData modelling66
Securing a CAP Node.js App with SAP AMS on BTP Cloud Foundry
SAP Community, Jacky LiuThe reasoningA recipe
nothing recorded
Effective from June 30th 2026 - XSUAA Deprecation of GET Method for OAuth Token Retrieval
SAP Community, Yogananda
nothing recorded
From XSUAA to AMS: Architecting S4HANA CAP Extensions with Policy-Based Authorization
SAP Community, Avinash VaidyaThe reasoningA recipeRunnable code
nothing recorded
Deep Insert in SAP CAPM Using Composition and Fiori Elements
SAP Community, Talari Hari KumarThe reasoningA recipeRunnable code
nothing recorded
How to Restrict CRUD Operations in SAP CAPM Using @Capabilities, @readonly and Test APIs with .http
SAP Community, DeepaRaghoThe reasoningA recipeRunnable code
nothing recorded
Adding Immutable Blockchain Proofs to SAP With CAP - Cardano and OData V4
SAP Community, maxalexweberThe reasoningRunnable code
nothing recorded
Dynamic authorisation with user attributes in SAP CAP and AMS
SAP Community, pedro_iranzoThe reasoningA recipeRunnable code
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
Automate BTP Custom Domain certificates using Let's Encrypt
SAP Community, Ben
nothing recorded
Real-Time Architecture in SAP CAP: Mastering Asynchronous Jobs, Gateways with WebSockets
SAP Community, rgadirovThe reasoningA recipe
Core changed
SAP BTP XSUAA Security Configuration Comparison: Attribute-Based vs. Authority-Based Approaches
SAP Community, rajeshkputumbakaThe reasoningRunnable code
nothing recorded
UI for the BTP Application Vulnerability Report
SAP Community, Wouter Lemaire
nothing recorded
Building an Enterprise Application Using Fiori Elements and CAP - Part 1
SAP Community, Farooq, part 1 of 3The reasoning
nothing recorded
Securing CAP Applications with SAP Cloud Identity Services and AMS
SAP Community, gopalanandThe reasoningRunnable code
nothing recorded
Quick tip: event/task scheduling in CAP Node.js (in alpha state)
SAP Community, Nico Schoenteich
nothing recorded
Create CDS Views and expose through OData service in CAPM
SAP Community, VenkateshMundru
nothing recorded
Joule Studioがリリースされたので早速CAPアプリを自然言語で操作するカスタムスキルを構築してみた
SAP Community, takayuki_tanaka
nothing recorded
The Complete Guide to Calling Actions in UI5 with Custom Code
SAP Community, Marian ZeisThe reasoningRunnable code
nothing recorded
Securing SAP CAP Applications: XSUAA, Roles, and Authorization Best Practices
SAP Community, Soumya-Pirlamarla
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
How to Perform Initial Loads from S/4HANA to Advanced Event Mesh with Odata Poll
SAP Community, AlexPfeil
nothing recorded
CAP-JAVA implementation for Authorization Management Service (AMS)
SAP Community, Harvey_Yao
nothing recorded
Enabling Authorization Policies in SAP Cloud Identity Services - IAS with AMS/CAP
SAP Community, YoganandaThe reasoningA recipe
Core changed
CAP for nodejs安全的暴露接口练习
SAP Community, ArthurYang
nothing recorded
XSUAA Local Testing
SAP Community, ManasaManuThe reasoningA recipeRunnable code
Core changed
Calling bound / unbound CAP actions from Fiori elements application.
SAP Community, vidhyasagarmuleThe reasoning
nothing recorded
CAP, CDS, CDL, CSN and jq - finding associations
SAP Community, DJ AdamsThe reasoning
nothing recorded
XSUAA Based Authentication - Using Managed Approuter
SAP Community, rahul_rajagopalThe reasoningA recipe
Core changed
#CAP-TechBytes Input Validation
SAP Community, ThajunnizaThe reasoning
nothing recorded
#BTP #SAPCAP: Quirky Nuggets (N03-N04)
SAP Community, Ajit_K_PandaThe reasoningA recipeRunnable code
Core changed
[Part - 1] Enrich CAP based Services with Behaviors using Annotations
SAP Community, Ajit Kumar Panda
nothing recorded
SAP Job Scheduling Service + Cloud Application Programming Model application (CAP) + SAP Authorization and Trust Management Service (XSUAA)
SAP Community, former_member412792The reasoning
nothing recorded
SAP CAP function and action with Unstructured/Dynamic Type Input/Output
SAP Community, Ajit Kumar Panda
nothing recorded
Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment
SAP Community, TiaXu
nothing recorded
Qualtrics integration with domain based authorization in CAP project on HANA cloud
SAP Community, former_member69893The reasoningRunnable code
Core changed
An approach to secure multiple integrated SAP CAP java applications with a common XSUAA service instance
SAP Community, sreanik_dhanyakumar2The reasoning
nothing recorded
SAP Business Technology Platform: Authorization and Trust Management Service
SAP Community, SekhuteTK
nothing recorded
Messaging System for Transferring Error, Warning, and Information Messages from OData V4 Services to HTTP Client Applications
SAP Community, arley-triana-morinThe reasoningA recipeRunnable code
Core changed
How to get authenticated user information with CAP in three different ways – Using the XSUAA API
SAP Community, ale_biagiThe reasoning
nothing recorded
Why developers should care about credential-types for xsuaa?
SAP Community, former_member2839The reasoningA recipeRunnable code
Core changed
Extend SAP SuccessFactors on SAP BTP with CAP - Create the CAP Service
SAP Community, Alessandro Biagi
nothing recorded
SAP CAP Recent Enhancements the HANA Dev Should Know About
SAP Community, Thomas Jung
nothing recorded
Insights of Cloud SDK, CAP, XSUAA, SSH and other BTP topics from 2021
SAP Community, dr_vupThe reasoning
nothing recorded
SAP CAP Adapter to expose OData as custom REST Service
SAP Community, Former Member
nothing recorded
Create a Business Service using CDS, Node.js, SQLite and a OData service
SAP Community, raybantonThe reasoningA recipeRunnable code
Core changed
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
The End2End Journey: Advocates Service – CAP Service, OData V2/4 & REST in One single Project
SAP Community, KRiedelsheimerThe reasoningA recipeRunnable code
Core changed
Custom Functions in OData V4 – SAP Cloud Application Programming Model
SAP Community, Roopa_NThe reasoningA recipe
Core changed
SAP BTP SDK for iOS & CAP with OData V4 support
SAP Community, KRiedelsheimerThe reasoning
nothing recorded
First Java Cap Application
SAP Community, bruce_wang3
nothing recorded
Resolving date serialization issues when using an external OData v2 service with CAP
SAP Community, pieterjanssensThe reasoning
nothing recorded
How to add OData v2 adapter proxy to your CAP project
SAP Community, Wouter LemaireThe reasoningRunnable code
Core changed
Understanding security approaches in SAP CAP using XSUAA in node.js flavor and MTA.
SAP Community, balbinosoaresThe reasoningA recipeRunnable code
Core changed
Computed field example in CAP
SAP Community, DJ AdamsThe reasoningA recipeRunnable code
Core changed
SAP Cloud Application Programming Model: Deep Insert (5) Consume Remote Service with SAP Cloud SDK
SAP Community, CarlosRogganThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model: Deep Insert (4) Consume Remote Service
SAP Community, CarlosRogganThe 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
How SAP secures enterprise AI agents with identity propagation
SAP TechEd — session catalogue, Gunnar KoscheThe reasoning
nothing recorded
Consume Remote Services in a Full-Stack CAP Application
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Extend SAP SuccessFactors on SAP BTP with the SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
AI-assisted full stack development using model context protocol servers
SAP TechEd — session catalogueThe reasoning
nothing recorded

Details

Graph6 edges
POINTS OUT →
explainsData modellingcapability, core and community
explainsAuthorizationcapability, core and community
explainsAsync processingcapability, core and community
explainsODatacapability, 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); capability:authorization (cap); capability:async-processing (cap); capability:odata (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-cloud-application-programming
JSON
/content/sap-cap-cloud-application-programming.json
MCP
Connecting an agent