Encrypt PDF files from SAP and ABAP source code

Please provide me an example to call EncryptPDF as External Command in SAP( setting in SM49/SM69).
==================
Here’s the ABAP or SAP sample code to call EncryptPDF command line application,

REPORT  Z_Calling_EXE_Program.

CALL FUNCTION 'GUI_RUN'
EXPORTING
COMMAND          = 'C:\encryptpdf.exe'
PARAMETER         = ' -i c:\sample.pdf -w owner -u user -e 40 -p'.
*   CD               = '
* IMPORTING
*   RETURNCODE       = .

VeryPDF

Related Posts