How to Refresh Cache on Gateway and ECC

The following steps should be done to ensure a smooth transition to the new version of the App especially if the underlying OData services have been changed during the development.

For Embedded Deployment, perform all the steps in the ECC or Backend system.

For Central Hub Deployment, perform steps 1 to 5 in the Gateway or Hub system, and steps 4 and 5 in the ECC or Backend system.

Procedure

Step 1

Go to transaction /IWFND/CACHE_CLEANUP or open the program /IWFND/R_MED_CACHE_CLEANUP.

Select the checkbox Cleanup Cache for all Models and execute.

Step 2

Go to transaction SMICM.

In the menu, navigate to Goto > HTTP Plug-in > Server Cache > Invalidate Globally.

Step 3

Go to transaction /IWFND/MAINT_SERVICE.

In the Service Catalog, select the OData service that has been updated by the recent development.

In the ICF Nodes, select the button SAP Gateway Client.

In the SAP Gateway Client window, navigate to Metadata > Cleanup Cache > On both systems.

Step 4

Go to transaction /IWBEP/CACHE_CLEANUP or open the program /IWBEP/R_MGW_MED_CACHE_CLEANUP.

Select the checkbox Cleanup Cache for all Models and execute.

Step 5

Go to transaction SE38 and execute the program /UI5/APP_INDEX_CALCULATE.

This can be configured as a background job to run every 30 minutes. Please refer to the SAP guidelines in the SAPUI5 Application Index documentation.

It is recommended to also clear the browser cache by pressing the keys [Ctrl], [Shift], and [Del] on your Keyboard. A new window opens, where you can set up the options to delete the cache.