ABAP Keyword Documentation → ABAP - Reference → Data Interfaces and Communication Interfaces → ABAP and XML → Transformations for XML → ST - Simple Transformations → ST - Structure of ST Programs
ST - Data Declarations
In ST programs, data can be declared using the following statements:
- tt:root defines data roots for ABAP data interfaces.
- tt:parameter defines parameters as formal parameters.
- tt:variable defines variables as local data.
If these statements are specified outside of a template in the context of the transformation, the data declarations apply for the main template.
Within a subtemplate, the statements can be used in the element tt:context to declare local data of the subtemplate.
Other versions: 7.31 | 7.40 | 7.54