Skip to Content
0
Former Member
Oct 30, 2007 at 08:09 AM

printing long texts in scripts

10 Views

Hi,

I have a requirement where in I have to print a long text in scripts.I have used READ_TEXT fm to read the long text and stored it in a table i_line in field tdline.

After that i have written the code in the following way.

LOOP at i_line.

CONCATENATE i_return-sgtxt i_line-tdline INTO i_return-sgtxt SEPARATED BY SPACE.

ENDLOOP.

where i_return is my o/p internal table.

my long text is of 3 lines length.But only 2 lines are getting populated into the o/p internal table(i_return).And the 1st 2 lines are getting populated in the same line in the o/p.How can I get all the 3 lines printed separatly?