BrowseSAP Cloud Application Programming Model

Everything in CAP

As a Platform and Generator and Sample and Doc source
Distributed through
Distributed through
  • Agent plugin marketplace0
  • Copied into the project0
  • JetBrains Marketplace0
  • Maven0
  • npm7
  • Open VSX0
  • Visual Studio Marketplace0
Generates
Run with
Form
Type PlatformType GeneratorType SampleType Doc sourceClear all
EntrySignals
Error handling1SAP and community
Seen working, example artifacts1
cap-java-snippets

Ten short CAP Java references, one document per topic

none
OData5SAP and community
Seen working, example artifacts5
bookshop-demo

Simple CDS bookshop model used across CAP explanations

No license
fiori-invoke-function

Calling an unbound CAP Java function from freestyle UI5

No license
fiori-table-maintenance

CAP and UI5 app for in-place table maintenance with SmartTable

No license
SAP-samples/odata-dd-server

CAP Node.js server behind the OData Deep Dive tutorials

none
ui5-call-action

UI5 apps calling CAP OData actions and functions from custom code

No license
OpenAPI1SAP and community
Seen working, example artifacts1
cap-openapi

CAP Java service calling role collection APIs via a generated client

No license
Seen working, example artifacts1
xtravels

CAP travel-booking app built on xflights master data

none
WebSocket2Community only
Seen working, example artifacts2
cap-websockets

WebSocket push from a CAP service

No license
custom-llm-client

Local chat client for SAP questions with a CAP LangGraph backend

No license
Seen working, example artifacts3
blog-cap-chart

Fiori overview page comparing aggregated and plain donut-chart cards

No license
cap-alp

Analytical List Page over a CAP OData V4 service

No license
cap-sflight-hierarchy

sflight example extended with hierarchy support

No license
Attachments2SAP and community
Seen working, example artifacts2
attachment-reuse-controls-sample

Fiori Elements page embedding upload controls on @cap-js/attachments

No license
cap-media

Media handling in core CDS with a UI5 UploadSet

No license
Data federation2SAP and community
Seen working, example artifacts2
cap-replication-demo

Replication between systems with CAP

No license
SAP-samples/recap2026-cap-level-data-federation

reCAP 2026 workshop on data federation between CAP applications

none
Data modelling5SAP and community
Seen working, example artifacts5
capire/bookshop

CAP's getting-started bookshop sample

none
SAP-samples/cap-cds-hands-on

Five-part workshop on CDS, from a first service to constraints

none
SAP-samples/cloud-cap-hana-swapi

CAP data model of many-to-many relationships on a Star Wars dataset

none
xflights

CAP reuse package serving Airlines, Airports and Flights data

none
xflights-java

CAP Java reuse package for Airlines, Airports and Flights data

none
Database connectors8SAP and community
Artifacts1
SAP HANA

SAP's relational database platform, on-premise and in HANA Cloud

Functional boundary
Seen working, example artifacts7
bookshop-demo

Simple CDS bookshop model used across CAP explanations

No license
btpvulnerabilityreport

CAP and Fiori app showing BTP Application Vulnerability Report data

No license
cap-cross-container

CAP services reading each other's HANA tables across HDI containers

No license
capire/bookstore

Composite CAP app from separately deployed services

none
pg-beershop

CAP beershop on PostgreSQL, predating an official adapter

none
sap-cap-mongodb

CAP service reading and writing MongoDB from custom handlers

No license
SAP-samples/cap-hana-exercises-codejam

CodeJam building a full-stack CAP app on SAP HANA Cloud

none
Seen working, example artifacts1
spreadsheetimporter/sample-full-btp

CAP Risks and Mitigations project with a Spreadsheet Upload button

none
Seen working, example artifacts1
cap-cross-container

CAP services reading each other's HANA tables across HDI containers

No license
Destinations10SAP and community
Seen working, example artifacts10
az-private-linky-cap

CAP project reaching S/4 via SAP BTP Private Link Service for Azure

No license
cap-ams-a2a

App-to-app setups between CAP Java and CAP Node.js under AMS and IAS

No license
cap-external-northwind

CAP service serving Northwind's external OData Products as its own

none
cap-oauth-destination

OAuth2UserTokenExchange destination declared in mta.yaml

No license
cap-openai

CAP service actions calling OpenAI chat completions two ways

No license
cap-openapi

CAP Java service calling role collection APIs via a generated client

No license
cap-principal-propagation

On-premise ABAP OData V2 service read from CAP over Connectivity

No license
cap-rfc

CAP Node.js action calling BAPI_EPM_BP_CREATE over RFC

No license
cap-uiv2.10.3

MTA deploying CAP, HDI container and a Fiori elements app

none
SAP-samples/cap-service-integration-codejam

CodeJam on consuming external services from a CAP project

none
Event Mesh3SAP and community
Seen working, example artifacts3
cap-bp-rag

Event-driven RAG app with CAP, Cloud Integration and SAP HANA Cloud

No license
SAP-samples/btp-event-driven-multi-tenant-architecture

CAP sample of SAP Event Mesh events feeding a multi-tenant SaaS app

none
SAP-samples/event-hub-cap-samples

CAP consumer of SAP Cloud Application Event Hub events

none
Notifications1SAP and community
Seen working, example artifacts1
cap-js-notifications

Order service sending notifications via @cap-js/notifications

No license
RFC connectivity2SAP and community
Seen working, example artifacts2
cap-rfc

Calling ABAP function modules over RFC from a CAP service

No license
cap-rfc

CAP Node.js action calling BAPI_EPM_BP_CREATE over RFC

No license
Seen working, example artifacts3
cap-cross-container

CAP services reading each other's HANA tables across HDI containers

No license
capire/bookstore

Composite CAP app from separately deployed services

none
xtravels

CAP travel-booking app built on xflights master data

none
Service integration7SAP and community
Seen working, example artifacts7
auth-samples

CAP services and a UI for trying role restrictions with mock users

No license
cap-external-northwind

CAP service serving Northwind's external OData Products as its own

none
cap-java-resilience

CAP Java service consuming a Business Partner API mocked in Node.js

No license
cap-openai

CAP service actions calling OpenAI chat completions two ways

No license
cap-principal-propagation

On-premise ABAP OData V2 service read from CAP over Connectivity

No license
xflights

CAP reuse package serving Airlines, Airports and Flights data

none
xtravels

CAP travel-booking app built on xflights master data

none
Agent guidance1SAP and community
Seen working, example artifacts1
SAP-samples/cap-agentic-engineered

Financial Risk Analyzer built by an agent grounded in SAP MCP servers

none
Agent tooling4SAP and community
Seen working, example artifacts4
cap-agent-ui5-webui-sample

Worked example of the cap-agent-ui5-webui plugin

No license
custom-llm-client

Local chat client for SAP questions with a CAP LangGraph backend

No license
SAP-samples/btp-joule-a2a-pro-code-agent

A2A reference letting Joule delegate to a CAP pro-code agent

none
xtravels

CAP travel-booking app built on xflights master data

none
Seen working, example artifacts1
SAP BTP AI Best Practice Demo - Content Filtering - CAP

CAP samples comparing SAP AI Core responses with content filtering

Functional boundary
Data masking1SAP and community
Seen working, example artifacts1
SAP BTP AI Best Practice Demo - Data Masking - CAP

CAP samples generating email through SAP AI Core with anonymization

Functional boundary
Seen working, example artifacts1
SAP-samples/btp-cap-dox-invoice-validation

CAP app validating invoices with Document Information Extraction

none
LLM integration9SAP and community
Seen working, example artifacts9
cap-agent-ui5-webui-sample

Worked example of the cap-agent-ui5-webui plugin

No license
cap-openai

CAP service actions calling OpenAI chat completions two ways

No license
cap-ui5-gpt-chat

Chat app on CAP and SAPUI5 against the OpenAI API

Functional boundary
custom-llm-client

Local chat client for SAP questions with a CAP LangGraph backend

No license
Sample CAP Application with SAP Cloud SDK for AI

CAP samples calling SAP AI Core through the SAP Cloud SDK for AI

Functional boundary
SAP-samples/btp-cap-genai-rag

CAP reference app for GenAI email support with RAG on HANA Cloud

none
SAP-samples/cap-agentic-engineered

Financial Risk Analyzer built by an agent grounded in SAP MCP servers

none
SAP-samples/codejam-cap-llm

CodeJam on a CAP job posting service using SAP AI Core over OData

none
ui5-ai-features-demo

Product-review screen consuming ui5-cap-ai-features on CAP

No license
Prompt management2SAP and community
Seen working, example artifacts2
SAP BTP AI Best Practice Demo - Prompt Registry - CAP

CAP samples using SAP AI Core's Prompt Registry for templates

Functional boundary
SAP BTP AI Best Practice Demo - Prompt Templating - CAP

CAP samples filling a prompt template sent to SAP AI Core

Functional boundary
RAG on CDS7SAP and community
Seen working, example artifacts7
cap-bp-rag

Event-driven RAG app with CAP, Cloud Integration and SAP HANA Cloud

No license
cap-embedding-function

CAP service computing embeddings with HANA Cloud vector_embedding

none
cap-vector-hc

VECTOR_EMBEDDING in a CDS entity for FAQ similarity search

No license
SAP BTP AI Best Practice Demo - Vector Embedding (RAG) - CAP

CAP samples embedding CSV rows into the SAP HANA Cloud vector store

Functional boundary
SAP BTP AI Best Practice Demo - Vector Query (RAG) - CAP

CAP samples running RAG similarity queries over SAP HANA Cloud vectors

Functional boundary
SAP-samples/btp-cap-genai-rag

CAP reference app for GenAI email support with RAG on HANA Cloud

none
SAP-samples/btp-cap-genai-semantic-search

CAP sample for semantic search with Generative AI Hub and HANA Cloud

none
Audit logging2SAP only
Seen working, example artifacts2
SAP-samples/btp-secure-development

OWASP Top 10 workshop exploiting and fixing flaws in a CAP Node.js app

none
teched2025-XP260

TechEd 2025 workshop on OWASP Top 10 risks in CAP applications

none
Authentication3SAP and community
Seen working, example artifacts3
auth-samples

CAP services and a UI for trying role restrictions with mock users

No license
cap-ams-a2a

App-to-app setups between CAP Java and CAP Node.js under AMS and IAS

No license
cap-azure-ad-b2c

Authenticating a CAP service against Azure AD B2C

none
Authorization8SAP and community
Seen working, example artifacts8
auth-samples

CAP services and a UI for trying role restrictions with mock users

No license
bookshop-ams

CAP bookshop wired to the Authorization Management Service

No license
btp-user-management-microservice

CAP microservice on XSUAA managing users and authorizations

none
cap-ams-a2a

App-to-app setups between CAP Java and CAP Node.js under AMS and IAS

No license
cap-java-auth-check

CAP Java authorization checks tried case by case

No license
SAP-samples/btp-secure-development

OWASP Top 10 workshop exploiting and fixing flaws in a CAP Node.js app

none
SAP-samples/e-mobility-driver-app

CAP-based PWA for EV drivers proxying SAP E-Mobility OData APIs

none
teched2025-XP260

TechEd 2025 workshop on OWASP Top 10 risks in CAP applications

none
Input validation1SAP and community
Seen working, example artifacts1
assert-target

Which CAP paths trigger @assert.target and which do not

No license
Deployment10SAP and community
Artifacts2
@cap-js/cap-operator-pluginv0.20.0

Generates Helm charts for the CAP Operator on Kubernetes

none
@rizing/cds-customer-stepbystep-toolv1.2.0

Tool completing a CAP project's deployment configuration

Functional boundary
Seen working, example artifacts8
blog-bookshop

CAP bookshop with Fiori elements UI deployed whole to Cloud Foundry

No license
cap-github-action

CAP project built and deployed to Cloud Foundry by GitHub Actions

none
cap-microservices-workshop

reCAP 2025 workshop on cutting a CAP app into microservices

none
cap-redis

Approuter session held in a bound Redis cache instance

No license+1
cap-uiv2.10.3

MTA deploying CAP, HDI container and a Fiori elements app

none
SAP-samples/cloud-foundry-runtime-learning-journey

Companion repo deploying a CAP app to Cloud Foundry two ways

none
shared-db

CAP sample sharing one domain model and database across apps

Functional boundary
shared-db-java

CAP Java sample sharing one domain model across several apps

Functional boundary
Logging1SAP only
Seen working, example artifacts1
cap-java-snippets

Ten short CAP Java references, one document per topic

none
Multitenancy3SAP and community
Seen working, example artifacts3
mtxs-reviews

Multitenant CAP application using cds-mtxs

No license
SAP-samples/btp-event-driven-multi-tenant-architecture

CAP sample of SAP Event Mesh events feeding a multi-tenant SaaS app

none
SAP-samples/partner-reference-application

Poetry Slam Manager, a multi-tenant SaaS reference app on SAP BTP

none
Seen working, example artifacts3
xsa-cap-migration

Guide migrating the hana-shine-xsa demo from XS Advanced to CAP

Functional boundary
xsa-cap-migration-using-basextn

Guide to migrating XS Advanced database artefacts to CAP

none
xsc-cap-migration

Guide to migrating XS Classic database artefacts to CAP

Functional boundary
Tenant extensibility2SAP and community
Seen working, example artifacts2
mtxs-reviews

Multitenant CAP application using cds-mtxs

No license
SAP-samples/partner-reference-application-extension

Customer-specific catering extension to the Poetry Slam Manager

none
Seen working, example artifacts3
cap-github-action

CAP project built and deployed to Cloud Foundry by GitHub Actions

none
cap-java-child

Consumer side of a CAP Java parent pom promotion model with Renovate

No license
cap-java-parent-pom-sample

Maven parent pom pinning cds-services-bom and Spring Boot for CAP Java

No license
Generators6SAP and community
Artifacts5
@cap-handler/generatorv0.2.0

Interactive generator for CAP event handler files

none
@khalidmh/capxv0.1.0

Interactive project installer for CAP Node.js

none
@sap/generator-cap-projectv2.1.4

CAP project generator behind SAP Business Application Studio's wizard

none
@sap/generator-cdsv3.0.2

CDS project generator, deprecated in favour of @sap/cds-dk

none
com.sap.cds:cds-services-archetype

Maven archetype generating a new CAP Java project

none
Seen working, example artifacts1
repository-template

Repository template with LICENSE, REUSE and compliance files

none
Local development8SAP and community
Seen working, example artifacts8
approuterv0.0.1-security

Showcase for dev-approuter in front of two UI5 apps

none
cap-java-resilience

CAP Java service consuming a Business Partner API mocked in Node.js

No license
cap-java-snippets

Ten short CAP Java references, one document per topic

none
cap-nodejs-dev-env

Development container definition for CAP Node.js

none
forsap-s4hana-private-simulatorv0.1.0

CAP project simulating S/4HANA Private Edition OData APIs locally

none
SAP-samples/cap-local-development-workshop

reCAP 2025 workshop on CAP's local-development toolset

none
SAP-samples/cap-tour-hands-on

Eight-exercise tour of CAP features, from mocking to plugins

none
ui5con24-dev-env

pnpm workspace running CAP, a local launchpad and two UI5 apps

No license
Seen working, example artifacts9
@capire/data-viewer

Sample CAP plugin adding a generic data browser

Functional boundary
commonv0.2.5

Sample CAP plugin extending @sap/cds/common with reuse data

none
orders

Sample CAP reuse service for orders, with a Fiori UI

Functional boundary
orders-java

Sample CAP Java reuse service for orders, with a Fiori UI

Functional boundary
reviewsv0.1.0

Sample CAP reuse service for reviews, with a Fiori UI

Functional boundary
reviews-java

Sample CAP Java reuse service for reviews, with a Vue UI

Functional boundary
SAP-samples/cap-tour-hands-on

Eight-exercise tour of CAP features, from mocking to plugins

none
shared-db

CAP sample sharing one domain model and database across apps

Functional boundary
shared-db-java

CAP Java sample sharing one domain model across several apps

Functional boundary
Seed data2SAP and community
cap-js-mockdatav0.0.3

CSV seed data generated from @Mockdata annotations with Faker

Quiet+1
cap-mock-generatorv1.0.11

Fills db/data with relationally consistent CSV from a .cds schema

none
Testing2SAP and community
Seen working, example artifacts2
cap-java-snippets

Ten short CAP Java references, one document per topic

none
SAP-samples/cap-bookshop-wdi5

CAP bookshop with wdi5 system tests for a CI/CD tutorial

none
TypeScript patterns1SAP and community
Seen working, example artifacts1
cap-ui5-gpt-chat

Chat app on CAP and SAPUI5 against the OpenAI API

Functional boundary