clientInvoke
The service starts an RFC function module in synchronous mode on an SAP system.
- Input parameters
-
- serverName
- SAP system alias on which the function module is started. The name must match a configured RFC connection alias at SAP® ERP.
- $rfcnamep
- Name of the function module to be started.
- $client
- Optional. Client for the session. If no client is specified, the client that is specified in the SAP system alias settings is used.
- $user
- Optional. Username for the session. If no user is specified, the default user is used.
- $pass
- Optional. Password for the session. If the password is not specified, then the user and password is looked up in the SAP User store.
- $language
- Optional. Language used during the session. If no language is specified, the default language is used.
- Return values
-
The service returns the outputs (exports and tables) returned by the function module.
Example
The service is used when you are directly calling an RFC on an SAP system without creating an RFC adapter service. When an RFC adapter service is used, this service is started implicitly.