Quantcast
Channel: SCN : All Content - Scripting Languages
Viewing all articles
Browse latest Browse all 522

PHP: RFC Logon problems

$
0
0

Hey guys,

 

I've done many implementations regarding SAP via RFC in PHP.

 

One stranger problem that I have is that we've created a new CLIENT and I want to connect to it.

 

  1. I've created a brand new user with all the required parameters and authorizations, direct copy from the main client server
  2. I've changed the client number from 200 to 300
  3. PHP extension is installed and it's working with the client 200
  4. My credentials are 100% correct
  5. Everything seems to be okay until the next message

 

Warning: RFC Error Info :
Group : 103
Key : RFC_ERROR_LOGON_FAILURE
Message : Name or password is incorrect (repeat logon)

 

My configuration look like this

 

require_once("sap/saprfc.php");
$login = array (            "ASHOST"    =>  "myIp",            "SYSNR"     =>  "00",            "CLIENT"    =>  "300",            "USER"      =>  "myUser",            "PASSWD"    =>  "myPass",            "LANG"      =>  "EN",            "CODEPAGE"  =>  "1100"
);

 

Any suggestions regarding this weird problem ?

Thank you


Viewing all articles
Browse latest Browse all 522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>