Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Using IFR-XML Format with Adapter for SAP | XML Format for RFCs | Structure of Response Business Documents for RFCs
 
Structure of Response Business Documents for RFCs
If the RFC can be executed without getting an exception, a response business document is returned to the sender. It contains the export data of the function module.
This is the structure of response business documents for RFCs:
<doc:FunctionModuleName.Response
xmlns:doc="urn:sapcom:document:sap:business:rfc:functions">
<FuMod_Parameter1>...</FuMod_Parameter1>
...
</doc:FunctionModuleName.Response>
Additionally, consider the following:
*The name of the root element that identifies the response business document is defined as the concatenation of the name of the corresponding function module and the suffix .Response. It contains the namespace reference of business documents that refer to RFCs ("urn:sap-com:document:sap:business:rfc").
*Export parameters and tables of the RFC appear as sub-elements of the root element. These sub-elements have the same name as the parameters defined in the function module interface. Within these elements, the SAP-internal data structures are presented in a serialized form in accordance with the specification Serialization of ABAP Data in XML.