Application Development and Automation 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: 
Read only

'Open Dataset' command - add ASCII code in a unicode system

Former Member
0 Likes
811

Hi,

I use following comand in order to save a file on an application server.

open dataset <path> for output in text mode encoding default.

Is it possible to convert file to ASCII code instead of the system setting unicode and to ignore conversion errors? If yes, please tell me how.

Thanks!

Hi,

I use following comand in order to save a file on an application server.

open dataset <path> for output in text mode encoding default.

Is it possible to convert file to ASCII code instead of the system setting unicode and to ignore conversion errors? If yes, please tell me how.

Thanks!

1 REPLY 1
Read only

rahulkavuri
Active Contributor
0 Likes
465

Similar kind of problem has been solved here.. check that link first

Use the class CL_ABAP_CONV_OUT_CE and use it to convert file from unicode to ascii.