Solution : https://service.sap.com/sap/support/notes/155333 (SAP Service marketplace login required)
Summary :
This SAP Note addresses issues related to the ABAP SORT ... AS TEXT command, particularly runtime errors like SORT_AS_TEXT_DEST_TOO_SHORT, affecting systems, especially Korean (codepage 8500) on Linux, and multibyte systems. It is linked to improper system locale settings and problematic NLS configurations, triggering errors during ABAP operations. The resolution involves correcting NLS settings, applying outlined kernel patches (Release 4.6D: patch level 1444, etc.), and ensuring proper codepage configurations in the TCPDB table. Incorrect data handling within tables, specially with German and English texts in multibyte systems, can precipitate these issues. Kernel adjustments from various releases (like Rel. 4.6D onwards) are suggested to mitigate this, directing system debugging through syslog entries rather than runtime errors.
Key words :
1i kernel patch level 312rel 4, 0b kernel patch level 422rel 4, 5b kernel patch level 107as, find syslog entries similar, system code page allowed, runtime error sort_as_text_dest_too_short occurs, form invalid multibyte characters, latin-1 code page, multi-code page, internally defined length
Related Notes :
1132430 | Runtime error SORT_AS_TEXT_DEST_TOO_SHORT |
73606 | Supported Languages and Code Pages |
42305 | RSCPINST (I18N configuration tool) |