ARTICLE
ABAP and XML
This section explains how XML data can be
created and read in ABAP. The main topics are
processing and creating XML data using parsers and renderers
created and used using the API s found in class libraries,
the direct transformation of ABAP data to XML format (known as
serialization) and reads of data in XML format to ABAP data
objects (known as deserialization) using transformations located as
programs in the repository.
ABAP provides the following technologies for handling
XML :
Class libraries for XML
Transformations for XML
Class libraries enable the parsing and rendering of general XML
data; transformations, on the other hand, are used mostly to serialize
ABAP data to XML and deserialize XML data to ABAP. The
technologies are linked in such a way that objects in class libraries
can be used as the source and target of transformations.
Notes
In this documentation, "XML data" generally indicates a character
string or byte string whose value is in XML format and which can
appear in various forms, such as strings or internal tables. The term
"XML document" generally indicates the representation of XML
data in DOM format.
When XML data is saved in strings or internal tables, it is best
to use byte strings or byte-like row types and the UTF-8 code
page for the representation. sXML Library
supports byte-like data only. iXML
Library and the statement CALL
TRANSFORMATION support text strings and internal tables with
character-like data types too.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved