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 - Transformation of ABAP Values →ST - tt:value, Structures
Syntax
<tt:value [ref="node"] [map="..."]
[length|minLength|maxLength="len"]
[xsd-type...] />
Effect
The serialization and deserialization of structures results directly from the addressing rules, because the structures can be mapped directly to the tree structures that start from the data roots. When the current node is bound to an elementary component of an ABAP structure, the structure can be processed with tt:value just like an elementary data object.
Examples
The three ST programs from the sections
can transform a nested ABAP structure symmetrically. The following program can call these three ST programs:
The result of the serialization is the same XML data for all three simple transformations: