Get Example source ABAP code based on a different SAP table
String Processing in ABAP Release 7.55 ITOC
ABAP_MODIFICATION_NN Support of Perl Compatible Regular Expressions>
Besides the existing support of POSIX regular expressions>, ABAP supports now also PCRE regular expressions> that are processed by the PCRE2 Library> implemented in the ABAP Kernel >. PCRE regular expressions can be used in the same way as POSIX regular expressions. The distinction is made:
By the new addition PCRE>> that can be used instead of REGEX >> in the statements FIND>> and REPLACE>>.
By the new argument pcre>> that can be used instead of regex> > in built-in functions.
By new (factory) methods of the system classes> CL_ABAP_REGEX>> and CL_ABAP_MATCHER>>. PCRE regular expressions are more powerful and have better performance than POSIX regular expressions. For more information, see Regular Expressions>.
ABAP_MODIFICATION_NN Verbatim Replacements>
The new addition VERBATIM>> of the REPLACE>> statement causes all characters of the replacement string to be taken literally. With that addition, special characters for regular expression replacement patterns have no special meaning.
ABAP_MODIFICATION_NN New Catchable ExceptionCX_SY_STRING_SIZE_TOO_LARGE>>
See Exception CX_SY_STRING_SIZE_TOO_LARGE> in Transformations>.
ABAP_MODIFICATION_NN Exception CX_SY_STRING_SIZE_TOO_LARGE> in Transformations>
The exception that occurs when an operation with a string> exceeds its maximum size> is now connected to the exception class CX_SY_STRING_SIZE_TOO_LARGE>> and can be handled. Previously, it always resulted in runtime error STRING_SIZE_TOO_LARGE>. This exception can also be handled for the statement CALL TRANSFORMATION >> if some conditions are met.
ABAP_MODIFICATION_NN Formatting Option CURRENCY> for Decimal Floating Point Numbers>
The
addition CURRENCY>> of the WRITE TO>> and WRITE >> statements
formatting option CURRENCY> > in string templates> can now also be applied to decimal floating point numbers>.