Ansicht
Dokumentation
ABENSTRING_PROCESSING_STRINGS - STRING PROCESSING STRINGS
General Material Data ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Character Strings and Byte Chains
Character Strings
Character-like data objects contain character strings. A character-like data object either has a character-like data type c, n, or string, a date/time type d or t, or it is a flat structure with exclusively character-like components.
ABAP supports the character format UCS-2 and a character always occupies two bytes. This ensures that all characters of the system code page UTF-16 are handled correctly, except those in the surrogate area. These occupy four bytes and hence are handled as two characters by ABAP, which can produce unexpected results if character strings are truncated or individual characters are compared in character sets.
Byte Chains
Byte-like data objects contain byte chains (or byte sequences). A byte-like data object always has the byte-like data type x or xstring.
Notes
- When working with dynamic data objects of type string and xstring, their maximum size must not be exceeded. If an operation with a string exceeds its maximum size, an exception of class CX_SY_STRING_SIZE_TOO_LARGE occurs and can be handled.
- When accessing substrings of strings, it should always be checked if the specified substring lies within the current length of the string.
Example
A byte string of type xstring contains a byte chain, which is decoded in accordance with codepage UTF-8 into a text in a text string of type string.
rdisp/max_wprun_time - Maximum work process run time General Material Data
This documentation is copyright by SAP AG.
Length: 2250 Date: 20240329 Time: 070711 sap01-206 ( 26 ms )