What does it do? The statement tt:clear> can be used to initialize a data root>, a variable>, or a parameter>. ref> or var> are used to specify the field that is to be initialized. If no field is specified, the current node is used implicitly. The following fields are possible:
A node node> specified in accordance with the addressing rules>.
A variable> or a parameter> variable>.
Serialization In serializations, only variables (or parameters) are initialized. If a node is specified with ref> or if the current node is specified implicitly, tt:clear> is ignored in serializations.
Deserialization In deserializations, the specified nodes or variables (or parameters) are initialized.
ABAP_EXAMPLE_VX5 The transformation DEMO_ST_CLEAR>> below demonstrates an initialization: TRNS DEMO_ST_CLEAR In deserializations, the initial value is assigned to the ABAP data object bound to the data root ROOT>. ABAP_EXAMPLE_END