Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
pmugglestone
Product and Topic Expert
Product and Topic Expert

The SAP HANA Academy YouTube channel has been closed on December 31, 2023. Selected videos have been moved to microlearning.openSAP.com. See the former SAP HANA Academy playlists

All blogs related to SAP HANA Academy content will no longer be supported / updated. 

The closure of the SAP HANA Academy YouTube channel follows SAP's strategy to consolidate learning sites, unify learning, and simplify the user experience. The future learning platform will be the SAP Learning site (learning.sap.com). You’ll find there free online training, including ~190 SAP Learning Journeys. Here is a short introduction to the SAP Learning site. 

Thanks.

---

MAJOR UPDATE September 2020: The entire video tutorial series has been revised and brought up to date. It now includes an example of "schema separation" and several other topics that were not in the original series such as dependencies for reuse services, creating routes during subscription via the CF API, and using a custom domain. Click here to watch the new series.

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

 

 

 

23 Comments
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
UPDATE 26APR19: Added link to new tutorial video that covers application authorizations.

Authorizations
former_member389060
Participant
0 Kudos
Cool stuff!
pmugglestone
Product and Topic Expert
Product and Topic Expert
pmugglestone
Product and Topic Expert
Product and Topic Expert
andrew.lunde has just posted this blog documenting a custom approach to database persistence based on the schema separation method and it's a great read!
iashishsingh
Participant
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

 

 
pmugglestone
Product and Topic Expert
Product and Topic Expert
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
iashishsingh
Participant
0 Kudos
Thanks Philip. Any tentative timeline if you are aware?

Eagerly looking forward to the documentation and your videos, helpful as always!
0 Kudos
waiting for the schema separation persistence approach
former_member122654
Participant
0 Kudos

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?

pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
Best I can do is refer you to the published roadmaps for SAP Cloud Platform available here. Thanks. Philip
gordonhuang
Explorer
0 Kudos
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.
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
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
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
MAJOR UPDATE September 2020: The entire video tutorial series has been revised and brought up to date. It now includes an example of "schema separation" and several other topics that were not in the original series such as dependencies for reuse services, creating routes during subscription via the CF API, and using a custom domain. Click here to watch the new series.
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Ashish,

The entire video tutorial series has been revised and brought up to date. It now includes an example of "schema separation" and several other topics that were not in the original series such as dependencies for reuse services, creating routes during subscription via the CF API, and using a custom domain. Click here to watch the new series.

Thanks,

Philip
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Satish,

The entire video tutorial series has been revised and brought up to date. It now includes an example of "schema separation" and several other topics that were not in the original series such as dependencies for reuse services, creating routes during subscription via the CF API, and using a custom domain. Click here to watch the new series.

Thanks,

Philip
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Fouad,

The entire video tutorial series has been revised and brought up to date. It now includes an example of "schema separation" and several other topics that were not in the original series such as dependencies for reuse services, creating routes during subscription via the CF API, and using a custom domain. Click here to watch the new series.

Thanks,

Philip
dhdbob26
Explorer
0 Kudos
Thanks Philip . Any reference to do the same with java backend instead of node js ?
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Anil,

Thanks for asking but no explicit plans to cover Java at this time.

Thanks.
pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos
The SAP HANA Academy YouTube channel has been closed on December 31, 2023. Selected videos have been moved to microlearning.openSAP.com. See the former SAP HANA Academy playlists

All blogs related to SAP HANA Academy content will no longer be supported / updated. 

The closure of the SAP HANA Academy YouTube channel follows SAP's strategy to consolidate learning sites, unify learning, and simplify the user experience. The future learning platform will be the SAP Learning site (learning.sap.com). You’ll find there free online training, including ~190 SAP Learning Journeys. Here is a short introduction to the SAP Learning site. 

Thanks.
Sandip_Yewale
Discoverer
0 Kudos

Hi @pmugglestone 

It will be helpful if you can provide the link for Developing Muli-tenant application on cloud foundry playlist. I browsed through playlist but couldn't found it which have end-to-end scenario covered including custom domains. (Old blog/playlist - https://community.sap.com/t5/technology-blogs-by-sap/getting-started-with-multitenant-business-appli...

Thanks.

pmugglestone
Product and Topic Expert
Product and Topic Expert

Hi @Sandip_Yewale 

Please refer to my earlier comment.

If the playlists/videos you're looking for haven't been moved to microlearning.openSAP.com then they're no longer available.

Thanks.

nimiprave
Advisor
Advisor
0 Kudos

Hello, 

All the links to the videos in the youtube is removed. I am looking for the videos of creating MTA based applications with custom schema seperation. Please help in finding them. 

pmugglestone
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @nimiprave 

Please refer to my earlier comment.

If the playlists/videos you're looking for haven't been moved to microlearning.openSAP.com then they're no longer available.

Thanks.