cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connection failed - When using code created by "GENERATE PHP" button

Former Member
0 Kudos

Hi All,

I can use the saprfc_test.php to login, call a BAPI and return data from SAP. But on the same BAPI screen if I click the generate php button and copy the new .php file into my /htdocs/saprfc folder and execute it the browser it returns with "RFC connection failed"

I am totally stuck, please can anybody help?

Rob.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I needed to specify "MSHOST"=>"", Its strange that this was not neccessary for interactive scripts but the problem is solved