SAP ST SERIAL DESERIAL



Get Example source ABAP code based on a different SAP table
  



ABAP_ST - Serialization and Deserialization
Serialization and deserialization are primarily based on following schema:
During serialization, the literal elements of templates are passed to the target XML data unchanged and the ST statements specified in between are executed.
In deserializations, the source XML data is handled as an inbound stream and compared to the template element by element. Identically named elements (or attributes or texts) of the inbound stream are consumed if they are at the same position in the ST program or if there is a statement 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:
Literal Template Content
Non-Literal Attributes
Namespaces
Transformation of ABAP Values
Value Assignments
Reading and Writing Variables
Flow Control
When a Simple Transformation is defined, it must be noted whether the serializations and deserializations are symmetric .



Latest notes:

In serializations and deserializations, the XML data is processed in the form of writer streams and reader streams. When ABAP methods are called from Simple Transformations, processing these XML streams is possible.
Serializations and deserializations are subject to the general restriction that the content of a data root cannot be modified by serialization and only writes are possible to a data root in deserializations.
NON_V5_HINTS
ABAP_HINT_END