2010 May 22 8:18 AM
Hi
I am having a report in which i am creating a pdf of each bill of Customer. Now I want to create multiple pdfs and zip them into a single folder. I found a class Cl_abap_Zip to zip a file . But how can I attach multiple files. Please Guide
Thanks in advance
Pooja
2010 May 22 11:53 AM
Hello Pooja,
I believe you can call method ADD for the class 'n' number of times to add 'n' number of files.
Regards, Chirag
2010 May 22 11:53 AM
Hello Pooja,
I believe you can call method ADD for the class 'n' number of times to add 'n' number of files.
Regards, Chirag
2010 May 24 4:32 AM
Hello friend,
You can first use ADD multiple times to add several files and finally use SAVE to do real ZIP operation.
Here's a wiki guide too.
http://wiki.sdn.sap.com/wiki/display/ABAP/CL_ABAP_ZIPusage-ZippingABAPreportoutput
Best Regards,
Jerry
2010 May 24 8:00 AM