Reputation: 9
I have the following code:
<?php
include_once ("../libs/sap.php");
$sap = new SAPConnection();
// Params: hostname sysnr
$sap->ConnectToApplicationServer ("hostname", "sysnr");
// Params: client username password language
$sap->Open ("client", "username","password","EN");
$sap->PrintStatus();
$sap->GetSystemInfo();
echo "<BR><PRE>"; print_r ($sap); echo ("</PRE>");
$sap->Close();
?>
I have also add the dll in php/ext folder and change the php.ini file accordingly.
DLL files are:
But I have got the message
SAPRFC extension is not installed. Exiting....
Please suggest me for the above.
Are any changes required in SAP to enable SAPRFC?
Upvotes: 0
Views: 198