Start of Content Area

Procedure documentation Restricting Changes in a PDF  Locate the document in its SAP Library structure

Use

You can specify which changes a user can make to a PDF form. To do this, you set parameters in the application program that processes the form.

Procedure

...

       1.      In the parameter of the function module FP_JOB_OPEN, set the field FPCHANGESRESTRICTED to one of the following values:

Permitted Values for FPCHANGESRESTRICTED

Value

Meaning

space

All changes allowed

A

Add or remove pages in the PDF; create a table of contents; set page numbers 

F

Form can be filled out and signed (interactive forms only)

N

Form can be filled out and signed and you can also create comments (interactive forms only)

X

No changes allowed

       2.      If you want the form to be interactive, you must set the parameter FILLABLE of the generated function module to the value X.

Result

When you run the program, the system creates a PDF form with the specified change options. This PDF is encrypted with a random password, which means that the usage rights for this PDF cannot be changed retrospectively. To create a PDF with changed usage rights, you must run your application program again with new parameter values.  

See also:

Structure SFPOUTPUTPARAMS in ABAP Dictionary (transaction SE11)

Calling Forms in an Application Program

Parameters of the Generated Function Module

 

 

 

End of Content Area