sapdev logo background
sapdev logo sapdev logo
Comments

SAP ST SERIAL DESERIAL documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

ST - Serialization and Deserialization
Serialization and deserialization is primarily based on following schema:
  • In serializations, the literal elements of templates are passed to the target XML data unchanged; the ST commands 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. 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:
  • 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, note whether the serializations and deserializations are symmetric .

    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, it is possible to edit 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 writes are possible to a data root in deserializations.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




  • ST_REUSE
    ST_STATEMENTS




    comments powered by Disqus