2010 May 18 3:04 PM
Hi All,
My requirement is like based on the user input multiple number of Invoices will be created as a pdf file and then a zip folder will be downloaded which contain all those pdf files. I have developed a code for this requirement. When I am trying to unpack the zip folder I'm getting error that the folder is corrupted.
If anybody have gone through such a requirement, then kindly put some light.
Thanks in advance.
Regards,
Sarbajit.
2010 May 18 3:24 PM
Check the steps defined in [http://wiki.sdn.sap.com/wiki/display/ABAP/CL_ABAP_ZIPusage-ZippingABAPreportoutput] to see if you are missing something.
2010 May 18 3:26 PM
2010 May 18 3:36 PM
2010 May 18 3:38 PM
2010 May 18 3:42 PM
Are you assigning different names for each pdf file and using the correct data type to do so?
2010 May 18 3:44 PM
Yes I'm assigning different name for different pdf file and datatype for that is String I'm using.
2010 May 18 3:47 PM
Hi Sarbajit,
please have a look at the below thread and check whether it will help. it has part of code for unzipping the file.
[http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6b79908-0a01-0010-8ca0-b77aff37726d]