Once you have built a multitenant application in the Cloud Foundry environment using SAP BTP, you can then share the application with multiple consumers, such as business units in your organization.
To use multitenancy in the Cloud Foundry environment in SAP BTP, the application provider must create a subaccount for each consumer in the same global account where the multitenant application is deployed.
The multitenant application is deployed to one subaccount only, which is the hosting subaccount of the application provider. Consumers simply subscribe to the provider application from their subaccount through the SAP BTP cockpit, the SAP BTP command line interface, or dedicated REST APIs.
The application provider is responsible for:
-
Creating and managing the tenant subaccounts.
-
Setting up the necessary role access authorizations.
-
Subscribing each tenant to the application.
Typically, consumers of multitenant applications provided by a non-SAP application owner, such as an IT department of an organization, do not own or have access to their tenant subaccount.
Account setup for an application owner provisioning a multitenant application to its consumers.
Subaccount members are users who are registered via the SAP ID service. Subaccount members may have different privileges regarding the operations that are possible for a subaccount (for example, subaccount administration, deploy, start, and stop applications).
The subaccount-specific configuration allows application providers to adapt the consumer subaccounts to their specific needs.
Once you have developed, deployed, configured, and registered your multitenant application, your account administrator is ready to do the following.
-
Create a subaccount in your global account for each application consumer.
See Create a Subaccount.
-
Subscribe each consumer subaccount to the hosted application deployed in the provider account.
See:
- Subscribe to Multitenant Applications Using the Cockpit
- Working with Multitenant Applications Using the btp CLI
- Subscribe the tenant to an application using the REST API. For more information, see Using SAP SaaS Provisioning Service APIs to Manage Multitenant Applications
-
Set up application roles and assign users.
Once you've provided your multitenant application to consumers to subscribe to it, you can view and manage all the subscriptions by using a dedicated interface called SAP BTP subscription management dashboard.
For more information, see Using the Subscription Management Dashboard.