Reference architectureReference architecturetypeA published architecture with a diagram and named components. The topology outlasts the product names in it.See every one →SAP Architecture Center

Multitenant SaaS Application using CAP

SAP's reference architecture for a multitenant SaaS application on BTP built with CAP: one deployment serving many tenants with logically separated data, the subscription and onboarding flow, and the BTP services the design leans on. Written for partners and line-of-business teams building on BTP, and it is SAP's own side of the shape multitenancy takes on BTP.

Where it sits

Explains
MultitenancyCAPBTPMultitenancycapabilityServing many tenants from one deployment — onboarding, tenant-isolated data, per-tenant schema deployment and the operational tooling around it. It is decided once, before anything is built, and narrows the artifacts in almost every capability downstream: most sharply in [caching](capability:caching) and anything else holding state in process.Tenant extensibilityCAPTenant extensibilitycapabilityLetting a customer extend the model of a running SaaS application with extra fields and entities per tenant, without forking the application, as distinct from extending the application's code for every customer at once.
Source
reachable

Who is behind it

SAP Architecture CenterSAP Architecture CenterOrganisationWrote this
In the atlas: maintains 1, wrote 26
author

Architecture13

parts read from 1 readme file,

Parts, as the source names them

  1. SaaS consumer useran actoruses the SaaS application through its tenant's URLRA0007 5-mt-architecture/readme.md in SAP/architecture-center Users can access the SaaS application via the unique URL, which redirects them for authentication to cloud identity services.
  2. API clientan actorcalls the SaaS API service with a service binding's credentialsRA0007 5-mt-architecture/readme.md in SAP/architecture-center Then, a new Service Binding is created which will provide necessary credentials to call CAP based SaaS API service that can be used by API clients.
  3. @sap/cdsapplication and domain logicProvider subaccountRA0007 5-mt-architecture/readme.md in SAP/architecture-center In the provided Reference Architecture, CAP serves as the central hub for application and domain logic, providing multitenancy, interacting with SAP Solutions (Cloud or On-Premise), 3rd party applications, and managing data sources such as SAP HANA Cloud.RA0007 5-mt-architecture/readme.md in SAP/architecture-center The SaaS provider deploys the multitenant application to the provider subaccount.
  4. @sap/cds-mtxsmultitenancy, feature toggles and extensibilitywithin @sap/cdsRA0007 5-mt-architecture/readme.md in SAP/architecture-center It provides a set of services that implement multitenancy, features toggles, and extensibility (‘MTX’ stands for these three features).RA0007 5-mt-architecture/readme.md in SAP/architecture-center CAP includes these MTX services, which provide out-of-the-box handlers for subscribe/unsubscribe events, for example to manage SAP HANA database containers.
  5. SAP Software-as-a-Service Provisioning servicesubscription lifecycleRA0007 5-mt-architecture/readme.md in SAP/architecture-center SAP Software-as-a-Service Provisioning service helps manage and automate the subscription lifecycle of multitenant applications on SAP BTP.
  6. SAP Service ManagerHDI container per tenantRA0007 5-mt-architecture/readme.md in SAP/architecture-center During this process, the CAP framework creates a HANA HDI container instance via the SAP Service Manager, which can be extended with creation of specific services or components of the SaaS application, such as identity provider instance integration or SaaS Service api broker registration.
  7. SAP HANA Cloudtenant dataRA0007 5-mt-architecture/readme.md in SAP/architecture-center In the SaaS application, data is loaded from the CAP based SaaS business application service, which retrieves data from the HANA HDI container instance created during subscription, as well as from SAP systems or third-party systems using destinations configured in the consumer subaccount via the Destination Service.
  8. SAP Destination serviceconnections to SAP and third-party systemsConsumer subaccountRA0007 5-mt-architecture/readme.md in SAP/architecture-center As part of the application setup, destinations can be configured in the consumer subaccount to connect to SAP systems or third-party systems, if needed.
  9. Cloud Identity ServicesauthenticationRA0007 5-mt-architecture/readme.md in SAP/architecture-center Users can access the SaaS application via the unique URL, which redirects them for authentication to cloud identity services.
  10. SAP Custom Domain Servicecustom domainRA0007 5-mt-architecture/readme.md in SAP/architecture-center The SAP Custom Domain service allows you to configure a custom domain for your application, enabling you to publicly expose it under your own domain name instead of the default subdomain.
  11. API ManagementAPI policies per planRA0007 5-mt-architecture/readme.md in SAP/architecture-center Depending on the plan, different API policies, such as rate limiting, maximum body content, and quota policies, can be applied using the [SAP API Management capability of the SAP Integration Suite](https://help.sap.com/docs/integration-suite/sap-integration-suite/api-management-capability) on SAP BTP.
  12. SAP BTP, Cloud Foundry RuntimeruntimeRA0007 5-mt-architecture/readme.md in SAP/architecture-center This demonstrates the development and deployment of a multitenant application on SAP BTP with integration to multiple BTP services and business systems like SAP S/4HANA leveraging both Cloud Foundry and Kyma runtimes.
  13. SAP BTP, Kyma runtimeruntimeRA0007 5-mt-architecture/readme.md in SAP/architecture-center This demonstrates the development and deployment of a multitenant application on SAP BTP with integration to multiple BTP services and business systems like SAP S/4HANA leveraging both Cloud Foundry and Kyma runtimes.

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Source updated
crawled

For multitenancy

on the edge
Applies in
authored
btpcap

More on this49

Group by49 of 49 pieces
Piece, what it offersStill applies
Also explainingMultitenancy24
Custom Business Logic Extensibility in CAP (CDS-Oyster)
YouTube — SAP Developers playlists, Nick Josipovic, DJ Adams
nothing recorded
From Concept to action: Hands-On with the CAP Operator and the Partner Reference Application
SAP Community, ChristianWeissThe reasoningA recipeRunnable code
nothing recorded
Building a SaaS Multitenant Application Using SAP CAP Framework — Without a Database
SAP Community, DebashishDasThe reasoningA recipeRunnable code
nothing recorded
Designing a Multi‑Tenant Solutions on SAP BTP – Architecture and Prototype Walkthrough
SAP Community, Avinash_VaidyaThe reasoning
nothing recorded
Part 2: Runtime Architecture & Cost efficiency gains
SAP Community, ChristianWeiss, part 2 of 3The reasoning
nothing recorded
Kyma Evolution: Transforming SAP Kyma into a tailor-made SaaS Platform for sbs extensions
SAP Community, ChristianWeiss, part 1 of 3The reasoning
nothing recorded
Building SaaS Products on SAP BTP
SAP Community, michal_majerThe reasoning
nothing recorded
CAP multitenancy with Work Zone
SAP Community, Wouter Lemaire
nothing recorded
Developing CAP java/node.js mixed mono Multitenant SaaS Applications with Shared Database
SAP Community, xuelongA recipeRunnable code
New majors
Event-Driven Multi-Tenant Architecture on SAP BTP with CAP and SAP Event Mesh
SAP Community, ale_biagiThe reasoning
nothing recorded
Simplifying SaaS Self-Onboarding Automation using Terraform in Kyma and Cloud Foundry
SAP Community, martinfrickThe reasoning
nothing recorded
Using the Terraform Provider for SAP BTP to simplify Subscriber Tenant Onboarding
SAP Community, martinfrickThe reasoning
nothing recorded
Multitenant SaaS applications on SAP BTP using CAP - The Reloaded Version!
SAP Community, martinfrickThe reasoningRunnable code
nothing recorded
SaaS Self-Onboarding and One-Domain Concept in SAP BTP, Kyma Runtime using CAP
SAP Community, martinfrickThe reasoningRunnable code
Core changed
Multitenant SaaS applications on SAP BTP using CAP? SAP BTP, Kyma Runtime!
SAP Community, martinfrickThe reasoning
nothing recorded
Multitenant SaaS apps on SAP BTP using CAP? Tried-and-True! – The Expert Features
SAP Community, martinfrickThe reasoning
nothing recorded
Multitenant SaaS apps on SAP BTP using CAP? Tried-and-True! – The Advanced Version
SAP Community, Alper DedeogluThe reasoning
nothing recorded
Multitenant SaaS apps on SAP BTP using CAP? Tried-and-True! – The Basic Version
SAP Community, Alper DedeogluThe reasoning
nothing recorded
Multitenant SaaS applications on SAP BTP using CAP? Tried-and-True!
SAP Community, martinfrickThe reasoning
nothing recorded
Testing your CAP HANA Artifacts with jest – including multitenancy, hdbprocedure and hdbview
SAP Community, TristanThe reasoningA recipeRunnable code
Core changed
Multitenant MTA: providing a Cloud Portal Service with FIORI apps to subscriber accounts
SAP Community, former_member1760The reasoningRunnable code
nothing recorded
Multitenant Business Applications with CAP | Hands-on Video Tutorials
SAP Community, dvankempenThe reasoning
nothing recorded
Multitenant application using Cloud Application Programming Model (CAP)
SAP Community, former_member733211The reasoningA recipeRunnable code
Core changed
Getting your head into Cloud Application Programming model multitenancy
SAP Community, andrew_lundeThe reasoningRunnable code
Core changed
Agentic AI & AI Agents
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
HANA AI Toolkit — Local MCP Server
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
SAP Document AI
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Establish a central entry point with SAP Build Work Zone
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
AI-native North Star architecture — Platform Layer
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Transforming Enterprise Data Strategy with SAP Business Data Cloud
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Explore your Hyperscaler data with SAP Business Data Cloud
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Integrating and Extending Joule
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Designing Event-Driven Applications
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Generative AI on SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Transitioning Architectures from SAP NetWeaver
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
DevOps with SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Integrate and Extend with SAP Build Process Automation
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Secure Service Consumption Across Hyperscalers
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
SAP IAM integration with SAP Cloud Identity Services
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Edge Integration Cell on Hyperscalers
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Medallion Reference Architecture for Big Data Processing in SAP HANA Cloud
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
SAP HANA Cloud as an Esri Geodatabase
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Architecting Multi-Region HA/DR resiliency patterns
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Establish a central inbox with SAP Task Center
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Federated Machine Learning with SAP Datasphere
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
API Managed Integration
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Application to Application Integration
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Business to Business Integration
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Connect Business Processes with SAP Master Data Integration
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded

Details

Graph5 edges
← POINTS HERE
POINTS OUT →
explainsMultitenancycapability, core and community
explainsTenant extensibilitycapability, core and community
published onSAP Architecture Centerpublishing source
Source
Type
reference-architecture
Host
architecture.learning.sap.com
Signals as of
First seen
History3
  • explains → applies_to on capability:multitenancy (cap, btp)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).
  • parts, areas, edges → thirteen parts with two actors, MTXS within CAP, two subaccounts, seven edges the architecture page statesfrom eleven parts, no areas, no edgesThe record states what its source draws around and between the parts (docs/concepts/reference-architectures.md §9.2): the provider and consumer subaccounts, the users and API clients, and the flow of subscription, data and authentication as the architecture page states it. On the checker's reading of the first draft: only the application is placed in the provider subaccount, since the page places nothing else there; the registration with the SaaS Provisioning service is the stated direction, not events the service raises; and API Management's policies are stated with no path, so no arrow.
  • Entered the atlasDiscovered via SAP Architecture Center.
For your agent
Ref
content:ac-multitenant-saas-application-using-cap
JSON
/content/ac-multitenant-saas-application-using-cap.json
MCP
Connecting an agent