SAP ST TT TEMPLATE MAIN

Get Example source ABAP code based on a different SAP table
  


ARTICLE

ST - tt:template, Main Template

Syntax
<(><<)>tt:template [name='tmpl']>
...
<(><<)>/tt:template>

Effect
The statement tt:template defines a template. An ST program must contain at least one definition of a template: Each template of the transformation must be uniquely addressable. To achieve this, each template can be given a unique name, tmpl, using the name attribute and exactly one template without a name can be specified. The latter is implicitly the main template of the transformation if no template is specified in the root element, tt:transform. Template names are not case-sensitive.
The content of the main template (which can call subtemplates) represents the structure of the XML data to which the ABAP data is serialized or from which the data is deserialized.
The content of a template can consist of literal XML elements and ST commands.