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: 

Linebreak in a UTF-16 file

Former Member
0 Kudos

Hi experts,

I try to create a UTF-16 File in ECC 6.0.

Open dataset xxx for otuput in binary mode.

At the end of every record I set cl_abap_char_utilities=>cr_lf.

But the linebreak is not correct.

Is there anybody how can help me.

Thanks for answer

Angelika

1 REPLY 1

Former Member
0 Kudos

Hi

have you tried another attribute in CL_ABAP_CHAR_UTILITIES class.

try this : CL_ABAP_CHAR_UTILITIES=>NEWLINE

Just observe the data ... it will take ## for line break. Just try your luck with newline also..

all the very best

Regards,

Sreeni