Ansicht
Dokumentation
ABENCONVERSION_TYPE_UTCLONG - CONVERSION TYPE UTCLONG
General Data in Customer Master BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Source Field Type utclong
Numeric Target Fields
Target | Conversion |
i, int8, (b, s) | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
p | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
decfloat16, decfloat34 | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
f | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
Note
The methods UTCLONG2TSTMP and UTCLONG2TSTMP_SHORT of class CL_ABAP_TSTMP convert time stamp fields of the type utclong to time stamps in packed numbers.
Character-Like Target Fields
Target | Conversion |
c | The internal representation of the time stamp is converted to a character string that represents the time stamp in the notation "yyyy-mm-dd hh:mm:ss.fffffff". Between the date and time specification there is a space, and a period (.) is used as a decimal separator. If the target field is shorter than 27, the character string is truncated on the right. If the target field is longer than 27, the field is padded with blanks on the right. If the source field is initial, the target field is filled with blanks. If the source field contains an invalid value, an exception of the class CX_SY_CONVERSION_NO_DATE_TIME is raised. |
n | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
string | As for a target field of type c. The resulting length of the target field is 27. If the source field is initial, the target field is an empty string. |
Note
The formatting of a time stamp of type utclong during the conversion follows the SQL standard according to ISO 9075 and corresponds to the formatting option TIMESTAMP with the value SPACE for embedded expressions in string templates.
The example compares the formatting of the conversion with the corresponding formatting in a string template.
Byte-Like Target Fields
Target | Conversion |
x | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
xstring | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
Date/Time Fields as Target Fields
Target | conversion |
d | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
t | Not supported. Produces a syntax error or raises the exception CX_SY_CONVERSION_NOT_SUPPORTED. |
utclong | The content of the source field is passed unconverted. |
General Material Data SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 5243 Date: 20240426 Time: 214527 sap01-206 ( 58 ms )