SAP Note 709832 - CX_SY_CONVERSION_CODEPAGE exception with READ DATASET

Component : Syntax, Compiler, Runtime -

Solution : https://service.sap.com/sap/support/notes/709832 (SAP Service marketplace login required)

Summary :
The SAP Note describes an issue where using READ DATASET to read files triggers the CX_SY_CONVERSION_CODEPAGE exception, despite the OPEN DATASET command being executed with the addition IGNORING CONVERSION ERRORS. This typically occurs when the data file's code page differs from the system's, leading to potential character conversion errors. The problem is addressed by applying a kernel patch specific to SAP_BASIS versions 6.20 and 6.40. Users can also manually handle this exception using the TRY-CATCH construct if they haven't applied the patch or if the issue persists post-patch.

Key words :
ignoring conversion errors addition, 20 kernel patch level 1402sap_basis 6, ignoring conversion errors, code page addition, terms conversion error, multibyte code page, multibyte character reason, target code page, -unicode code pages, multibyte code pages

Related Notes :

677195AL11: Dump with CX_SY_CONVERSION_CODEPAGE
27Recommendations for the ABAP file interface