cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP RFC configuration issue

Former Member
0 Kudos

Hi All,

I am doing TCP/IP RFC configuration since I am new to SAP, I am facing issue during configuration.

Error Detai from SAP (SM59)

  • Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
  • RETURN CODE: 679

I followed few threads related to TCP/IP RFC configuration

here I am mention the process

To register the program login into the OS level as sudo su – <sid>adm and execute the following command.
 rfcexec –g<program id> -a<gateway host name> -x<gateway service>
rfcexec is the server program name, the <program id> can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The <gateway host name> and <gateway service> can be obtained from the transaction SMGW.
  
The connection will fail once this command is terminated or the user executing this command logs off
To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini
To do this, execute the following command 
sudo su – <sid>adm
 rfcexec –D<destination name>
<destination name> is the RFC destination name in SM59
Eg: rfcexec –DXYZ
 Where XYZ is the name of the RFC destination in SM59

Also I referred SAP Note 353597

Can anyone guide me to fix the issue.

Thanks in advance,

Arun.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Arun,

Su - <sid>adm

cdexe

Then use the rfcexec.

Regards,

Prithvi