BAPIencode
The service converts a BAPI call that is represented in a pipeline to an XML string in a format specified by the SAP bXML specification.
- Input parameters
-
- objectName
- Name of the business object.
- bapiName
- Name of the BAPI.
- $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.
- true for call.
- false for response. Default.
- $abapexception
- Optional. If this object is in the pipeline, an exception document is created.
- $metabapi
- Optional. Contains metadata information about the BAPI that must be encoded.
- Return values
-
- xmlData
- A document in bXML format as a string.