Module 25: Deployment & Transport Management
Deployment and transport management define how UI5 applications move from development to production.
In enterprise SAP landscapes, this is as important as writing good code.
This module explains:
- UI5 deployment options
- BSP applications
- ABAP repository deployment
- Transport strategies
- CI/CD approaches for UI5
1. UI5 Deployment Options – Overview
Common Deployment Options
| Option | Use Case |
|---|---|
| ABAP Repository (BSP) | On-prem / S/4HANA |
| SAP BTP HTML5 Repo | Cloud |
| Standalone Web Server | Rare / Hybrid |
Most ECC/S/4HANA projects use ABAP repository deployment.
2. BSP Applications (Classic & Still Relevant)
What is a BSP Application?
A BSP (Business Server Page) application:
- Stores UI5 app in ABAP system
- Serves static UI5 resources
- Is transportable via CTS
UI5 as BSP
/ui5_ui5/sap/Z_MY_UI5_APP
Contents:
- Component.js
- manifest.json
- views, controllers, models
Advantages of BSP Deployment
- Tight backend integration
- Simple transport management
- Works well with Gateway services
Limitations
- Not ideal for CI/CD
- Manual deployment steps
- ABAP system dependency
3. ABAP Repository Deployment (Recommended for On-Prem)
Modern ABAP Deployment Flow
- Develop UI5 locally (BAS / VS Code)
- Build UI5 app
- Deploy to ABAP repository
- Transport via CTS
Tools for ABAP Deployment
- SAP Business Application Studio
- UI5 CLI
- SAP Fiori Tools
- ADT (ABAP Development Tools)
Typical ABAP Package Structure
Z_UI5_APPS
└─ Z_MY_UI5_APP
Keep one UI5 app per ABAP package.
4. Transporting UI5 Applications
UI5 Transport Mechanism
UI5 apps deployed to ABAP:
- Are stored as repository objects
- Are transported using CTS
Transport Flow
DEV → QAS → PRD
Same as ABAP objects
- Includes BSP, MIME objects
Transport Best Practices
- Transport UI + backend together
- Avoid manual changes in QA/PRD
- Use consistent package naming
Common Transport Issues
- Missing MIME objects
- Manual hotfixes in PRD
- UI/backend version mismatch
5. CI/CD for UI5 (Modern Approach)
Why CI/CD for UI5?
- Faster deployments
- Fewer manual errors
- Repeatable builds
- Better quality
Typical CI/CD Pipeline
Git Commit
↓
Lint & Test
↓
UI5 Build
↓
Deploy to ABAP / BTP
↓
Transport / Promote
CI/CD Tools
| Tool | Purpose |
|---|---|
| GitHub / GitLab | Source control |
| Jenkins | Pipeline |
| UI5 CLI | Build |
| SAP BTP | Deployment target |
UI5 Build Command
ui5 build --all
Produces:
- Minified resources
- Optimized bundles
6. Cloud vs On-Prem Deployment
Comparison
| Aspect | On-Prem (ABAP) | Cloud (BTP) |
|---|---|---|
| Deployment | CTS | CI/CD |
| Flexibility | Medium | High |
| Scaling | Limited | Excellent |
Cloud + CI/CD is the future direction.
7. Deployment Best Practices
- Build locally, deploy artifacts
- Version your UI5 apps
- Align UI5 and OData versions
- Automate deployments where possible
- Editing UI5 code directly in PRD
- Skipping build steps
- Manual file uploads
- Mixing UI and backend transports blindly
8. Interview-Grade Explanation
Q: How do you deploy and transport SAPUI5 applications?
Answer:
SAPUI5 applications can be deployed to the ABAP repository as BSP applications and transported using CTS, similar to ABAP objects. In modern setups, UI5 apps are built using UI5 CLI and deployed via automated CI/CD pipelines, especially when using SAP BTP.
9. Summary
- UI5 apps have multiple deployment options
- BSP deployment is common on-prem
- ABAP repository deployment integrates with CTS
- Transports follow DEV → QA → PRD
- CI/CD improves reliability and speed
- Cloud deployment is SAP’s future direction
10. What’s Next?
➡️ Module 26: Testing in SAPUI5 (QUnit & OPA5)
Deployment mistakes hurt more than coding mistakes — automate early.