Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

Resetting hosts and services cache in AS ABAP

$
0
0

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.


Viewing all articles
Browse latest Browse all 5139

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>