Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  Simple Transformations 

ST - Serialization and Deserialization

Serialization and deserialization is primarily based on following schema:

  • During serialization, the literal elements of templates are passed to the target XMLdocument unchanged; the ST commands specified in between are executed.
  • During deserialization, the source XML document is handled as an inbound stream and compared to the template element by element. Elements (or attributes or texts) of the inbound stream with the same name are consumed if they are positioned in the ST program at the same place or if a command is positioned there that can process the element. After the successful comparison or consumption of the element, the comparison of the subsequent element starts.

Serializations and deserializations can be divided into the following topics:

When you define a simple transformation, note whether the serializations and deserializations are symmetric.

Other versions: 7.31 | 7.40 | 7.54


  • During serialization and deserialization, the XML documents are processed in the form of write and read streams. When ABAP methods are called from simple transformations, you have the option of editing these XML streams.

  • Serializations and deserializations are subject to the general restriction that the content of a data root cannot be modified by serialization; only write access is possible to a data root during deserialization.


ST - Literal Template Content

ST - tt:attribute, Non-Literal Attributes

ST - tt:namespace, Namespaces

ST - Transformation of ABAP Values

ST - Value Assignments

ST - Reading and Writing Variables

ST - Flow Control

ST - Symmetry of Serialization and Deserialization

ST - Representation of ABAP Values