Subscribe Your First Consumer to the SaaS Application
- How to subscribe to a SaaS solution from a consumer subaccount
Prerequisites
- A SaaS application is deployed and available for subscription as described in previous groups of this mission
- Step 1
Before the consumer can access the SaaS application, they need a dedicated URL to access this. To create this, we create a new route and bind it to the approuter as an administrator for the 05 provide subaccount.
For more information refer to the note in the Help Portal.
-
Navigate to the “Provide” space where the application is deployed. Open the application deployed in previous tutorials and navigate to the “User-Provided Variables” section. Notice the TENANT_HOST_PATTERN. This provides a wildcard that has to match all routes of the application

-
Now navigate to the “Routes” section in the space “Provide”

-
Create a new route by choosing the domain from the dropdown that matches the TENANT_HOST_PATTERN.
The “Host Name” is derived out of the subdomain of the consumer subaccount and the TENANT_HOST_PATTERN we noticed above.
The first part of this name is the subdomain of the consumer subaccount. This can be found in the overview section of the consumer subaccount.
The second part is the route prefix in the TENANT_HOST_PATTERN. This is the part between the wildcard (.*) and the domain (selected above). The path can be left empty.
-
Save the newly created route
-
- Step 2
Next, we need to create a linkage between this new route for the consumer and the application router we created in previous tutorials.
To do this, under “Routes” in the space “Provide”:
-
Click the “map route” button.
-
Select the application deployed in previous tutorials.
-
Save.

-
- Step 3
- Navigate to the consumer subaccount and go to the “Instances and Subscriptions” tab.
- Click “Create” and choose the SaaS application deployed in previous tutorials.

- Wait for the status to change to “Subscribed”. The initial subscription initiates the creation of an ABAP system and the installation of the add-on product in this system. Therefore, this step may take a few hours.

- Step 4
To enable the onboarding of the initial administrator follow the below steps:
- Navigate to the consumer subaccount.
- Go to the “Role Collections” section.
- Add your user to the role collection containing the solution admin role for the application deployed by you in previous tutorials.

- Step 5
To access your provider’s SaaS application for the first time, you, as consumer, need to go through an onboarding process.
-
Open the URL your provider has sent you to get access to their SaaS application. This is the URL added as a route for the consumer subaccount in step 1 of this tutorial.
-
On the initial administrator onboarding screen, you can see your email address, subdomain and subaccount id. Click
Onboard Userto start the onboarding process.
Click OK in the confirmation dialog

This might take a few minutes. Once the process is finished, you will be redirected to the Fiori Launchpad of the new ABAP tenant/system. This onboarding process only needs to be done once per consumer.
From now on, the consumer can access the SaaS application via the consumer-specific URL.
-
- Step 6
Which of the following is true for a consumer subscribing to a SaaS application on SAP BTP, ABAP Environment? Assume tenant mode is set to "multi" and consumer_tenant_limit has the default value