on 04-03-2013 1:49 PM
Hi,
Sorry my poor English, i'm brazilian.
I need use the OPTIONS table =, but I didn't know how to use.
When I execute my PHP code:
Warning: CALDBG: Can't find structure item TEXT for interface OPTIONS, __cal_set() in .....
saprfc_import ($fce,"QUERY_TABLE",$Table);
saprfc_import ($fce,"DELIMITER","/");
saprfc_import ($fce,"NO_DATA","");
saprfc_import ($fce,"ROWSKIPS","");
saprfc_import ($fce,"ROWCOUNT","30");
//Pass table parameters
saprfc_table_init ($fce,"DATA");
saprfc_table_init ($fce,"FIELDS");
saprfc_table_init ($fce,"OPTIONS");
saprfc_table_append ($fce,"OPTIONS", array ("TEXT"=>"PERIODO = '201204'"));
I tried this too
saprfc_table_append ($fce,"OPTIONS", array ("0"=>"PERIODO = '201204'"));
//Call and execute the function
$rfcresults = saprfc_call_and_receive ($fce);
In 'red case' the PHP don't show error, but not respect the where clause.
help me?
Thanks,
Hi Willians,
One last question: what is the data type for the field 'PERIODO'?
Thank you
Bye,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Willians,
One question: Is 'PERIODO' a field of your table $Table?
And, what about if you test the FM in SE37 with the options "PERIODO = '201204'"? Do you get a result?
Alternatively, what is the result when reading the table by means of the saprfc_test script (again using that options)?
Just let me know.
Thank you and bye,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.