Skip to Content

Resetting hosts and services cache in AS ABAP


It is not uncommon that a TCP service (e.g., sapmsDEV) is not known to AS ABAP while working on the definition of an RFC destination sometimes forcing the restart of the SAP instance.


SAP AS ABAP loads services and host names in cache. Changes to services and hosts files are not loaded automatically.


A restart of the SAP instance can be avoided by invalidating the host name buffer (which includes the services buffer).

Call transaction SM51 and use menu Goto -> Host Name Buffer -> Reset

Here there are options to reset the host name and services buffer for different areas of AS ABAP.

I have not noticed a negative impact for doing this operation even in the busiest systems, AS ABAP will reload its cache and the TCP service definition will be known to the system which would allow you to complete the RFC configuration.

Another scenario I faced recently had to do with a change of IP in hosts file. ICM had the old IP cached and connections were not going though. Resetting the ICM host name cache solved the issue without disruption end users.

You must be Logged on to comment or reply to a post.
    • Hi Rajarshi,

      $SYNC resets all the buffers in the application server (table, nametab, etc). Although it may be useful in some situations this targets all buffers which affects performance considerably.