cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC_ERROR_COMMUNICATION : Connect to SAP gateway failed

Former Member
0 Kudos
3,105

Hi all,

I recently tried to copy the intranet's code of my firm on a new virtual machine, but after the php / saprfc installation, i got the following error :

RFC Error Info :

Group : 102

Key : RFC_ERROR_COMMUNICATION

Message : SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM

GWHOST=10.222.xx.29,

GWSERV=sapgw00,

SYSNR=00 LOCATION CPIC (TCP/IP) on local host

ERROR partner not reached (host 10.222.xx.29, service 3300) 

TIME Tue Oct 30 16:16:24 2012

RELEASE 640

COMPONENT NI (network interface)

VERSION 37 RC -10

MODULE nixxi_r_mt.cpp

LINE 8778

DETAIL NiPConnect

SYSTEM CALL connect

ERRNO 13

ERRNO TEXT Permission denied

COUNTER 2 in /var/www/html/intranet/sap/sapclasses/saprfc.php on line 75

In the service file , have the following entries:

sapgw00     3300/tcp

It's the first time I have to deal with sap, especially with saprfc, if someone could help me, Thanks in advance.

Regards,
Romain

View Entire Topic
Former Member
0 Kudos

Dear Romain

1) Configuration issue. The IP address or the port is incorrect.

2) The gateway on localhost with instance number 00 is not running.

3) Please check if you can reach the gateway from the operation system your j2ee engine is running on.

telnet 10.222.xx.29 sapgw00

telnet 10.222.xx.29 sapgw01

Which one of the above works?

Check in the transaction SMGW  - goto parameters display - then you

will see the parameters configured on your gateway host.

Thanks

Tapan