02-01-2013 9:32 AM
Hello,
I have created with an ABAP program a PDF file in local filesystem that later I send it by email, that's working fine.
Now I need to protect the information in this file.
Is possible create a zip file (compressing the pdf) with password?
I've read different discussions in the forums but I don't know if it is possible yet, so if it is possible, how I should proceed to get a zip file password protected from a local pdf file.
Kind regards,
Julian.
02-01-2013 11:54 AM
Hi Julian,
Yes you can create a ZIP file by using the class CL_ABAP_ZIP. But you will not be able to set the password to the zip file.
Hope this helps.
Thanks,
Tooshar Bendale
02-01-2013 6:50 PM
Hi Julian,
You can create password to the PDF file itself.
For eg.,
If a company is sending payslips pdf to employees through email , every month automatically from SAP.Then the password can be set as employees Birthday.
You dont have to zip it as PDF is protected with password.
Thanks and regards,
Bharathi
08-14-2014 12:37 PM
Hello Bharathi,
how do you do this >> You can create password to the PDF file itself. <<
To create a zip-file is easy with class CL_ABAP_ZIP (lo_zip->add and lo_zip->save), but I'm searching for a reason to protect the created zip - file with a password (like your example employee birthday).
regards
Steffen
08-14-2014 12:59 PM