04-14-2009 9:38 AM
Hi,
We require to upload a zip file with multiple text files, sort the text files and upload the content of the text files to data base table.
Eg:
zip file : testing.zip
contains text files : a.txt, b.txt, c.txt, d.txt and e.txt.
Need to get the names from the testing.zip file, sort the text files, move the data of the text files to Internal table.
Parameter would be the directory in which the file is upload on periodic basis.
The file has to be picked up on a batch job from the specified directory.
Any suggestion how to proceed.
Regards,
Vas
04-14-2009 10:37 AM
Hi,
u can use DECOMPRESS_TEXT/DECOMPRESS_BINARY of class CL_ABAP_GZIP for Unzipping a file.
Thanks
Amitava