SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Subscribe Your First Consumer to the SaaS Application

Subscribe the first consumer to the SaaS application and onboard initial administrator

Overview

🎓 beginner 10 min. SAP BTP ABAP EnvironmentBeginnerABAP DevelopmentABAP Extensibility

You will learn

  • โœ”How to subscribe to a SaaS solution from a consumer subaccount
Sumana Vasuki S Sumana Vasuki July 10, 2023
Created by March 9, 2023
Contributors

Prerequisites

Prerequisites

  • A SaaS application is deployed and available for subscription as described in previous groups of this mission

Steps

Step 1 Create a new route for your consumer
โ€”

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.

  1. 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

    Tenant host pattern
    Tenant host pattern

  2. Now navigate to the “Routes” section in the space “Provide”

    Application Routes
    Application Routes

  3. 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.

    Consumer subdomain
    Consumer subdomain
    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.
    New Route
    New Route

  4. Save the newly created route

Step 2 Map the newly created route to the application router
+
Step 3 Subscribe to the SaaS application from consumer subaccount
+
Step 4 Assign Solution Admin role to user
+
Step 5 Onboard initial administrator
+
Step 6 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Create a new route for your consumer 2. Map the newly created route to the application router 3. Subscribe to the SaaS application from consumer subaccount 4. Assign Solution Admin role to user 5. Onboard initial administrator 6. Test yourself

Learn more →