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

ERROR Connection SAP PHP RFC

Former Member
0 Likes
428

Hi,

Please what is mean?

Why I can't connect with SAP server? I use SAPRFC for PHP 5.1 and Linux Debian

        • ERROR file opened at 20091109 162108 CET, SAP-REL 640,0,299 RFC-VER 3 1093028 MT-SL

T:3075020544 Error in program 'apache2': ======> SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM GWHOST=192.0.0.202, GWSERV=sapgw00, ASHOST=192.0.0.202, SYSNR=00

LOCATION CPIC (TCP/IP) on local host

ERROR connection to host 192.0.0.202, service 3300 timed out

TIME Mon Nov 9 16:21:08 200

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -12

MODULE nixxi_r_mt.cpp

LINE 1109

DETAIL NiPConnect

COUNTER 1

Thanks for your help

Akda

View Entire Topic
former_member66264
Contributor
0 Likes

Check the connection settings:

00 is only when the system number is 00 ( check in SM51) last 2 number from the server is the sysnr.

these entries need to be added to /etc/services ( or the wintel variant) /windows/system/...

sapgw00 3300/tcp

sapdp00 3200/tcp

sapms<SID> 3600/tcp

is your sysnr is for example 40

sysnr= 40

GWSERV=sapgw40

in service file:

sapgw40 3340/tcp

sapdp40 3240/tcp

sapms<SID> 3640/tcp

Etc

Let us know if this solved your problem!

Former Member
0 Likes

pas mieux !

THANKS YOU BUT :

ALWAYS THE SAME PB

        • ERROR file opened at 20091116 164221 CET, SAP-REL 640,0,299 RFC-VER 3 1093028 MT-SL

T:3075839744 Error in program 'apache2': ======> SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM GWHOST=192.0.0.202, GWSERV=sapgw00, ASHOST=192.0.0.202, SYSNR=00

LOCATION CPIC (TCP/IP) on local host

ERROR connection to host 192.0.0.202, service 3300 timed out

TIME Mon Nov 16 16:42:21 200

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -12

MODULE nixxi_r_mt.cpp

LINE 1109

DETAIL NiPConnect

COUNTER 1

PLEASE HELP ME§

AKDA

former_member66264
Contributor
0 Likes

I did not mention you have to reboot to make the services file active ( on windows)

just to check connectivity:

- Can you do a normal ping to this server?

- Can you check via an RFC ping the connectivity:

other checks:

- user is not locked?

- correct profiles?

also have a look here:

[Note 460089 - Minimum authorization profile for external RFC programs]

[http://help.sap.com/saphelp_45b/helpdata/en/c9/a81a3827c011d2804900c04fadbfef/frameset.htm]

[PERL example|http://www.erpgenie.com/index.php?option=com_content&task=view&id=258&Itemid=77]

Can please copythe connection string you use?

former_member66264
Contributor
0 Likes

Do you have new information? Can you send connect string and server data so i can compare?

Former Member
0 Likes

Hello and thanks for yours answers!

I'm working : linux Debian, PHP 5

Installing and conpiling: RFC_5-20004597.SAR

ping for the server : OK

net: linux <> netasq <> sap

not a new test on de linux system, in the windows system with the same profil it's work, because, the SAPQUI is activated.

Have a good day.

Akda