‎2009 Jan 07 10:17 PM
Hi Experts,
plz I need your help, I have a requirement to read a text file that contains html code for a table that
contains many fields, my job is to fill the table with certain data that I get from SAP.
currently, I am reading the file into itab that has a line of type c (255) and I dont know how to store
the whole itab into a string so that I can easily modify the content of the string.
I tried a loop like this but It took long time and at the end I got memory exception.
loop at itab1.
CONCATENATE htmlstr itab1-line into htmlstr.
ENDLOOP.
how to do this and what is the easiest solution for such requirement.
Thanks
‎2009 Jan 07 10:20 PM
did you search ? there are lots of threads about how to convert internal table to string in the forum!
I am surprised that you get memory error at these statements!!!! What is the size of this VERY HUGE file?
‎2009 Jan 07 10:32 PM
yes I did search and found how to convert string into itab but not the other way around.
and the text file I am reading is not large just 11 KB !!
‎2009 Jan 07 10:42 PM
for some reason the same code is working now
I dont know what was the problem before.
Thanks Sandra