Ansicht
Dokumentation
ABENST_TT_WRITE - ST TT WRITE
General Data in Customer Master rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
- tt:write, Write Variables
tt:write var="variable" $[map="..."$]
$[length$|minLength="len"$]
$[xsd-type...$] />
Effect
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.
Example
Serializes the start value of a variable.
tt:transform
xmlns:tt="http://www.sap.com/transformation-templates">
tt:variable name="VARI" val="333" />
tt:template>
X
tt:write var="VARI"/>
/X>
/tt:template>
/tt:transform>
The result of the serialization is:
X333/X>
CPI1466 during Backup SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 2919 Date: 20240425 Time: 091729 sap01-206 ( 38 ms )