SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Data Interfaces and Communication Interfaces → ABAP and XML → Transformations for XML → Simple Transformations → ST - Serialization and Deserialization → ST - Flow Control →ST - tt:serialize, tt:deserialize, Transformation Direction
Syntax
<tt:serialize>
...
</tt:serialize>
<tt:deserialize>
...
</tt:deserialize>
Effect
You can use these ST commands to limit parts of templates for execution during serialization or deserialization:
All the template elements listed within the tt:serialize element are only considered during serialization. All the template elements listed within the tt:deserialize element are only considered during deserialization.
Example
The following Simple Transformation serializes a structure and deserializes to an internal table:
The following ABAP program can call the transformation:
After deserialization, the internal table contains three rows with the values of the structure components.