This member-only story is on us. Upgrade to access all of Medium.
Member-only story
How to Effectively Clear Cache in SAPUI5 for
Immediate Code Reflection
Vladimir Balko · Follow
2 min read · Jan 26, 2024
Listen
Share
More
Introduction:
In the realm of SAPUI5 application development, encountering issues with code
changes not promptly reflecting on the Fiori launchpad is a common challenge. This
blog post aims to guide you through the process of clearing cache effectively, which
is essential when modifications in the SAPUI5 code are not immediately visible
upon accessing the application via the launchpad.
Identifying the Problem:
Developers often face the issue of delayed or non-reflecting code changes in the
Fiori launchpad after making updates in the gateway system. The root cause of this
problem lies in caching mechanisms similar to browser cookies, where the old code
gets cached, preventing the new codeOpen
from
being displayed on the launchpad.
in app
Solution Approach:Search
The process begins with uploading SAPUI5 applications to the SAP Gateway system
using the SE38 transaction, specifically the program /ui5/ui5_repository_load .
Following the upload, it's crucial to manually clear all caches to ensure the
launchpad accesses a fresh copy of the code.
Step-by-Step Cache Clearance Methods:
Programs to Delete Cache:
Navigate to Transaction SE38 and execute the following programs:
/ui2/delete_cache_after_imp
/ui2/invalidate_client_caches
/ui5/app_index_calculate (For recalculating app index, choose 'singleUI5
repository' tab, enter the app name, and execute)
/ui2/invalidate_global_caches (Note: Use with caution as it restructures the
target mapping index for all apps for all users)
/ui5/del_odata_metadata_cache
T-codes for Cache Cleanup:
Execute these T-codes for comprehensive cache clearing:
Front-end cache: /n/iwfnd/cache_cleanup
Back-end cache: /n/iwbep/cache_cleanup
Global cache: /nsmicm (Navigate to HTTP Plugins -> Server Caches -> Invalidate
globally )
Service cache: /n/iwfnd/maint_Services (Select the service, then Service
implementation -> Cleanup cache )
Final Step:
After completing the cache clearance, clear the browser cookies and access the
application from the launchpad. The changes made in the application should now
reflect immediately in the Fiori launchpad.
Conclusion:
By following these steps, developers can ensure that their code changes in SAPUI5
applications are reflected without delay on the Fiori launchpad, enhancing the
efficiency of the development process.
Sapui5 Cache Clearing
Fiori Launchpad Updates
Se38 Transaction
Sap Gateway
Code Reflection In Sap
Follow
Written by Vladimir Balko
42 Followers · 59 Following
No responses yet
What are your thoughts?
Respond
More from Vladimir Balko
Vladimir Balko
SAP BTP Event Mesh — from S4 to SCI
Explore SAP BTP Event Mesh for seamless communication using asynchronous events,
integrating on-premise and cloud applications efficiently.
Jun 24, 2024
3
Vladimir Balko
A Guide to Calling RFC Function Modules from SAP Integration Suite
Learn to call RFC function modules from SAP Integration Suite using the RFC receiver adapter
for seamless integration of systems and apps
Jun 23, 2023
3
Vladimir Balko
A Simple Guide to Creating SSH and PGP Keys with PuTTYgen and
Kleopatra
Learn to create SSH and PGP keys with PuTTYgen and Kleopatra, and secure your cloud
services effectively.
Oct 31, 2024
10
Vladimir Balko
Filling Headers or Properties Using XSLT Mapping in SAP Cloud
Integration
Learn how to use XSLT in SAP Cloud Integration to dynamically set headers and properties for
seamless data flow
Aug 6, 2024
2
See all from Vladimir Balko
Recommended from Medium
Jessica Stillman
Jeff Bezos Says the 1-Hour Rule Makes Him Smarter. New Neuroscience
Says He’s Right
Jeff Bezos’s morning routine has long included the one-hour rule. New neuroscience says yours
probably should too.
Oct 30, 2024
20K
521
Austin Starks
You are an absolute moron for believing in the hype of “AI Agents”.
All of my articles are 100% free to read. Non-members can read for free by clicking my friend
link!
Jan 11
4K
169
Lists
Staff picks
802 stories · 1577 saves
Stories to Help You Level-Up at Work
19 stories · 922 saves
Self-Improvement 101
20 stories · 3234 saves
Productivity 101
20 stories · 2736 saves
Karolina Kozmana
Common side effects of not drinking
By rejecting alcohol, you reject something very human, an extra limb that we have collectively
grown to deal with reality and with each…
Jan 21, 2024
54K
1565
In Level Up Coding by Jacob Bennett
The 5 paid subscriptions I actually use in 2025 as a Staff Software
Engineer
Tools I use that are cheaper than Netflix
Jan 7
5.8K
124
Ondrej Kvasnovsky
How to avoid DTOs in Spring JPA
In the world of Spring Boot development, we often find ourselves caught in the tedious cycle of
creating Data Transfer Objects (DTOs) and…
Sep 26, 2024
Harendra
457
13
How I Am Using a Lifetime 100% Free Server
Get a server with 24 GB RAM + 4 CPU + 200 GB Storage + Always Free
Oct 26, 2024
8.6K
132
See more recommendations