I’ve been investigating the Cloud Build Service and the options it has for on-premise Fiori apps. I concluded that it can only be used for online on-premise Fiori apps or the Fiori Launchpad, for now. In this blog, I want to show you how you can use the Cloud Build Service to create a Fiori Client for your on-premise Fiori Launchpad.
First, open Mobile services in SCP
Signing Profiles
Before we can use the Cloud Build Service, we need to upload/generate a signing profile.
For Android, you can just generate a signing profile by clicking on the “Generate button”. For iOS, you need to upload a Provisioning Profile, Signing certificate and a Private Key Passphrase. You can all get this information from the apple developer website.
Configure your Fiori Client
After that, we can start configuring the Fiori Client. Create a new Hybrid app.
Use the SAP Fiori template. The ID of the app should match the ID rule in your provisioning profile.
Go to the connectivity feature and remove it. This app will only be used to load the Fiori Launchpad but never access data via Mobile Services in SCP.
Next, open the Cloud Build Feature
Configure the Cloud Build. Instead of using Fiori Cloud edition, take the option “Custom URL” and fill in the url to your on-premise Fiori Launchpad.
Be aware that this is not with the virtual hostname and port but the physical host and port. In the end, it will only generate you a Fiori Client that is independent from SCP.
http://<hostname>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html
Save and build
Build your Fiori Client
Here you can select the target platform for the build and configure the build.
After that, you’ll see that there is a build in process. This will only take a few minutes.
Once the build is started, all the features will have the state “OK”.
Install your Fiori Client
When the build process is finished, you can download and install the app on your device.
We can even use a QR code to install the app:
This will redirect you to a webpage from where you can install the app
When the app launches, you'll see a loading screen
After this loading screen, you normally get a logon screen. In our case, we have Single Sign On and will immoderately see the Fiori Launchpad
Start building your own Fiori Client!