Skip to Content
Author's profile photo Archana Shukla

Design your own theme for SAP Operational Process Intelligence using SAP Fiori UI Theme Designer

Ever since we have released SAP Operational Process Intelligence, there have been requests for customization of workspace for a seamless business user experience matching the brand of a company. The most common requests are changing the company logo, background image, font and colors of text and many more based on company’s branding and marketing strategies.

 

We have now addressed these requests through SAP Fiori – UI Theme Designer – which is a comprehensive web-based tool that can be used to design, build and store the themes in SAP Cloud Platform. Later these themes can be quickly applied on SAP Operational Process Intelligence application, without any hassle and with few additional URL parameters. The intention was to give our users a high quality, easy-to-use and full range of rich customization options to design-your-own-theme.

 

In this blog, I will cover the steps required to build and use a theme for SAP Operational Process Intelligence, based on company’s individual brand. These steps are very simple to run and follow. I have personally used the theme designer for few of my customers, and the results were very satisfactory.

 

 

Before we start with theme designer, there are some prerequisite that you should know:

  1. Theme designer is ONLY supported in SAP Cloud Platform
  2. If you do not have SAP CP account, then register on SAP CP Trail Account from here
  3. Logon on to the SAP CP account
  4. Enable “UI Theme Designer” service from SAP Cloud Platform Cockpit

 

 

 

The theme can be designed and used in 2 simple steps:

  1. Create and Design new theme using SAP Theme Designer service
  2. Use the theme for SAP Operational Process Intelligence

 

Create and Design new theme in SAP Theme Designer Application

  1. Click “UI Theme Designer” tile in SAP Cloud Platform Cockpit
  2. Click on “Go to Service” link
  3. Click “Create New Theme” option in the top panel
  4. In “NewTheme” popup, select the base there from the drop down as “SAP Blue Crystal”
  5. Click on “Step 2” button
  6. In the “Name your theme” section, give the required information as :
    Theme ID     : <any name for the ID like opinttheme>
    Title  : <Name of your choice like “UtilitiesTheme”>
  7. Click on “Create Theme” button
  8. In the theme page, click on SAPUI5 Application Previews and
    select “SAP Fiori Launchpad” checkbox
  9. Click on “+” button next to “Target Pages and give the required information as :
    Link to Application     :  <Link to the theme designer page>
    Like: https://themedesignertrial.dispatcher.hanatrial.ondemand.com/index.html
    Name of Application  : <Name of your choice like “UtilitiesTheme”>
  10. The given application should be loaded within the center section of the UI theme designer application. Now you can use various style options in the right panel of the UI theme designer application to design your theme.Note:  As the theme designer is a WYSIWYG editor, you can preview your changes as and when you make them in the too
  11. Once you are done with the design, export the new theme by clicking on Theme –> Export option on the top left corner of the page
    1. In the “Export” dialog, enter the theme id and name of your choice.
      ℹ Note: This id has to be all in small letters, without any spaces and it will be used to provide theme for SAP Operational Process Intelligence
    2. If you want to support your application in RTL mode(Right to Left like in Arabic languages), check “Support RTL” checkbox
    3. After entering all the required details, click “OK” button
  1. It will take few minutes to create and save the zip file with the new theme content.
    ℹ Note: Depending on your browser settings, it might ask the location to save or can save automatically to the pre-defined location

 

 

Use the theme for SAP Operational Process Intelligence

 

  1. Open SAP HANA Web-based Development Workbench:
    http://<host>:<port>/sap/hana/ide/editor/
  2. Login with a HANA user, who has access to create package
  3. In the editor, create new package under “Content” folder (For Example: themes)
  4. Import the exported zip from previous section into the newly created package using Import –> Archive option on the package.
  5. Create an xsapp file with empty name (“.xsapp”) in the new package. Save and Activate the file
  6. Create an xsaccess file with empty name (“.xsaccess”) in the new package and add the following content in it to enable public access to this package.
    { 
    	"exposed":true,
    	"authentication": null,
    	"authorization": null
    }​
  7. Save and Activate the file./wp-content/uploads/2016/09/pic9_1041225.png

    The new theme is ready to be consumed in SAP Operational Process Intelligence application

  8. Open SAP Operational Process Intelligence space.me application using following URL:

http://<hostname>:<port>/sap/opi/pv/workspace/?sap-theme=<Custom Theme Id>@<Custom Theme Package>

hostname                        : <hana server hostname>,

port                                 : <hana server port>

Custom Theme Id            : Theme id that is specified while exporting the theme

Custom Theme Package  :  relative package path where the custom theme zip is imported

 

For Example:
http://hanahost:8082/sap/opi/pv/workspace/?sap-theme=insurancethemeid@/opint/themes/insurance

 

 

SAP Operational Process Intelligence now opens in the applied theme.

 

/wp-content/uploads/2016/09/pic10_1041226.png

 

      

Isn’t looking good?

 

With these few simple steps you can build your applications on your own custom themes. In this example, I have used very simple customization properties to build this theme – and it is just scratching the surface. You can do a whole lot of designing based on your need and requirements.

 

Be sure to give us your feedback and suggestions, after you use the theme designer to create your theme for SAP Operational Process Intelligence

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Rene Gielen
      Rene Gielen

      Hi  Archana

      Great post, as usual!

      I've been looking at SAP Cloud Trial account, it doesn't have the UI Theme designer. I'm assuming we need a full SAP Cloud account to do this?

       

      Many thanks

      Rene

       

      Author's profile photo Archana Shukla
      Archana Shukla
      Blog Post Author

      Hello Rene,

       UI Theme Designer is now available as separate service in SAP Cloud Platform Trial account. 

      Author's profile photo Rene Gielen
      Rene Gielen

      OK thanks, great!

       

      One more 😉

       

      6. Create an xsaccess file with empty name (“.xsaccess”) in the new package and the following content in it to enable public access to this package.

      Can you please list the .xsaccess file contents, think it dropped off.....

       

      Thanks!

       

      Author's profile photo Archana Shukla
      Archana Shukla
      Blog Post Author

      Done, thanks for pointing that out.
      I have also modified the blog, for new UI Theme Designer

      Author's profile photo Rene Gielen
      Rene Gielen

      Hello, me again 😉

      One more question. The above works fantastic for the detail dashboards. For the entry/main dashboard in Space.Me though, there's a background/square of solid colour which obscures the custom background.

      Main dash (I can see a bif of the custom along the top):

      Detail dash:

      Any way to remove that??

      Thanks again

       

      Rene

      Author's profile photo Archana Shukla
      Archana Shukla
      Blog Post Author

      Hello Rene,
      Am glad that it worked for you. The theme is applied only inside the tiles and not on the main screen in OPInt.

      Regards,
      Archana