SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Data Interfaces and Communication Interfaces → ABAP and XML → Transformations for XML → Simple Transformations → ST - Serialization and Deserialization →ST - Representation of ABAP Values
Some ST commands require ABAP values value to be specified, depending on the predefined ABAP type as a function of the type. In two cases, however, value can also be specified directly. The initial value can always be specified regardless of the ABAP type.
Data Type | Representation |
Initial value (all ABAP types) | Initial |
4 byte integer (ABAP type i) | I(value) | value |
Binary floating point numbers (ABAP type f) | F('value') |
Byte strings (ABAP types x and xstring) | X('value') |
Decimal floating point numbers (ABAP types decfloat16, decfloat34) | DECFLOAT16('value'), DECFLOAT34('value') |
Packed numbers (ABAP type p) | P(value) |
Numeric text fields (ABAP type n) | N('value') |
Character strings (ABAP types c and string) | C('value') | 'value' |
Character-like date fields and time fields (ABAP types d and t) | D('value'), T('value') |