SAP SPLIT TEXT - Guide
Get Example source ABAP code based on a different SAP table
Splitting Texts
ABAP_BACKGROUND
Usually the characters in a character string are encoded based on a code page using a fixed number of bytes. This means that it is always known in the memory where a character begins and ends. However, in some code pages, a character can be formed from a combination of multiple separately saved characters. This applies in particular to the characters of the surrogate area of the Unicode character set, that are collectively represented in the Unicode character representation
ABAP_RULE
Make sure that statements do not split character strings in any places with composite characters or surrogates.
ABAP_DETAILS
Operations that split character strings include:
If texts containing combined characters or surrogates are split, this can produce undefined characters that cannot be displayed. If there is a risk of this occurring, you can define a suitable separation position by using the method