Configure Your SAP S/4HANA System for Content Federation
Configure the allow list to enable SAP S/4HANA applications to be run in an iFrame in an SAP Build Work Zone site and set an SAP Fiori launchpad parameter for the exposure of classic apps.
Overview
You will learn
- How to set up the allow list to enable your SAP BTP trial to access the SAP S/4HANA system
- How to set the SAP Fiori launchpad parameter
EXPOSURE_SYSTEM_ALIASES_MODEin the SAP S/4HANA Customizing. In this group of tutorials, you will integrate SAP Fiori launchpad content from an SAP S/4HANA system to SAP Build Work Zone, standard edition on SAP BTP using content federation. With this functionality, SAP enables SAP S/4HANA (and other products) to serve as content providers by exposing their business content and role structures to a central entry point, which makes the day-to-day operation and maintenance by the content administrator much more efficient. You will learn how to combine federated content from SAP S/4HANA with apps from other sources like custom apps running on SAP BTP or SAP Business Suite applications in one SAP Build Work Zone site.
Prerequisites
Prerequisites
- Get a Free Account on SAP BTP Trial.
- To integrate federated content into an SAP Build Work Zone site, you already need a site available in your SAP BTP trial account. Please follow at least the first two tutorials of the Create your First Business Site with Apps tutorial group or the full Create a Business Site Using SAP Build Work Zone, standard edition, and Add Applications and UI5 Cards to It mission to set up SAP Build Work Zone, standard edition on your SAP BTP trial account.
- To test content federation, you need an SAP S/4HANA system on release 2020 or newer and have administrator access to it. This tutorial describes the configuration of an SAP S/4HANA 2023 FPS01 system which you can also get as SAP S/4 HANA Fully Activated Appliance 30-day trial system. You can find more details about the process to start your SAP S/4HANA trial in this Quick Start Document. To avoid reconfiguration of the SAP Cloud Connector after each restart, we recommend to use the system with a static public IP address. Please keep in mind that the trial is only free for 30 days, so only request the system, when you are ready to run the tutorial.
- You need an SAP Cloud Connector installed. If you are using the SAP S/4HANA trial, the SAP Cloud Connector is already included in it.
Steps
If you are using your own instance of the SAP S/4HANA, Fully Activated Appliance solution in SAP Cloud Appliance Library, click Connect.

Connect instance You can either use the Windows Remote Desktop and login via SAP Logon there or login directly via SAP GUI by clicking Connect in the SAP GUI row in the Connect to the Instance pop-up . Please check the Getting Started with the SAP S/4HANA 2020 (SP00) Fully-Activated Appliance Guide for details.

An .sap file will be downloaded to your computer to connect to the SAP S/4HANA system.Click the downloaded file. If required, click Allow in the pop-up window.

Downloaded file Login to client 100 of system S4H with default user
BPINSTand passwordWelcome1.
Login
Since the SAP S/4HANA apps are integrated into SAP Build Work Zone using iFrames, you need to configure an allowlist to protect your system against clickjacking attacks. The allowlist service is an ABAP-wide service to implement protections. You can manage such allowlist scenarios with the Unified Connectivity Framework (UCON Framework) to optimize the protection of your RFC and HTTP(S) communication against unauthorized access.
To allow SAP Build Work Zone to consume data from your SAP S/4HANA system, you should add your trial account to the allowlist for Clickjacking Framing Protection.
If you do not activate the allowlist, SAP Build Work Zone defaults to a more restrictive clickjacking protection mechanism. It will then only allow framing if the host of the application is part of the same domain as the embedding application, i.e. Work Zone (same origin policy).
Start the transaction uconcockpit.

In the drop-down list, select HTTP Allowlist Scenario.

Open HTTP allowlist In older SAP S/4HANA releases, scenario names might differ.
If the Clickjacking Framing Protection scenario is already available in the list, you do not need to do anything here and can go directly to the next step Open SAP Fiori launchpad client-specific settings. This should be the case the SAP S/4HANA 2023 FPS01 Fully-Activated Appliance.

If not, you need to activate it. To do so, select HTTP Allowlist > Setup in the menu bar.

In the pop-up, check the entry activate Clickjacking Protection (Context Type 02) for all clients (recommended). Then click the Continue icon.

For more details, see Using an Allowlist for Clickjacking Framing Protection
You now see the Clickjacking Framing Protection entry in the table. It is currently set to Logging mode. This means that connections are only logged, but not checked. With this setting, connectivity from your SAP BTP trial account will work. However, this is not a secure setting. In a productive environment, you would need to add the patterns for your SAP Build Work Zone to the allowlist and then set the scenario to Active check mode.

The parameter EXPOSURE_SYSTEM_ALIASES_MODE defines how to handle system aliases during content exposure. In an embedded deployment of the SAP Fiori front-end server, all apps run on the same server. Therefore, system aliases can be cleared during exposure. In a hub deployment in contrast, they might come from different back-end systems and each back-end system may have several aliases. Therefore, you need to map these aliases to the runtime destinations manually after creating the content provider in the last tutorial of this group. See the documentation for details.
This parameter must only be set in an embedded scenario where the SAP Fiori front-end server is deployed into the AS ABAP of the SAP S/4HANA system. This is the case in the SAP S/4HANA trial system.
Enter
/nsproin the command field to access the customizing.
Launch SPRO Click SAP Reference IMG.

Open SAP Reference IMG In the tree, open ABAP Platform > UI Technologies > SAP Fiori > SAP Fiori Launchpad Settings.
In an older system, e.g. SAP S/4HANA 2020, the path to choose would be SAP NetWeaver > UI Technologies > SAP Fiori > SAP Fiori Launchpad Settings.
Then click the IMG Activity icon in front of Change Client-Specific Settings.

Change Settings If you see a pop-up window informing you about a refresh of the text index, just confirm it.

Close pop-up
Click New Entries to create one new entry.

New Entries For the new entry, make the following inputs in the first row of the table:
FLP Property ID:
EXPOSURE_SYSTEM_ALIASES_MODEProperty Value:
CLEARThe values in other columns, e.g. for Type and Category, will be added automatically when you save the new entry.
Click Save.

Exit To save your settings, you need to assign a customizing request.
Click the Create icon to create a new customizing request.

Create customizing request If you want, enter a description. Then click the Save icon.

Save request Click the OK icon to confirm using the newly created customizing request.

Confirm request Your entry was saved. Click the Display button to go back to the main settings table.

Back to FLP settings
Now you made all settings required in the SAP S/4HANA trial system.

If you work in your own SAP S/4HANA test system or just want to make sure all prerequisites for content exposure are met, you might check if the service /sap/bc/ui2/cdm3 is activated in the SAP S/4HANA system. This is the case in the preconfigured SAP S/4HANA trial.
Enter
/nsicfinto the command field to launch transactionSICF.Enter
cdm3in Service Name and click the Execute icon.
Enter service name Right-click the cdm3 service. Check that the Activate Service entry is grey and inactive. This means that the service is already activated. Otherwise, you can activate it now by clicking Activate Service.

CDM3 service
You also need to make sure that the user which does the content exposure has the right role and that the page cache is turned on for them. This is also already the case for user bpinst.
Enter
/nsu01into the command field to launch User Maintenance.Enter the
bpinstas User as this is the user that will do the content exposure. Then click the Display icon.
Enter user The permissions to run the content exposure are delivered with the role
SAP_FLP_ADMIN. The BPINST user has full administrator permissions and can be used for content exposure.Go to tab Parameters and make sure that the parameter
/UI2/PAGE_CACHE_OFFdoes not show up here. If it does, remove it.
User parameters
This parameter is only used for test purposes to identify caching issues. It should not be available in productive systems anyhow, as it can slow down the loading process significantly.
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.