‎2007 Jun 13 1:41 PM
I have used read_text to read text from sales order, now while displaying it i have just 20 char sapce for it, so after 20 char it should go to next line.
I have entire text in table t_tline.
How to display just 20 char eaxch line, any suggestions?
Thanks,
Shweta
‎2007 Jun 13 1:44 PM
Hi
Declare some varaiables with type CHAR 20 fields and split the text to them by offsetting
data: var1(20), var2(20), var3(20).
var1 = t_tline+9(20)
var2 = t_tline+21(20)
...
and display the variables one below other
Or straight away you can display the t_tline(20) in first line
next t_tline+21(20) in second line like that
Reward points for useful Answers
Regards
Anji
‎2007 Jun 13 1:44 PM
Hi
Declare some varaiables with type CHAR 20 fields and split the text to them by offsetting
data: var1(20), var2(20), var3(20).
var1 = t_tline+9(20)
var2 = t_tline+21(20)
...
and display the variables one below other
Or straight away you can display the t_tline(20) in first line
next t_tline+21(20) in second line like that
Reward points for useful Answers
Regards
Anji
‎2007 Jun 13 1:50 PM
Anji,
Say i have 10 lines in t_tline, for each line i will have to pass like this and then display? I won't be knowing the length of each line.
var1 = t_tline+9(20)
var2 = t_tline+21(20) this logic worked. Thanks!!!
Message was edited by:
Shweta Verma