‎2007 Feb 15 7:25 AM
Dear ABAP gurus,
I am using READ_TEXT function module in that tline TLINE(declared as internal tbale t_tline) table is contain 11 reocrd( the long test is maintain 1000 chareceters lenth).
That thousand charecter i hav to show in ALV output.
i declared variable of 1000 charecter length.
data g_long(1000) type c.
( i tried by putting g_long type string also).
LOOP AT T_TLINE.
CONCATENATE G_LONG T_TLINE-TDLINE INTO G_LONG SEPARATED BY SPACE.
ENDLOOP.
In debugg mode in the g_long variale its coming 131 lines only after concatenating also.
In output of ALV if i down load this to XL sheet in excel 255 charecters are coming.
But i need whole charecters in the Long Text.
Pl solve this isuue as early as possible.
Thanks,
Simha.
‎2007 Feb 15 7:28 AM
Only 255 char is the limit, it cant dispaly more than that.
Better u split it and display in different lines.
‎2007 Feb 15 7:28 AM
Only 255 char is the limit, it cant dispaly more than that.
Better u split it and display in different lines.
‎2007 Feb 15 7:31 AM
Hi,
You can't display 1000 char in a single Line anywhere as output.
Max length allowed is 255 char only.
My suggestion is better to split the 1000 char string into 5 lines and display.
Declare 5 variables of length 200 char each and split the long text into them and try.
Regards,
Anji
‎2007 Feb 15 7:32 AM
Hi,
When you display that you need to use the offset for more than 255 lenght fields. just write FIELD1(1000), then it will print the 1000 charecters .. so based on this work in ALV, you will be success
Regards
Sudheer
‎2007 Feb 15 10:32 AM
Dear Sudheer,
Can u pl explain briefly.
I didnt get field(1000).
Thanks.
Simha.