What does it do? This form of the ST statement tt:value> serializes and deserializes elementary data objects. The optional attribute ref> can be used to define the current node> for the statement. If ref> is not specified, the current node of the surrounding element is used. Elementary ABAP values are mapped to XML values and vice versa in accordance with the asXML rules for elementary types>. A special mapping > is defined for data objects whose elementary data type refers to special domains in the ABAP Dictionary.
map>> can be used to specify a mapping list that maps multiple values to a single value.
length>>, minLength> >, or maxLength>> can be used to specify a length.
The value can be validated by specifying xsd-type...>>.
option='...,...'>> can be specified to define special formats for certain data types, so that the formats override the associated mapping rule.
Serialization If map>> is not specified, the value of the elementary ABAP data object that is bound to the current node is inserted into the XML data in place of the statement in asXML format or in the format specified in option>> in serializations.
Deserialization During deserialization, the current value of the XML inbound stream is passed to the ABAP data object. The end of the XML value is determined either by the end of the text node (for example, at the element end) or by the beginning of a literal text following directly in the ST program. The XML value must match the asXML representation of the ABAP data type or a format specified in option>> and be in its value range.