10-06-2009 7:47 PM
Hi,
I'm using FM READ_TEXT to get the invoice item text and I get it as a tline table but it's 132 char line size and I need to be able to show it on a 60 char line size, is there any FM to adjust the text in order to get something like that?
Thanks.
10-06-2009 7:56 PM
10-06-2009 7:56 PM
Just declare a variable of length 60 and assign the tdline output of the FM READ_TEXT to it.
data: var(60) type c.
var = tdline-tline
10-06-2009 8:26 PM
Yes I've look for it in fact right now I'm using FM CONVERT_ITF_TO_STREAM_TEXT to get the text with the right length but it splits the text without any validation, it means, it split words or numbers in a wrong way.
I need this text to be printed out on a Smartform thatu2019s why I canu2019t send it to a 60 char variable.
Thanks.