Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Built-in Services | XRFC Services | pub.sap.rfc:createTemplate
 
pub.sap.rfc:createTemplate
Creates an RFC-XML (XRFC) template for the specified function module.
Input Parameter
serverName
SAP system used as a repository. This name must match a configured RFC connection alias at Adapter for SAP.
$rfcname
Optional. Function module for which you want to create the template.
$encoding
Optional. Specifies the encoding used in the output document's XML header, e.g. iso-8859-1
$call
Flag indicating whether pipeline represents a request or response of a function module. Possible values are:
*true for request.
*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.