cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Connection fails, but works over saprfc_test.php

Former Member
0 Kudos

Hi,

I can make a connection to SAP using saprfc_test.php but when I try and do this with my php script at the command line it fails with this error:

C:\Documents and Settings\arundelr>php -c C:\www_root\Apache2.2\php.ini C:\www_r

oot\htdocs\newphpsaprfc\parser.php

Order Number: 0000427138

PHP Warning: RFC Error Info :

Group : 102

Key : RFC_ERROR_COMMUNICATION

Message : Connect to message server failed

Connect_PM MSHOST=sapdev.host.com, R3NAME=FRD, GROUP=PUBLIC

LOCATION CPIC (TCP/IP) on local host

ERROR Group PUBLIC not found

TIME Mon Jul 09 17:28:30 2007

RELEASE 640

COMPONENT LG

VERSION 5

RC -6

I do not specify a group when I use saprfc_test.php but I notice this is reporting it as PUBLIC. Does anybody have any bright ideas?

cheers

Rob.

MODULE lgxx.c

LINE 3531

DETAIL LgIGroup

COUNTER 1

in C:\www_root\htdocs\newphpsaprfc\includes\processor.php on line 15

RFC connection failed

C:\Documents and Settings\arundelr>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

specifying "MSHOST"=>"", did the trick.