Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  Transformations for XML →  ST - Simple Transformations →  ST - Addressing ABAP Data →  ST - Addressing Data Nodes 

ST - Addressing the Data Roots

The data roots declared at the highest hierarchy level of an ST program are the root nodes of the tree structures of the data nodes of the main template. Addressing a data root during the execution of an ST program means referring to the bound ABAP data object.

Other versions: 7.31 | 7.40 | 7.54

Addressing When the Current Node is Undefined

As long as a data root is not obscured by the definition of a current node, it can be addressed directly using

root

where root is the symbolic name declared after tt:root.

Addressing When the Current Node is Defined

A data root root can be addressed in any position of the main template using

.root

where the period (.) bypasses cases where the root is obscured by a current node.


Note

In subtemplates, the rules for the root nodes of their tree structures apply.