Documente Academic
Documente Profesional
Documente Cultură
UI Theme Designer
Theming of SAP Fiori Applications
July 2014
www.sap.com
TABLE OF CONTENT
1
PREREQUISITES .............................................................................................................................. 3
4
4.1
4.2
4.3
4.4
This document describes how to use the UI Theme Designer in order to adapt SAP Fiori Apps to
ones needs. The document is not meant to replace the product documentation but rather supports
a user by guiding him through the most important process steps.
PREREQUISITES
To use the UI theme designer for NetWeaver ABAP prior release 7.40 you need to install the UI
Add-on for NetWeaver 1.00 SP04 or higher.
Starting with release 7.40 SP04 the UI theme designer is part of NetWeaver.
4
4.1
Define theme
Now you need to enter a Fiori URL link. In this example we use the shopping cart application.
The Fiori URL looks as follows:
https://<server>:<port>/sap/bc/ui5_ui5/sap/ui5_srm_sc_apv/index.html
Enter this link into the field Link to Application of the UI Theme Designer, provide a name and
select Add.
You can start to change the appearance by using the Quick and Expert options.
On the Quick tab on the right hand side you can change selected colors and add a background
image. E.g. you can change the background color or the text color by either using the color picker
Values entered or changed on the Quick tab are valid for all technologies that you use this theme
for.
You can upload a background image by pressing the background image button and then dragging
an image from your desktop to the marked area in the Theme Designer canvas. Then select the
image and press Ok.
Depending on the size of the background image you might need to set Background Image Repeat
to false
More specific options are available via the Expert tab. E.g. you can change settings for the header
bar.
4.3
When all changes are done the new theme needs to be published via Theme Publish, or in
the latest version of the UI Theme Designer via Theme Save & Build
Enter a theme name and also provide a theme ID. Select Publish
4.4
In order to use the newly published theme the new Fiori URL needs to be built.
Start with the original URL, e.g.
https://<server>:<port>/sap/bc/ui5_ui5/sap/ui5_srm_sc_apv/index.html
Append ?sap-theme=<theme-name> to the original Fiori URL:
https://<server>:<port>/sap/bc/ui5_ui5/sap/ui5_srm_sc_apv/index.html?saptheme=<theme-name>
In cases where the theme root folder is located on a different server than your application server
you need to determine this specific information in order to build the complete URL for the theme:
Determine theme-root for your system:
https://<root-server>:<port>/sap/public/bc/themes/~client-<client>
Append ?sap-theme=<theme-name>@<theme-root> to the original Fiori URL:
https://<server>:<port>/sap/bc/ui5_ui5/sap/ui5_srm_sc_apv/index.html?saptheme=<theme-name>@https://<root-server>:<port>/sap/public/bc/themes/~client-<client>
Call the newly composed Fiori URL in a browser: