Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Built-in Services | bXML Services | pub.sap.bapi:createTemplate
 
pub.sap.bapi:createTemplate
Generates a bXML document template for the definition of a BAPI in an SAP system.
Input Parameters
serverName
SAP system alias for the SAP system that is used as a repository. The alias must match a configured RFC connection alias at Adapter for SAP.
objectName
Name of the business object to encode.
bapiName
Name of the BAPI.
$encoding
Optional. Specifies the encoding used in the output document's XML header, e.g. iso-8859-1.
$call
Optional. Flag indicating whether the pipeline is interpreted as a call or as a response. Possible Values are:
*true for call.
*false for response. Default.
Return Values
xmlData
The bXML template for the BAPI as a string.