Get Example source ABAP code based on a different SAP table
INTERNAL
Error in RFC Destination After IP> Addresses Changed After the IP> address of a host was changed, the RFC destinations> using the host as a target do not work.
Cause and Conditions If the host name is entered when an RFC destination (for example hs0330) is defined, it is saved in table RFCDES> (destination administration) as an IP> address. This action reduces the time needed to set up RFC connections, among other things. The target host name no longer needs to be transformed to its IP> address when the connection is made. Furthermore, the length of a host name (such as a domain name server) can be any length, which is not suitable for storage in table RFCDES>. Problems occur here if the IP> address of the target host changes. For this reason, the RFC destinations in question must be modified if the IP address of the target host changes. Notes:
If the name of the target host is not to be stored as an IP> address in the database table RFCDES>, it must be entered as an SAP router name (/H/hs0311 instead of hs0311). In this case, the host name is saved as the SAP router name in table RFCDES>.
If the SAP router notation is not used when the target host is entered, the system performs the following steps internally:
The host name is transformed to its IP> address. If the transformation is successful, the IP> address is saved as the target host address in table RFCDES>.
The IP> address is transformed to its domain name server name ( DNS name>). It is possible that the DNS> name is not the same as the host name.
For example, Windows NT> displays host names in uppercase or in long notation. Hence hw1426 is displayed as HW1426> or hw1426.wdf.sap-ag.de>. The DNS> name is only used for display in the RFC destination>.
The way in which the IP> address is represented as a DNS> or host name has no effect on RFC communication.
Solution If the target host name is not entered as an SAP router name and the IP> address of the host is changed, the relevant RFC destinations must be modified.