RFCcreateTemplate
The service creates an RFC-XML (XRFC) template for the specified function module.
- Input parameters
-
- serverName
- SAP system that is used as a repository. This name must match a configured RFC connection alias at SAP® ERP.
- $rfcname
- Optional. Function module for which you want to create the template.
- $encoding
- Optional. Specifies the encoding that is used in the output document's XML header, for example, iso-8859-1
- $call
- Optional. A flag that indicates whether the pipeline is interpreted as a call or as a response.
Possible values are:
- true for call.
- false for response.
- $envelope
- Optional. XRFC, bXML, or SOAP. Specifies the type of document generated.
- Return values
-
- xmlData
- String. Contains the XML template that represents the RFC.
Example
Use this service to create templates for testing purposes.