RSA1 Logical system name been changed for this System

While executing the Transaction RSA1 we are getting  Logical system name been changed for this System.



Error: RSA1 Logical system name been changed for this System




Solution:


Edit the Table RSBASIDOC, delete the old Lofgical name and Insert it with New one

or Delete the Partner Profile and Ports in IDOC 
T-Code we20 and we21

and Execute T-Code RSA1