Ansicht
Dokumentation
ABENBUILTIN_TYPES_BYTE - BUILTIN TYPES BYTE
PERFORM Short Reference RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Built-In Byte-Like Types
The data objects of the byte-like data types are used to store byte strings.
Properties
Type | Length | Standard Length | Name |
x | 1 to 524,287 bytes | 1 byte | Byte field |
xstring | Variable | Byte string |
Value Ranges and Initial Values
Type | Value Range | Initial Value |
x | Any byte values, hexadecimal 00 to FF | Hexadecimal 00 |
xstring | As for type x | Empty string with length 0 |
Notes
- The byte-like data types are used for byte string processing.
- The type x, for which a length interval is specified in the second column of the first table, is generic, which means that the length is not part of the type description. The entry in the column Standard Length specifies the length used in declarations of data objects when using types with generic lengths, if no explicit length is specified in the corresponding statement.
- The system class CL_ABAP_ELEMDESCR contains a constant TYPE_X_MAX_LENGTH for the maximum length of the type x.
- The maximum size of strings must be respected. If an operation with a string exceeds its maximum size, an exception of class CX_SY_STRING_SIZE_TOO_LARGE is raised and can be handled.
Declaration of a byte string of the built-in ABAP type xstring for the result of a functional method. This declaration could also be made inline on the left side of the assignment.
ABAP Short Reference ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3245 Date: 20240426 Time: 172022 sap01-206 ( 36 ms )