Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML 

Transformations for XML

The AS ABAP kernel contains processors for the following transformations:

Appropriate transformation programs can be created in the ABAP repository and called using the following statement:

The possible transformations fulfill the following purposes:

  • XSL transformations transform XML to XML.
  • Simple transformations serialize ABAP data to XML and deserialize XML data to ABAP.

To also access ABAP data using XSL transformations, the asXML format can be used as an intermediate format, which defines a mapping between ABAP data and XML:

The source and target of these transformations can be ABAP data objects, XML data in strings, or internal tables or objects from class libraries for XML.

Other versions: 7.31 | 7.40 | 7.54


Example

The transaction STDEMO demonstrates various transformations from ABAP data to XML and JSON.

Continue

XSL Transformations

ST - Simple Transformations

asXML - Canonical XML Representation

CALL TRANSFORMATION