on 2023 Apr 12 10:27 AM
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.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.