Deploying an Application to a Provider Subaccount

Objective

After completing this lesson, you will be able to build and deploy an application to a provider subaccount.

How to Configure the Provider Subaccount

In the SAP Cloud Application Programming Model (CAP), the Provider Subaccount functions as the central hub for deploying and managing multitenant applications. It hosts shared application services while delegating tenant-specific data and configurations to Subscriber subaccounts. This ensures scalability, security, and efficient management of deployments and updates across tenants.

First, you must configure the Provider Subaccount. To configure this, following these steps:

  1. Create an SAP BTP subaccount for the Provider.
  2. Add Entitlement.
  3. Enable SAP BTP, Cloud Foundry environment and create a space.
  4. Create an SAP HANA Cloud database.

1. Create an SAP BTP subaccount for the Provider

The steps for this setup are the same as in the previous lesson. Refer to the Building an SAP Fiori App using the Basic Template > Configuring the Deployment Subaccount > Step 1: Creating a Subaccount for Isolated Deployment Environment.

reate a subaccount for the Provider from SAP BTP cockpit.

2. Add Entitlement

Add the following entitlements to the subaccount.

ServicePlan

Unit

SAP BTP, Cloud Foundry runtime

MEMORY

3

SAP HANA Cloud

hana, tools (Application)

1

SAP HANA Schemas & HDI Containers

hdi-shared

2+ (1 for Provider and 1 per each subscriber subaccount)

Authorization and Trust Management service

application

1

The steps for this setup are the same as in the previous lesson. Refer to the Building an SAP Fiori App using the Basic Template > Configuring the Deployment Subaccount > Step 6: Adding the SAP Authorization and Trust Management Service Application Plan to the Subaccount.

Add the required entitlements in the Entitlements menu within the SAP BTP Provider Subaccount.

3. Enable SAP BTP, Cloud Foundry environment and create a space

The steps for this setup are the same as in the previous lesson. Refer to the Building an SAP Fiori App using the Basic Template > Configuring the Deployment Subaccount > Step 2: Enabling the SAP BTP, Cloud Foundry Environment.

Note

The org name and space name of the SAP BTP, Cloud Foundry environment are used for the address of the subscriber specific address of the application. 

https://<subscriber subdomain>-<provider cf org>-<provider cf space>-<app name>.<domain>

For example, https://subscriber1-acme-app-distperfmgmt.cfapps.us10-001.hana.ondemand.com

The SAP BTP, Cloud Foundry environment has been enabled, and the space has been created.

4. Create an SAP HANA Cloud database

The following video demonstrates how to create an SAP HANA Cloud database.

How to Deploy the Application to the Provider Subaccount

After you have configured the Provider Subaccount, follow these steps:

  1. Deploy the application from Dev to the Provider Subaccount.
  2. Adjust the destination instance of the application.

Refer to this video to learn how to perform these steps.

Log in to track your progress & complete quizzes