Ansicht
Dokumentation

ABENST_TT_VALUE_ELEMENTARY - ST TT VALUE ELEMENTARY

ABENST_TT_VALUE_ELEMENTARY - ST TT VALUE ELEMENTARY

ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

- tt:value, Elementary Data Objects

<tt:value $[ref="node"$] $[map="..."$]
                       $[length$|minLength$|maxLength="len"$]
                       $[xsd-type...$]
                       $[option="...,..."$] />


Effect

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.
  • 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.

Example

Simple Transformation, tt:value






PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4269 Date: 20240510 Time: 105418     sap01-206 ( 68 ms )