RFCinboundProcess

The service invokes an RFC on an SAP system. The service can handle both RFC and tRFC calls.

Input parameters
serverName
Optional. Alias of the SAP system to which the connection must be established. The name must match a configured RFC connection alias at SAP® ERP. If serverName is set, it overrides the value of serverName in transportParams.
transportParams
A document with the following key/value pair:
  • serverName. SAP system alias for the SAP system on which invoke the RFC. The alias must match a configured RFC connection alias at SAP® ERP.
$tid
Optional. TID of the transaction. If you want to process the RFC call asynchronously by using tRFC, specify the transaction ID. If you want to perform a synchronous RFC call, do not specify this parameter.
$action
Optional. Transaction state. Specify one of the following codes:
  • 1. Default. Execute.
  • 4. Confirm.
$rfcname
Optional. RFC that must be called.
$queueName
Optional. Name of the SAP system inbound queue. Specify a value for a qRFC scenario.
Return values
$runtime
Total invocation time (ms), including processing time within SAP® ERP.
$rfctime
Time (ms) spent within the RFC library to complete the invocation.
$encoding
MIME-compliant character set corresponding to the session’s SAP code page.
$call
A flag that indicates whether pipeline represents a request or response of a function module.
  • true for request.
  • false for response.