Skip to Content
Technical Articles

Hands-on Video Tutorials for Developing Multitenant Business Applications

Hi,

As a partner or application provider, you can develop and run multitenant business applications in SAP Cloud Platform and share them with multiple consumers (or tenants) simultaneously. Each consumer accesses the application through a dedicated URL that identifies their tenant. This allows you to separate data securely for each tenant whilst optimizing resources by sharing them across tenants. It also allows you to update applications for all tenants efficiently in a single step.

You can find out more in the following blogs:

But have you tried this approach “hands-on” and did you know it’s available to test using the free trial?

We’ve just published a new tutorial series covering Multitenant Business Applications in SAP Cloud Platform which you can access here: Multitenant Business Applications in SAP Cloud Platform Playlist

Tutorials cover all aspects of creating and managing multitenant business applications in SAP Cloud Platform including developing, deploying and registering multitenant business applications, consumer/tenant on-boarding and off-boarding, the RESTful API, the Command Line Interface (CLI), database persistence, as well as uninstallation.

So whether you’ve already got access and want to get going or you’re simply interested in seeing exactly how to get started these videos will be of use.

You can access the tutorials directly as follows:

The example applications used in the video tutorials are posted to GitHub: MTApp and bookshop-js.

Kudos and special thanks to Sandeep who helped us out enormously in getting up to speed on this topic!

If you’re new to SAP Cloud Platform itself then you might also want to check out our onboarding video tutorial series which should hopefully get you up to speed pretty quickly.

Good luck in creating your own multitenant business applications and let us know your feedback in the comments section below!

Philip

The SAP HANA Academy team publish hands-on tutorial videos on all sorts of SAP-related technologies to our YouTube channel. Don’t be fooled by the team name – we’re not only here to spread technical knowledge for HANA – although that’s a large part of what we do!

For the full list of blogs, see Blog Posts – by the SAP HANA Academy

12 Comments
You must be Logged on to comment or reply to a post.
    • Hi Philip MUGGLESTONE,

      Thanks for this post and thanks to Andrew Lunde for the wonderful blogpost. It was a great read.

      Could you please share if we can expect a new video on this very topic of schema separation showing the recommended way to implement multi-tenancy at database persistence level by SAP HANA Academy?

      Thanks,

      Ashish

       

       

      • Hi Ashish,

        Thanks for watching and reading and of course your question.

        Yes we do plan to publish videos to cover schema separation once SAP’s recommended approach  has been formally documented.

        Thanks,

        Philip

  • Thanks for sharing!

    Is there meanwhile a preliminary timeline for the records on how the separation of DB schema works or is it not anymore a recommended approach?

  • Hi Philip, your videos through the SAP Hana Academy are very helpful. We are trying to migrate our SAPUI5 applications from WebIDE to BAS.  We managed to get source codes from our GitHub into BAS, and able to build applications based on the mta.yaml file, then deploy to cloud foundry app launch site.  However, we have trouble to run the applications locally. Our project has multiple modules including a commonly shared library module.  All modules except the common one are runnable in Cloud Foundry Fiori launchpad. Each application may need to consume multiple SAP Hana on-promise system ODATA services and other external restful services.  Local run failed to consume those services.  When I setup a simple project with just one destination service and following your video to create a local xsuaa service, then it worked fine in local run.  Can you give us suggestions how to make the local run in BAS work for multiple modules and destination services?  Thanks a lot.

    • Hi Gordon,

      Thanks for the feedback and your question. Great timing because only yesterday we published a 3-part tutorial showing an optimized approach to “local” development of MTAs which may help in your scenario:

      Part 1

      Part 2

      Part 3

      The principle is to deploy the full MTA first to ensure all the modules & services are up and running.

      Then for each module that you’d like to run “locally” (the tutorials do this on a workstation using VS Code but BAS should work just fine too) use the cf default-env <APP> command to create a local default-env.json file containing config for all the dependencies (services) and intra-module “destinations”.

      The default-env.json is read when you run the module “locally”. That’s automatic with @sap/approuter and @sap/hdi-deploy. With @sap/xsenv you need to make sure you use xsenv.loadEnv().

      Thanks,

      Philip