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

Binary file format to Ascii format

Former Member
0 Likes
585

Hi,

I have a file in binary format in app server. I want to read the file in Binary mode and write that in legacy text mode. Problem here is... when I read that file in binary mode and passing to internal table. First record was fine from the second line carriage return(##) messing up my format. Anybody has any idea.

Thanks

Raj

Hi,

I have a file in binary format in app server. I want to read the file in Binary mode and write that in legacy text mode. Problem here is... when I read that file in binary mode and passing to internal table. First record was fine from the second line carriage return(##) messing up my format. Anybody has any idea.

Thanks

Raj

2 REPLIES 2
Read only

Former Member
0 Likes
494

Use Func Mod - SCMS_BINARY_TO_TEXT

Read only

Former Member
0 Likes
494

hi, you can try some class like CL_ABAP_CONV_XXX, E.G. CL_ABAP_CONV_IN_CE.

some of them support us to convert Binary code convert into Text.