cancel
Showing results for 
Search instead for 
Did you mean: 

Password for pdf file

Former Member
0 Kudos

Hi,

I am sending the output of the smartform as a pdf file and email to the customer. I need to protect the pdf file with a password. Please let me know if we can set the password for the pdf file in the driver program?

Points will be given for useful answer.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

good

FM EXCEL_OLE_STANDARD_DAT has an import parameter:

VALUE(PASSWORD) DEFAULT SPACE

Just set password to the pwd you want.

And the parameter

VALUE(PASSWORD_OPTION) TYPE I DEFAULT 0

reward point if helpful.

thanks

mrutyun^

Former Member
0 Kudos

Hi,

I think we use the FM EXCEL_OLE_STANDARD_DAT to download the excel file.

Please let me know how to set the password for pdf file

Former Member
0 Kudos

Geeta, there isn't a way to set the password on a PDF through SAP unless you have a third-party application. Do a quick search on SDN for "PDF password" and you will see many threads about the same topic and they all come to the same conclusion; SAP does not provide a way to password protect the PDF.

Davis

Former Member
0 Kudos

You will need a third party application to do this but I do not know of any. I have tried to find a solution to this exact problem, as well as many other people, and so far nobody has a solution, as far as I know.

Please refrain from adding "Points will be given for useful answer." to your posts. This is frowned upon on SDN.

Davis