‎2007 Mar 09 5:39 AM
Hi all,
I'm retrieving text using function module READ_TEXT & the text is coming in internal table that has the structure as TLINE. now i want to display the text in my script but the problem is that the text is not coming in full line of the script rather it's appaering as paragraph limited to characters less than the line size of script.
To be more clear I'll give the example as:
In script it's coming as
ABCDE ABCDE ABCDE ABDCDE ABCDE
ABCDE ABCDE ABCDE ABDCDE ABCDE
ABCDE ABCDE ABCDE ABDCDE ABCDE
I want it appear as follows:
ABCDE ABCDE ABCDE ABDCDE ABCDE ABCDE ABCDE ABCDE ABDCDE ABCDE ABCDE ABCDE ABCDE ABDCDE ABCDE ABCDE ABCDE ABCDE
Hope I'm clear in explaining my requirement.
Looking forward to your replies.
Helpful answers will be rewarded.
Regards,
Sipra
‎2007 Mar 09 5:53 AM
two things may be there.
in your tline like table you are appending the text like that so it is coming by this way if it is so. then
data : text(240),
text1(80).
loop at tline.
text1 = tline-tdline.
concatenate text text1 into text.
endloop.
in script just pass &text&.
or
your window size is not enough to hold the value increase that in some cases it may show the blank area in the page but your window size may not be big enough.
regards
shiba dutta
‎2007 Mar 09 5:43 AM
Check ur default paragraph setting... and the window width u r printing....it may be too short to hold all the data in a line...
regards,
sai ramesh.
‎2007 Mar 09 5:44 AM
Hi,
Tline field length is of 132 char.
If you wants to print as per your req:
Concatenate the Texts into single line.
Declare a var of length say 132 char.
Read tline index 1 . put in v_var.
Read tline index 2. put in v_var1.
Concatenate v_var and V-var1+0(20) into v_field.
concatenate v_var1+20(30) and next line (3rd) into some other field.
Hope you understood.
Regards,
Anji
‎2007 Mar 09 5:53 AM
two things may be there.
in your tline like table you are appending the text like that so it is coming by this way if it is so. then
data : text(240),
text1(80).
loop at tline.
text1 = tline-tdline.
concatenate text text1 into text.
endloop.
in script just pass &text&.
or
your window size is not enough to hold the value increase that in some cases it may show the blank area in the page but your window size may not be big enough.
regards
shiba dutta
‎2007 Mar 09 6:38 AM
Thnx all in contributing towards solving my problem.
Regards,
Sipra