ARTIClE
Simple Transformation , Structures
This example demonstrates the symmetrical serialization and
deserialization of a nested structure.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
In the ABAP program, a nested structure struc1 is serialized to
xml_string using the simple transformation
DEMO_ST_STRUCTURE and deserialized using the same transformation.
The simple transformation
DEMO_ST_STRUCTURE has the following form:
The transformation consists of a template temp that defines the
structure of the XML data and establishes relationships between
value nodes and components of the structure. The ST
statements tt:value and
tt:copy are used to serialize and
deserialize the structure components. The reverse transformation
generates the same content in the structure result as in
struc1 .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved