cancel
Showing results for 
Search instead for 
Did you mean: 

New line at TEXT FILE

Former Member
0 Kudos

Dear All,

I wonder to know if someone could help me.

I export my output right to a text file.

I need to write each line ( of 368 chars ) as a NEW LINE

didn't find any command that fulfil my request .

( the "/" , "SKIP", "NEW LINE" , that i tried using fulfil my request just on the screen

and not in the file itself....)

Thanks,

Yuval B.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yuval B.,

Try to use Char(13) and Char(10)

Thanks,

sastry

Former Member
0 Kudos

thanks Sastry for your quick respond.

do u mean to use it as an ascii code?

if u don't mind be more directly because i tried using the ascii code and it's still

not working as i wish...

THANKS again....

Yuval.

Former Member
0 Kudos

Hi Yuval,

You will have to write a formula t insert a new line charcter in your text.

Try to use For loop and count the character, once it reaches your count then insert a new line character chr(13) and place this formula in your report.

Thanks,

Sastry

Former Member
0 Kudos

Hi Sastry

sorry of bothering u.

unfortunately at ABAP "chr(13)" as u said undefined.

i looked for other ascii code for "new-line" and it's still not working....

if u'll have anyother idea it will be awosem.

have a wonderful day,

appreciate that,

Yuval.

Answers (0)