SAP Message XI_GRMG004 - RFC destination &1 exists but has the wrong type &2

XI_GRMG004 : RFC destination &1 exists but has the wrong type &2