Clear SAP Fiori Cache - Sap 4 All

Latest

Please enter your email and get the updates in your inbox.

Friday 2 September 2016

Clear SAP Fiori Cache

A step by step guide to clear SAP Fiori Cache.



First a quick introduction to SAP Fiori Caching...

Why does SAP Fiori use caching techniques?
The SAP Fiori is used in consumer devices (Laptops/Tablets/Smartphones) where the UI/UX standards are very high.  It has a modern User Interface build on SAPUI5, and for performance SAP Fiori is using heavily caching techniques, in order to be as fast as possible to end users.



Keep in mind that in most cases SAP Fiori is installed on premise, using company's network infrastructure which many times suffers from network latencies, especially in complex and distributed landscapes.

In order to overcome these problems SAP Fiori has the following Cache Layers:

  • SAP Backend System Cache - Usually OData Services related cache
  • SAP Netweaver Gateway Cache - OData Services, Bsp App and Fiori Configuration Caches
  • SAP Web Dispatcher Cache - HTML,CSS and JS Code cache
  • SAP Fiori Client/ Web browser Cache - Cache of the end user's device


When should I clear SAP Fiori Cache?
Usually SAP Fiori cache should be cleared when a change has been made in its configuration, in OData Service, in a Fiori BSP App, in a Theme or when you are applying patches/notes. Also when you are facing strange issues with SAP Fiori, a good point to start the troubleshooting  is by clearing the SAP Fiori Cache.

Steps to clear the SAP Fiori Cache...

Step 1. Clear backend Cache
Execute TCODE /IWBEP/CACHE_CLEANUP for each of your backend systems (SAP ERP,CRM etc)
Select check box "Cleanup Cache in all models"



Step 2. Clear SAP Gateway Cache

2.1 Rebuild the custom theme  and clear the theme cache if something related to the theme has changed or the system has been patched:
  • Rebuild theme using by accessing 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.




  • Clear the Fiori Theme Cache by executing in your SAP Gateway system TCODE /ui5/theme_tool. Double click on the [Invalidate Cache] button.  



2.2 Execute TCODE /IWBEP/CACHE_CLEANUP  in the SAP Gateway

Select check box "Cleanup Cache in all models"

2.3 Execute TCODE /IWFND/CACHE_CLEANUP in the SAP Gateway

2.4 Execute TCODE SE38 in the SAP Gateway and run the following reports:

  • /UI2/INVALIDATE_GLOBAL_CACHES - Select Execution mode 
  • /UI2/CHIP_SYNCHRONIZE_CACHE
  • /UI2/DELETE_CACHE_AFTER_IMP
  • /UI2/INVALIDATE_CLIENT_CACHES - Select For All users
  • /UI5/UPDATE_CACHEBUSTER
2.5 Execute TCODE  SMICM.  On the Menu select Goto - HTTP Plug-in - Server Cache -Invalidate Globally


Step 3. Clear the Reverse Proxy Cache (if exists)
You should clear you Reverse Proxy Cache. Usually this is an SAP Web Dispatcher but other products could be used as well.

Step 4. Clear the Client Caches
If SAPUI5 Cachebuster has been set up correctly then no further action is needed. In other cases you should clear manually the web browser cache or the fiori client app cache.


References:
http://scn.sap.com/docs/DOC-64731

11 comments:

  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.
    www.thecreatingexperts.com (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.

    ReplyDelete
  2. Thank you For sharing this information.
    Nice Blog, Keep Updating.
    Fiori Implementation Consultancy

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

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    http://thecreatingexperts.com/selenium-training-in-chennai/



    contact 8122241286

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

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    contact +91-08122241286

    ReplyDelete
  5. Thanks for sharing this Information,

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

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    Both online and classroom training is provided.

    Contact 8122241286

    ReplyDelete
  6. Thanks for sharing this Information,

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

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    Both online and classroom training is provided.

    Contact 8122241286

    ReplyDelete
  7. I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.

    sap fico tutorial
    sap fi training

    ReplyDelete
  8. Clear Sap Fiori Cache - Sap 4 All >>>>> Download Now

    >>>>> Download Full

    Clear Sap Fiori Cache - Sap 4 All >>>>> Download LINK

    >>>>> Download Now

    Clear Sap Fiori Cache - Sap 4 All >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  9. Clear Sap Fiori Cache - Sap 4 All >>>>> Download Now

    >>>>> Download Full

    Clear Sap Fiori Cache - Sap 4 All >>>>> Download LINK

    >>>>> Download Now

    Clear Sap Fiori Cache - Sap 4 All >>>>> Download Full

    >>>>> Download LINK lR

    ReplyDelete