SAP SXML FORMAT TRAFOS ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_SXML - Transformation of Formats
This example demonstrates the transformation of various XML formats.

ABAP_SOURCE_CODE
DEMO CL_DEMO_SXML_XML_TO_BNR_TO_XOP

ABAP_DESCRIPTION
An XML string reader is filled with a byte string that contains XML data in XML 1.0 format and UTF-8 representation. This data is produced by the conversion of a text string from the current code page.
The method SKIP_NODE is used to pass the XML data of the reader to an XML writer for the Binary XML format. This data is then read to binary_xml.
The XML data in Binary XML format is passed to a further XML string reader and then transformed to an XOP writer.