
To prepare for deploying a multitenant SAP CAP application with an integrated SAP Fiori Elements app, follow these steps:
- Enable Multitenancy
- Enable External Services in a Multitenant Application
- Adjust the app router
1. Enable Multitenancy: Deploying a CAP application as a SaaS (Software as a Service) solution enables multitenant accessibility within a shared infrastructure. This model ensures data isolation, customization, security, and scalability for each tenant while optimizing resource utilization. It is widely used in cloud-based enterprise applications, enabling multiple customers or organizations to share the same application instance while maintaining separate data and configurations.
2. Enable External Services in a Multitenant Application: By default, multitenant applications don't expose destination or other services to subscribers. To enable subscribers to access external services via destination services, add the destination services to the SAP BTP SaaS Provisioning Service dependencies. You can reference Enabling Multitenancy | SAP Help Portal for more information on how to do this.
3. Adjust the app router: Upon enabling multitenancy, a standalone app router is enabled too.
The standalone app router is a Node.js-based, independently deployed component that centralizes routing, authentication, and tenant-specific configurations. It is designed for scalability and flexibility, making it ideal for complex multitenant applications.
Ensure that the app router settings are configured correctly.
This video shows you how to carry out each of these steps.