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: 

READ_TEXT Cuts the line into 2 lines after 69 characters

former_member317781
Active Participant
0 Kudos

Hi Good day,

my query is : when i read the long text using FM : READ_TEXT i get the data to Internal Table and if i look at the data, it cuts line into two lines when it gets to 69 characters and moves to next line.

Please see my screen shots.

Before :

actual-text.jpg

After reading using READ_TEXT:

longtext.jpg

I want to get the data that i have stored.

Question is : How do i avoid this?

Your help is appreciated.

1 ACCEPTED SOLUTION

0 Kudos

While creating text object in SE75, there is a line width size option is available.

Increase the line width and try.

5 REPLIES 5

0 Kudos

While creating text object in SE75, there is a line width size option is available.

Increase the line width and try.

0 Kudos

Thank you but results are same. it still cuts at 60 or 70 characters.long-text-width.jpg

Ok, Try with this function module.

FM FORMAT_TEXTLINES

Pass the internal table of READ_TEXT FM.

And pass import parameter as FORMATWIDTH = 132.

Thank you, Blesso Joshua Arulraj it works.

former_member199125
Active Contributor
0 Kudos

Or..

after reading using read_text, use tdformat value while displaying the text.

Observer the TDFORMAT value when it is continuous text or new paragraph text and write the code accordingly.

Thanks, Srinivas