What does it do? The statement tt:write> enables the writing of the value of a variable> or parameter> to the target XML data. variable> is used to specify the variable to be written or to specify a parameter. The same applies to the attributes map>, length>, and minLength> and to xsd-type...> as to the statement tt:value>>. The variable must represent an elementary value.
Serialization The value of the variable or the parameter is inserted into the XML data at the position of the statement, optionally according to the mapping list behind map>. Depending on the type of the variable or parameter, a mapping takes place in accordance with the asXML format>.
Deserialization The tt:write> statement is ignored in deserializations.
ABAP_EXAMPLE_VX5 The following example DEMO_ST_WRITE>> serializes the start value of a variable. TRNS DEMO_ST_WRITE The result of the serialization is: < X > 333 < /X>> ABAP_EXAMPLE_END