CallFunction Method
Calls a remote function located on the SAP system.
Object Oriented Interface
public function doCallFunction();
Procedural Interface
inerp_sapclient_do_callfunction($res);
Remarks
Before using the CallFunction method, you must first set the FunctionName property and call GetFunctionInfo to retrieve a list of the RequestParameters, ResponseParameters, and tables used by the remote function you wish to execute. Set any RequestParameters you wish to send, and then use the CallFunction method to execute the remote function.
If you do not call GetFunctionInfo before CallFunction, the class fails with an error
If you wish to ensure that the remote function is called only once, even if you retry the same transaction again (for example, if there was a timeout or connection error), set the TransactionMode to tmTransactional and retrieve a TransactionId with the CreateId method before using CallFunction