Set a custom theme as default in SAP Fiori launchpad

Saturday, 3 December 2016

How to set a custom theme as the default theme in SAP Fiori launchpad in 5 steps.

Step 1: Rebuild the custom theme

Access your theme designer in the SAP Gateway URL. The URL is:
https://<Your GW Server Host:port>/sap/bc/theming/theme-designer/
Select the custom theme and click rebuild.

Step 2: Clear Fiori Theme Cache

In your SAP Gateway system use TCODE /ui5/theme_tool. There you can see all your custom fiori themes.

Double click on the [Invalidate Cache] button. Also note the Custom Theme id, we will need it later.

Step 3: Set default theme parameter

In your SAP Gateway system use TCODE /UI2/NWBC_CFG_CUST.
There you should add the SAP_FLP parameter which will override the one provided by SAP*.

Add the following values:

Filter - SAP_FLP
Parameter Name - Theme
Value - Custom_Theme_Id (See step 2)

Save the changes

* You can see the standard SAP Fiori Parameters using TCODE  /UI2/NWBC_CFG_SAP

Step 4: Clear the SAP Fiori Cache

Follow this guide to clear the SAP Fiori Cache

Step 5: Check the Custom Fiori Theme from external network (Optional)

It is a very common scenario the access of  Fiori apps from public internet using a Reverse Proxy Server, usually the SAP Web Dispatcher. In that case the host which your users are accessing is  different from the one that you used when accessing the theme designer toolkit.

Strangely the SAP Fiori launchpad does not use a relative to host URL for accessing the custom theme, but instead it uses a hard-coded one provided by the customization configuration resource.

You can check your Fiori Launchpad configuration resources in the following URL:

https://<Your external host>/sap/bc/ui2/start_up?shellType=FLP&depth=0

This will return a JSON response. There you will see the following fields between others:

"system": "GW_SYSTEM",
"theme": "custom_theme_id@https://<internal_GW_host>:<internal_GW_port>/sap/public/bc/themes/~client-100/~cache-9dCxur06U0MptvEF2o32-aPCRKQ",
  "timeFormat": "0",
  "timeZone": "CET",
  "welcomeMessage": "",
  "themeRoot": "/sap/public/bc/themes/~client-100/~cache-9dCxur06U0MptvEF2o32-aPCRKQ",

In the above case, theme value is using the internal SAP Gateway Host. As a result of this the SAP Fiori launchpad will crash when the custom theme is used and it is accessed using an external host....

The solution to this is to implement the following SAP Notes:

  • SAP Note #2041742 - UI Theme Designer for ABAP: Correct host
    This will be applied to SAP Web Dispatcher and it will correct the host issue.
  • SAP Note #2230117 - Theme is not loaded in SAP Fiori launchpad
    You should also apply note this to your SAP Gateway if the port of the SAP Web Dispatcher is different from the SAP Gateway port e.g WD Port 443 - GW Port 1443

After the implementation of the those SAP Notes you should:
  1. Rebuild the theme (See STEP 1).
  2. Clear  the cache (See STEP 4)
Finally the response from the Resources URL will be like:

"system": "GW_SYSTEM",
  "theme": "custom_theme_id"
  "timeFormat": "0",
  "timeZone": "CET",
  "welcomeMessage": "",
  "themeRoot": "/sap/public/bc/themes/~client-100/~cache-9dCxur06U0MptvEF2o32-aPCRKQ",

Theme value now is not providing a URL Parameter, so it is relative to host.


  1. Creating experts,A leading career development organization provides Real time training in SAP Success Factors,SAP MM, SAP SD, SAP ABAP, SAP BASIS,SAP BASIS, SAP FICO,with live examples by corporate Experts. (Best SAP training institute in chennai with placement assistance)
    SAP Success Factor,SAP MM Training in chennai Vadapalani ECR velachery Tambaram chromepet guindy and t.nagar.

  2. SAP Success Factors Training in Chennai

    Reach @ 9003085882 or 8122241286

    Best Place to Learn Advanced SAP SF Training with Live Project Exp.

  3. nice blog...The leading training concern THE CREATING EXPERTS are providing SAP ABAP and SELENIUM training and here is the link

    contact 8122241286

  4. Best sap MM and SD training with placement chennai

  5. SAP training in chennai is provided by THE CREATING EXPERTS take a look at the link below

    contact +91-08122241286

  6. Thank you for sharing useful information about SAP Fiori.
    Sap Fiori Implementation

  7. Thanks for sharing this Information,

    Got to learn new things from your Blog on Sap abap.

    Both online and classroom training is provided.

    Contact 8122241286

  8. I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.

    SAP MM Training in Chennai

    SAP HR Training in Chennai

  9. Thank you very much for your good information sap fiori online access

  10. Are you looking for live interactive SAPUI5 Online Training institute ?


  11. It's so nice article thank you for sharing a valuable content
    Sap Online Access


  12. Well it was nice post and very helpful information
    sap fiori online access


  13. It's so nice article thank you for sharing a valuable content
    Sap Online Access


  14. Thank you for giving this best information. It’s a very nice topic
    SAP Success Factor Online Access


Copyright © 2015 Sap 4 All
Distributed By SAP 4 ALL |