Subject: SAP Business Application Studio (BAS)
SAP Fiori has become the cornerstone of SAP’s modern user experience strategy, providing intuitive, role-based, and responsive applications for users across devices. After developing a Fiori app—commonly built using SAPUI5—in SAP Business Application Studio (BAS), the next critical step is deploying it to the SAP Business Technology Platform (BTP) for consumption by end-users.
This article provides a comprehensive guide to deploying Fiori applications to SAP BTP, focusing on best practices and leveraging BAS capabilities.
SAP BTP is SAP’s cloud platform that hosts and manages applications, services, and runtime environments. When deploying Fiori applications, you typically target the Cloud Foundry environment within SAP BTP, which supports containerized, cloud-native applications.
Deploying a Fiori app to SAP BTP enables:
Before deployment, ensure you have:
npm install or use the BAS build tasks to resolve dependencies.xs-app.json (if needed) are properly configured for routing and destinations.mta.yaml file if you are deploying a multi-target application.npm run build command or BAS build tools.Open the SAP Cloud Platform Tools extension in BAS.
Log in to your Cloud Foundry space using BAS terminal or integrated login UI.
Deploy your application using the Deploy to SAP Cloud Platform wizard or via CLI:
cf push <your-app-name> -f manifest.yml
Alternatively, deploy via the SAP UI5 Application Repository using the CF HTML5 Application Repository Client plugin.
| Practice | Benefit |
|---|---|
| Use Multi-Target Applications (MTA) for complex deployments | Simplifies managing backend and frontend artifacts |
| Automate deployment with CI/CD pipelines | Enables repeatable, error-free releases |
| Leverage SAP BTP Destination Service | Securely connects to backend systems without hardcoding URLs |
| Use SAP XSUAA for authentication and authorization | Enforces security policies consistently |
| Monitor app performance with SAP BTP tools | Proactively detect and resolve issues |
Deploying SAP Fiori applications to SAP BTP is a streamlined process when leveraging SAP Business Application Studio’s integrated tools and SAP BTP’s cloud infrastructure. By following best practices and utilizing SAP’s cloud services, organizations can deliver secure, scalable, and user-friendly applications that align with modern enterprise needs.
This deployment approach not only ensures a smooth transition from development to production but also enables continuous innovation through SAP’s robust cloud ecosystem.