10-09-2008 10:49 AM
Hi Friends,
My requirement is to download the internal table value into
a notepad. For eg. Internal table my contain 1000 records. So initially before downloading i need to determine the size of the file which i am going to download.Means by calculating the no. of characters i need to determine what could be the size of my file.
Based on that if 1000 records make the size of file as 10MB. i need to break the file at every 1MB and make 10 files
and download it to desktop.
Please help me in this...
Thanks in Advance..
Srikanth
10-10-2008 8:09 AM
Hi
You can try the following approach.
First you can download all the records to one file and than using the following
CL_GUI_FRONTEND_SERVICES => FILE_GET_SIZE
You can find the size, when you have size value.
You can do division as per your requirement and loop the internal table and download accordingly
Regards
Madhan