Hi,
I had problems using saprfc when I was try to call
functions with table import parameters.
The table import parameters were ignored.
I changed the saprfc class code, in the callFunction
function:
Original code:
// Set Table-Parameters (importing-values)
.....
@saprfc_table_append($this->func_id,$name,$data);
New code:
.....
@saprfc_table_append($this->func_id,$name,array
($key=>$data));
example:
$result=$sap->callFunction("RFC_READ_TABLE",array
(array("IMPORT","QUERY_TABLE","E070"),
array
("IMPORT","ROWCOUNT","30"),
array
("TABLE","OPTIONS",array("TEXT"=>"TRKORR
LIKE 'D1RK94%'")),
array("TABLE","DATA",array()),
array("TABLE","FIELDS",array())
));
With this correction, the system takes right the table
import parameters.
Good Luck
Cristian Dotro