Skip to Content
0
Former Member
Sep 28, 2007 at 02:11 AM

Error is "CONVT_CODEPAGE" and exception is "CX_SY_CONVERSION_CODEPAGE"

111 Views

Dear experts,

How are you?

The runtime error was occured as follows :

1) Error : CONVT_CODEPAGE

2) Exception : CX_SY_CONVERSION_CODEPAGE

3) System Environment : R/3 470*110, non-unicode system

4) Transaction : PA20

Language Key : 3

Program : CL_ABAP_CONV_IN_CE======CP

5) Source code extract :

000280 raise exception type cx_parameter_invalid_type

000290 exporting parameter = paramstr type = typestr.

000300 endif.

000310 when 'C'.

000320 len = strlen( uccp ).

000330 if len <> 4.

000340 paramstr = 'UCCP'.

000350 typestr = len.

000360 shift typestr right.

000370 concatenate 'C(' typestr ')' into typestr.

000380 raise exception type cx_parameter_invalid_type

000390 exporting parameter = paramstr type = typestr.

000400 endif.

000410 when 'g'.

000420 len = strlen( uccp ).

000430 if len <> 4.

000440 paramstr = 'UCCP'.

000450 typestr = len.

000460 shift typestr right.

000470 concatenate 'STRING(' typestr ')' into typestr.

000480 raise exception type cx_parameter_invalid_type

000490 exporting parameter = paramstr type = typestr.

000500 endif.

000510 when others.

000520 paramstr = 'UCCP'.

000530 typestr = t.

000540 raise exception type cx_parameter_invalid_type

000550 exporting parameter = paramstr type = typestr.

000560 endcase.

000570 x = uccp.

> SYSTEM-CALL CONVERT ID 41

000590 " EXPORTING

000600 BUFFER x

000610 " IMPORTING

000620 DATA char

000630 " CHANGING

000640 CINFO cl_abap_conv_in_ce=>uccp_cinfo.

000650 ENDMETHOD.

I referenced the notes 864789,865885, and 832232.

But I couldn't resolve it.

Would you please help me?

Thanks.

Regards,

Soyeon Rhee