Start of Content Area

Syntax documentation Addressing the Data Roots  Locate the document in its SAP Library structure

The data roots declared on the highest hierarchy level of an ST program are the root nodes of the tree structure 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.

Addressing When the Current Node is Undefined

As long as a data root is not shaded by the definition of a current node, you can access it directly using

root

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

Addressing When the Current Node is Defined

At any position of the main template, you can access a data root root using

“.root

where the period “.“ bypasses a possible shading by a current node.

Note

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

 

End of Content Area