In this blog I’ll demonstrate how to configure an integration between the SAP Launchpad service and a Fiori application deployed in the the ABAP environment. Below is the setup with both the ABAP environment and the Launchpad service sitting in the same subaccount. The steps shown will also work across separate subaccounts.
Here is the application when opened directly in the ABAP environment. Notice the URL, pointing to <ABAP environment ID>.abap-web.<Data Center>.hana.ondemand.com. By the way, this application is from the excellent developer tutorial, Develop an SAP Fiori App Using ABAP, which can be implemented on any ABAP system with the flight demo activated.
1. Create a destination to the ABAP environment.
Go to the subaccount cockpit and create a new HTTP destination pointing to the ABAP environment:
URL: https://<ABAP environment ID>.abap-web.<Data Center>.hana.ondemand.com
Proxy Type: Internet
Authentication: No Authentication
To create a tile with dynamic information, aka. dynamic app launcher, a second destination with the authentication type OAuth2UserTokenExchange needs to be configured. See the documentation for details on how to configure this destination.
2. Configure clickjacking protection in the ABAP environment.
For security, the ABAP environment will only allow the integration with specific hosts which are entered into an allow-list. This means the hostname for the launchpad service needs to be added there.
Open the ABAP environment dashboard, go to security and open the app Maintain Protection Whitelists.
Open the tab Clickjacking Protection and click on + sign and add host name for the launchpad service.
Trusted Host Name: <Subaccount Subdomain>.launchpad.<Data Center>.hana.ondemand.com
3. Configure app, catalog, group and role in launchpad service
Now the app can be added to the launchpad service. Create a new application in the launchpad Site Manager.
App UI Technology:
SAPUI5 Component Name:
The sapui5 component name of the app can be found by opening the developer tools in the browser and inspecting the index.html of the app. Check under modules, the component name is in front of the Component.js
Afterwards, create a group, catalog and role and assign the app to it.
4. Add the role to the site and assign it to user(s)
Now go to the site, click edit and add the newly created role.
Then switch to the SAP BTP cockpit and add user(s) to the new role collection.
5. Test the app integration
Open the launchpad site and check that the Travel app shows up as a new tile.
Open it and the app will now launch within the Launchpad service .
Reference: Manual App Integration in help.sap.com