2009 Mar 11 1:15 PM
Hi all,
I use to save long text this FM call:
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = header
TABLES
lines = text_table.
where text_table:
DATA text_table TYPE STANDARD TABLE OF tline.
where tline is char 132:
TDFORMAT TDFORMAT CHAR 2 0 Tag column
TDLINE TDLINE CHAR 132 0 Text Line
If I have a string longer then 132 I split the string in substring long 132 (counting each characters) and reassembling when reloading with read_text, and I ask myself ... this is the only way possible or does exist a more simple way?
thanks
Gabriele
Edited by: Gabriele Montori on Mar 11, 2009 2:15 PM
2009 Mar 11 1:22 PM
I am afraid that there isn't any other way.
the text is split into substrings of 132 length and appended, we have no other way of passing long texts longer than 132 chars
кu03B1ятu03B9к
2009 Mar 11 1:32 PM
2009 Mar 11 1:33 PM
Hi,
There is no option other than splitting the string into 132 chanracters. However, rather than splitting the string by counting, you can use the function module RKD_WORD_WRAP.
Hope this will be helpful.
Regards,
Swarna Munukoti.
2009 Mar 11 3:14 PM
thanks, even if it's incredible that RKD_WORD_WRAP FM take only char and not string as input... opening a new post on it