‎2007 Jul 26 6:36 PM
Hi Experts ,
Please look at the decleration below
types: BEGIN OF TY_FINAL ,
TEXT(300) ,
END OF TY_FINAL .
what is more intresting is that it is not able to hold value in field TEXT with
more length
for example i am trying to store below value
PX,"0000000000","000010","0000002","07/26/2007@00:00:01","07/26/2007@23:59:00","07/26/2007@00:00:01","07/26/2007@23:59:59",000.000,000.000,000000.000,0000000.4360,0000020.0000,00000000000.00,00000000000.00,0000020.0000,0000000000000.0000,0000002,0000001,0000.0000,111.0000,00000.0000,00000
BUT INTERNAL TABLE IS HOLDING value till
PX,"0000000000","000010","0000002","07/26/2007@00:00:01","07/26/2007@23:59:00","07/26/2007@00:00:01","07/26/2007@23:59:59",000.000,000.000,000000.000,0000000.4360,0000020.0000,00000000000.00,00000000000.00,0000020.0000,0000000000000.0000,0000002,0000001
even though i increase the size of the internal table nothing is happening
‎2007 Jul 26 6:38 PM
Hi
declare the variable as string type.
types: BEGIN OF TY_FINAL ,
TEXT type string,
END OF TY_FINAL .
Regards,
Niyaz
‎2007 Jul 26 6:41 PM
it's giving me error
"T_FINAL" cannot be a table, a reference, a string, or contain any of
these objects
when i declared in manner in which you said
‎2007 Jul 26 6:47 PM
check the code again..
you have mis spelled. its ty_final not t_final.
‎2007 Jul 26 6:40 PM
It is not that it is not able to hold it, it is just that you are not able to see it as debugging shows you only about 250 characters. To make sure you have all the string characters, enter itab-text+250(50) in debugging, and see if you get the last 50 characters.
‎2007 Jul 26 6:48 PM
‎2007 Jul 26 6:43 PM
HI,
Increase your line-size to 500 and try prining the content of the table .. it will show you every thing.
thanks,
mahesh