Hi all:
The other day I mailed Eduard Koucky, creator of the PHP SAPRFC connector about the new version of his connector....Sadly, he told me that he has switched to .NET programming, so no more versions are going to come out -:'(
Gladly, the last avaliable version is very stable, so the only thing left is to continue using it -:)
Greetings,
Blag.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi
I was sent here because it on http://enterprisegeeks.com/blog/2006/03/20/getting-started-with-php-and-sap/ I'm on a dead end.
I've been working with SAPRFC for PHP on Windows 2003 for over 3 years. Recently we moved our PHP server to an external Linux server. Since then we have connection problems. Only refreshing the page makes it connect. The VPN tunnel/connection has no issues.
In ST22 we see some "durations" highlighted in red:
|14:11:09.069|1.459.562|SAPLZBA |prddb_PRD |Server | | | 1| 0| |vps.testserver.com prddb_PRD_00 Server ZBAPI_CUSTOMER_GETINFO2 5.976 251
|14:13:44.941|1.578.382|SAPL2032|prddb_PRD |Server | | | 1| 0| |vps.testserver.com prddb_PRD_00 Server BAPI_SALESORDER_CREATEFROMDAT2 5.120 5.902
And it looks like it is only these bapis that cause problems and need refreshing.
Did anyone else have this problem? Can that "duration" be changed? Should we amend the BAPIs?
In the PHP logs I found this:
[Tue Apr 07 12:19:45 2009] [error] [client 83.37.79.157] PHP Warning: RFC Error Info :
Group : 102
Key : RFC_ERROR_COMMUNICATION
Message : SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=GWSERV=, GWSERV=sapgw20, ASHOST=100.100.100.58, SYSNR=20
LOCATION CPIC (TCP/IP) on local host
ERROR hostname u2018GWSERV=u2019 unknown
TIME Tue Apr 7 12:19:45 200
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -2
MODULE niuxi_mt.c
LINE 388
DETAIL NiPGetHostByName2: hostname u2018GWSERV=u2019 not found
SYSTEM CALL gethostbyname_r
COUNTER 1
in /var/www/vhosts/testserver.com/httpdocs/cat/cart.php on line 19, referer: https://www.testserver.com/cat/search.php
***
[Tue Apr 07 12:19:25 2009] [error] [client 84.37.79.167] PHP Warning: RFC Error Info :
Group : 101
Key : RFC_ERROR_PROGRAM
Message : Missing R3NAME=u2026 or ASHOST=u2026 in connect_param in RfcOpenEx
in /var/www/vhosts/testserver.com/httpdocs/cat/index.php on line 96, referer: https://www.testserver.com/cat.php
Maybe this is not related but I try to give as much as I found (definitely NOT being an expert to be honest)
Next to that I wonder about the future of SAPRFC. We have built a webtool for over 3 years and are really worried that all our efforts will need to be rebuilt. I see info about "sapnwrfc for PHP" but I'm not sure if I already need to change to that version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.