我正在使用http://saprfc.sourceforge.net/连接到 SAP 并获得结果。
$fce = saprfc_function_discover($rfc,"ZBAPI_CUSTOMER");
$customerSAP="0000000000539";
$customerSAP=substr($customerSAP,-10);
$IMPORTT = array ("ZCUSTOMER" => $customerSAP );
saprfc_import ($fce,"CUSTOMERNO",$customerSAP);
saprfc_table_init ($fce,"ZBAPICUSTOMER");
saprfc_exception()
$rfc_rc = saprfc_call_and_receive ($fce);
saprfc_function_debug_info($fce);
saprfc_function_free($fce);
saprfc_close($rfc);
这仅搜索一位客户。
有没有办法只使用http://saprfc.sourceforge.net/而不创建新连接来搜索几个客户?