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 question

Former Member
0 Likes
517


Hi all,

We all know that when transfer data to application server, if we open dataset as below 

OPEN DATASET l_file_in_path FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS

the file will generated as format 'ANSI'. but thers is an charater  ‘€’ alwasy displayed ass'#'.

Does anyone know if there is some other way can display  ‘€’ correctly and also genarate file as format 'ANSI' ?

I tried lots of ways, the ‘€’ can output correctly in SAP but the text file format always 'UTF-8'..

Br, Eileen

.

1 REPLY 1
Read only

Former Member
0 Likes
429

Try using like this:

OPEN DATASET v_file

FOR INPUT IN TEXT MODE ENCODING DEFAULT

WITH SMART LINEFEED

MESSAGE v_message.