cancel
Showing results for 
Search instead for 
Did you mean: 

PDF file with password protection

Former Member
0 Kudos

Hi all,

Any idea about how to create a PDF file which is password protected.

I know the procedure to create PDF files from spool, script, smartform etc: , till that part it is ok. But my concern is how we can create the PDF file which is password protected.

Once when we try to open the PDF file it should prompt for password, just like the password protected pdf files which are provided by some banks in monthly billing statements.

It will be highly appreciated if you can help me.

Regards,

Kamani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I dont think its possible at SAP.

Still yo may check this thread -

Regards,

Shiva Kumar

Answers (2)

Answers (2)

0 Kudos

any other option

convert into password protection zip

Simha_
Employee
Employee
0 Kudos

Hi,

For PDF there is no password protection provided by SAP.

You need to use some third party tools.

But if you want to do the same for any excel file.

You can do that by the following procedure.

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

Set it to 1 to enables it.

Cheers,

Simha.

Former Member
0 Kudos

Hi Simha,

i would also like to implement excel file with password. I have checked i this FM EXCEL_OLE_STANDARD_DAT. I have tried it by giving the file name with the path in my pc. but it triggers with exception file not exist.

Can you help me in this regard. the steps to implement this. ?

Thanks,

Kamani