Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert the local file into unicode file?

adam_kuziola
Explorer
0 Kudos

Hi All,

I need read local file (GUI_UPLOAD) and save it as unicode file?

I've found class CL_ABAP_CONV_OUT_CE but I've no idea how to use it.

Should I read file in binary mode and then convert it into unicode? AT the and save it (GUI_DOWNLOAD) ?

Thanks

Adam

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

Hi,

Try this by sending value to the CODEPAGE parameter of the function module GUI_UPLOAD.

2 REPLIES 2

former_member194669
Active Contributor
0 Kudos

Hi,

Try this by sending value to the CODEPAGE parameter of the function module GUI_UPLOAD.

Former Member
0 Kudos

Hi,

Check these classes, will help you

CL_ABAP_CONV_IN_CE : Reading binary data

CL_ABAP_CONV_OUT_CE : exporting binary data

CL_ABAP_CONV_X2X_CE : reading and exporting binary data and changing the format

Regards,

Satish