Skip to Content
0
Jun 04, 2020 at 11:13 AM

ST22 CONVT_CODEPAGE

255 Views

In my program i have:

OPEN DATASET s_file FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.

When I try and transfer to this file i get the following dump:

When converting a text from code page '4102' to code page '1100', either
- characters are detected that cannot be displayed in one of the two code pages or
- the conversion could not be carried out for another reason

Should I use cl_abap_con_x2x_ce to convert the string from 4102 to 1100?

If the answer to the previous question is 'yes', then what happens when the file coming in isn't codepage 4102?