SAP ABAP XSLT ASXML



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

Canonical XML Representation ( ABAP_ASXML )
The canonical XML representation asXML is the format of XML data that results from a serialization of ABAP data using XSLT programs as an intermediate format, or that is required for a deserialization using XSLT. This format is also known as ABAP Serialization XML.
The canonical XML representation supports all ABAP data types. The elementary ABAP data types are mapped to a set of XML schema data types. Conversely, special domains are available for further XML schema data types.
The asXML format is significant in the following cases:
The mapping of elementary ABAP data types to XML schema data types and vice versa.
In the case of self-written XSL transformations of ABAP data to an XML format, the asXML format of the serialization result must be known.
External XML data whose content is to be deserialized into ABAP data must be transformed to asXML format.
The asXML mapping of elementary ABAP data types to XML schema data types and vice versa is also used in Simple Transformation
Description of the asXML format:
General asXML Format
Mapping of ABAP Data Types
Mapping Additional XML Schema Data Types
Mapping of XML Fragments



Latest notes:

The asXML format of serialized ABAP data or objects can be created and examined using the predefined identity transformation ID. This transformation is not, however, symmetrical with respect to text strings that contain only blanks. A symmetrical transformation that creates the asXML format of ABAP data (excluding reference variables) can be created using the ST statement tt:copy .
NON_V5_HINTS
See the executable example.
ABAP_HINT_END