Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Built-in Services | Sample Services | sample.sap.Helpers:invokeAndReturnXml
 
sample.sap.Helpers:invokeAndReturnXml
This internal service is invoked by handleRfcXmlPost.
Input Parameters
serverName
The SAP connection alias for the SAP server on which to execute the function module. The alias must match a configured SAP connection on Adapter for SAP.
$rfcName
Name of the function module to be invoked.
$tid
Optional. Specify TID for transactional invoke.
$envelope
Optional. Set to "bXML" to encode the results of the function module call in bXML format.
Return Values
xmlData
XML message representing the response of the function module