cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the character limit per line in SO10 Text

Madhavi7
Explorer
0 Kudos
747

Using the Read_Text function module, I was able to print 72 characters per line from a big paragraph into a row of a table in Adobe Forms. Then, using FORMAT_TEXTLINES, the limit is extended up to 132 characters per line. Could you please suggest how to fill the full row line of a table bound with SO10 text?

* It will print 72 characters per line

call function 'READ_TEXT'
exporting
client = sy-mandt
id = 'ST'
language = sy-langu
name = 'TEXT5'
object = 'TEXT'
tables
lines = lines2.
if sy-subrc = 0.

* It will print 132 characters per line
call function 'FORMAT_TEXTLINES'
exporting
cursor_column = 0
cursor_line = 0
endline = 99999
formatwidth = 255
linewidth = 132
startline = 1
language = sy-langu
tables
lines = lines2
exceptions
bound_error = 1
others = 2.

loop at lines2 assigning field-symbol(<ls2>).
clear line2.

line2-tdline = <ls2>-tdline.
line2-tdformat = <ls2>-tdformat.

append line2 to text1.
endloop.
endif.

Accepted Solutions (0)

Answers (0)