serverName | Alias of the SAP system on which the transaction is committed. This name must match an RFC connection alias at Adapter for SAP. |
$client | Optional. Client for the session. If no client is specified, the default client is used. |
$user | Optional. User name 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 will be 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 | Return code in BAPI style keeping the success/failure of the commit. |