Skip to Content

Symptom

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.

Reason

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

Solution

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.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

    1. Noe Hoyos Post author

      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.

      Thanks,

      Noe

      (0) 

Leave a Reply