!--a11y-->
Invalidating Objects in the Cache 
You must make it possible to invalidate an object in all the ICM Server Caches it is located in the SAP system. This may be necessary if, for example, a picture in the MIME repository has changed.
If an object has to be invalidated, all servers in the system must be notified by RFC that this object is no longer up to date and should be invalidated. The next time the object is requested, the up-to-date version of it must be re-loaded into each cache.
For a description of how to identify cache objects that have to be invalidated, see Identifying Objects.
You invalidate objects using method calls from the application (BSP application, HTTP request handler) or from the system (ICM monitor).
To invalidate objects in the cache, you can use the following static methods of the class CL_HTTP_SERVER. You can call the methods from your application.
Invalidates the object specified in the ICM Server Cache. This method has the following input parameters:
● The ID of the object to be invalidated
● The ID type
● The scope (local or global invalidation) Local means that the entry is invalidated in the ICM cache of the instance on which the method is called. Global means that the entry is invalidated for all instances of the SAP system.
Invalidates a specified list of objects in the cache. The input parameters are a list of IDs and scope.
Invalidates all objects in the ICM Server Cache.
You can also
invalidate individual entries or the entire cache from the ICM Monitor
(transaction SMICM). This is
described in
Monitoring and
Administrating the ICM Server Cache.