Skip to Content

UPDATE – Relevant for S/4HANA 1709, 1610

Fiori performance is a hot topic in every implementation, we’ve gone a long way from the first release of Fiori to the latest version in S/4HANA and so has the products performance evolved.

Understanding the overall architecture of the solution is key to identify performance issues because in the Fiori architecture, your browser is directly accessing the back-end via each Fiori tile. Each tile on the FLP is making numerous calls to (and receiving) data from the server, which can cause latency issues.

Note that when referring to the backends in the S/4HANA model we are talking about the integration between 3 main components: Web Dispatcher, Frontend Server, and Backend Server so, depending on the network configurations of these servers, network performance issues may arise.

As you can imagine, you will find some cases where performance issues may go deep into code or network debugging, however, there are some quick actions you can take in every project to ensure the best performance of your Fiori Launchpad (FLP).

We will list some performance tips and tricks for all your current implementations:

 

1. Use what you need

As part of the Fiori UX design guidelines it is recommended you limit access to the tiles that are needed for each user role. The more tiles you have on your FLP, the longer it will take to load. To lessen any latency issues, only add the tiles you need.

It is recommended that you do not exceed 7×7 (49 tiles) per FLP group, also notice the more catalogs you have assigned, the longer it’s going to take to load the home screen.

To make sure you get users what they need we recommend going through Design Thinking workshops at the early stages of the project, in order to build “Personas” which will later help you define the required business roles.

 

2. All tiles are not equal

There are three types of tiles – KPI, dynamic, and static. The KPI and dynamic tiles have a bigger impact on bandwidth, as they are in constant communication with the back-end servers to update. The static tiles do not change; once they are loaded onto the FLP, they are not making any additional “calls” to update.

For KPI and dynamic tiles try to define a refresh interval or cache duration suitable to your end user needs and SAP landscape capabilities.

UPDATE – Analytical apps in S/4 HANA may cause expensive analytical queries to be executed in SAP HANA. While with SAP HANA incredible on-the-fly calculations are possible, there are still some boundaries in the amount of data that can be processed in a reasonable time.

KPI’s based on CDS views can be cached via “View Result Caches”

  • Note 2337199
  • Requires “altering” views directly in HANA
  • Requires implementation of Badi: BADI_DEF_CDS_VIEW_CACHE_REACT
  • Available for a limited number of CDS views

3. Introducing Tab Bar Navigation

One of the new features in Fiori 2.0 is Tab Bar Navigation, this feature changes the interaction of the end user with FLP as tiles are displayed per group. This setting can be switched on for all users by the system administrator or enabled through user personalization.

You can find the details to setup this feature in the following blog.

 

4. Introducing CDN (Content Delivery Network)

One of the main reasons for slow performance is the fact that the SAP UI5 libraries are located in the ABAP Front-end Server (FES), when the Fiori web page is rendered it needs to make a call to the ABAP FES to load the JavaScript libraries. In high-latency networks this results in high rendering time lapses which affect end-user performance.

One way to overcome this situation is to load UI5 libraries from a Content Delivery Network (CDN, Akamai) which enables users to load the UI5 libraries from a network server closest to their current location.

You can find the details to setup this feature in the following blog.

 

5. Take advantage of CDN and Tab Bar

By mixing these two features you will be able to improve FLP performance around 40%

 

6. Improve Webdynpro, Webgui and App Finder performance

Firt step to improve Webdynpro, Webgui and App Finder performance is to check kernel version and try to update as this is required by the new unified rendering concept.

To load Webdynpro or Webgui apps FLP uses the NWBC runtime, it is recommended to update NWBC runtime by implementing the following notes in order:

Also try running report /UI2/NWBC_DELETE_MENU_CACHE every now and then as you may find wrong entries in table /UI2/NWBC_NAV_TR (column NWBC_VERSION will have the value “LOADING”).

UPDATE – As of August 25th, 2017 you no longer need to update the entire kernel package.

A new package, called sapwebgui, is now delivered. It contains only the WEBGUI related files.

If you have interest in this new approach, then you can find more information in KBA 2221289 (How to install package sapwebgui).

7. Improve OData performance

OData performance is usually good, in some very specific cases you will find that OData requests execution time is longer than expected. This will usually occur for OData services that expose very large data sets. If this is the case, you can try configuring OData services in Co-deployed mode.

You can find the details to setup this mode in the following blog.

 

8. Make sure you setup your browser’s cache

Ensure browser cache settings are optimized for maximum performance and try not to use any settings that bypass the browser cache, for example:

  • Do not run the Fiori Launchpad in private mode
  • Select a sufficient cache size limit
  • Do not clear the cache history automatically when the browser closes
  • Enable browser caching
  • Do not disable the browser cache in the browser developer tools
  • Enable HTTP compression

You can find a detailed how-to document describing these settings in all three major browsers (Chrome, Firefox, Internet Explorer) in note 2447857

 

9. Get the right certificates (SSL)

Are you using HTTPS  communication? Make sure it is correctly setup, you can monitor this in the browser’s developer tools in the network tab.

If you are using self-signed certificates or your certificate has not been signed by a valid Certificate Authority (CA) you will face performance issues as any error with the certificate means that the webpage will not be cached.

You can find additional details of this bug here and here. Also note that versions 58 or higher of Chrome now mandatorily require that the SAN (Subject Alternative Name) field of the server’s SSL certificate is correctly populated, you’ll find the detailed issue and resolution in this blog.

 

10. Still facing performance issues?

Take a look at note 2471635, you will find some common performance issues and their solution. Note that some solutions may require additional development efforts.

You can also go through the SAP Guided Answers: Performance Issue for Apps in Fiori Launchpad – Where to Improve checklist.

 

Becoming a SAP Fiori for SAP S/4HANA guru

You’ll find much more on our SAP Fiori for SAP S/4HANA wiki

Do you have any questions? Let us know in the comments section.

Thanks,

SAP S/4HANA RIG

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Smriti Gupta

    Thankys for an informative blog again. Will try the tip  Improve Webdynpro, Webgui and App Finder performance 

    as I am facing problem when I access app from user Menu in Appfinder. I am getting the error of Mixed Content.

     

    In Internet Explorer , we get a message

    SEC7111: HTTPS security is compromised by http://hostname:portforhttp/sap/bc/ui2/nwbc/~canvas;window=app/wda/esh_search_results_ui/?sap-client=530&sap-language=EN&sap-ie=edgehttps%3A%2F%2Fhostname%3Aportforhttps%2Fsap%2Fpublic%2Fbc%2Fthemes%2F~client-530%2F~cache-FjEU5-Ztrf-LgiuDuVzGyDKwNb0&sap-shell=FLP1.44.15-NWBC

    In Firefox– Loading for mixed content is blocked…http://………..nwbc….

    But will check for the notes mentioned by you. Looking forward to more blogs from you:)

    Best Regards,

    Smriti

     

    (1) 
    1. Jorge Baltazar Post author

      Hi Smriti,

      I suggest you review your HTTPS settings, certificates, and even RFC’s – take a look at UI Technology Guide, section 5.2.2.1 for the list of required RFC’s.

      In general, we’ve seen this error with our customers for three main reasons:

      1. Not configuring all the required RFC’s (S4FIN_HTTPS, S4LO_HTTPS, etc).
      2. If using self-signed certificates, these need to be imported to the end-user devices so the browser will trust them.
      3. Incorrect redirect settings in Webdispatcher and AS ABAP profiles, parameter icm/HTTP/redirect_*

      How this will be solved requires you to understand your current architecture and system parametrization.

      Regards,

      JB

      (2) 
    2. Shrutika Purohit

      Hello Jorge,

       

      Thanks for the wonderful blog. Smriti, I liked your comment on what you have described SAP Fiori. Here are some of my comments, As with SAP Fiori implementation, you can empower your employees with instant business insights and information for better and faster decision-making and enhanced performance.

      (0) 
  2. Smriti Gupta

    Hello Jorge,

    Thanks for reverting on my query. As we are making just a proof of concept, we are having an embedded system and also aren’t using webdispatcher.  Is SSL certificate a must  for running transactions from User Menu.

    Also could you pls tell, which functionalities we would be missing without webdispatcher. I understand the help functionality and search on objects is not possible without webdispatcher. Is Jam integration possible without a webdispatcher?

     

    Please let me know.

    Best Regards,

    Smriti

     

     

     

    (1) 
  3. Smriti Gupta

    Hello Jorge,

     

    Thanks for the reply, it was a problem with HTTPS connection, HTTPS connection for system alias was not created. Now the transactions over User Menu and SAP Menu are working. But I am not able to see all the folders in SAP Menu, For eg. Logistics and Accounting in SAP Menu are not appearing. Can you pls suggest something on this?

     

    Thanks

    smriti

    (1) 
    1. Jocelyn Dart

      Hi Santosh

      Where does this screenshot come from exactly? You’ve not given us many clues.

      Firstly – questions like these are NOT performance questions – they are configuration questions. Please don’t add random questions to blogs – you are likely to be reported to a moderator for breach of SAP Community rules of engagement

      Secondly – please don’t add new questions to blog comments – post a new question  with tag SAP Fiori for SAP S/4HANA

      Thirdly – you can get lots of advice from the wiki SAP Fiori for SAP S/4HANA

      Lastly – you might want to check out the system alias listed for the relevant catalog in the Launchpad Designer tool and txn SM30 maintenance view /UI2/V_ALIASMAP

      Rgds,

      Jocelyn

      (1) 
      1. Santosh Gupta

        Hi  Jocelyn,

        Thanks for correcting me!!

        Due to some Sdn Issue i was not able to post my question over here.

        further

        I did the same thing for Custom/standard catalog but views are different.It worked well

        Thanks once again

        Regards,

        Santosh

         

         

        (0) 
  4. Ki Shu

    Hi Jorge,

    The job to run /UI2/NWBC_DELETE_MENU_CACHE should be scheduled in the backend side, right? It is also needed in fiori frontend gateway?

     

    Best regards

    Helen

    (0) 

Leave a Reply