Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  asXML - Canonical XML Representation →  asXML - Mapping of ABAP Data Types 

asXML - Mapping of Structures

The asXML representation of structures is significant mainly for XSL transformations. In simple transformations, this representation is important only when using the statement tt:copy.

The components of an ABAP structure are represented in asXML as a sequence of subelements of the structure element. The content of each subelement corresponds to the canonical representation of the component value. The name of each subelement is the name of the corresponding component. During serialization, the subelements are represented in the order of the components in the structure. During the deserialization of the asXML representation of a structure, the order of the subelements is not important and redundant XML elements are ignored. Components of the structure for which there are no subelements remain initial.

Other versions: 7.31 | 7.40 | 7.54