SAP ST ADDRESSING ROOT NODE



Get Example source ABAP code based on a different SAP table
  



ABAP_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.

Addressing when the Current Node is Undefined
If a data root is not hidden 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 at any position of the main template using .root
where the period (.) bypasses cases where the root is hidden by a current node.



Latest notes:

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