cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Check if PDF is interactive

Falazure123
Newcomer
0 Likes
914

hello. I m uploading PDF file using GUI_UPLOAD. And then converting to xstring using FM SCMS_BINARY_TO_XSTRING. 

I need to check if this PDF is interactive (editable) or not. How can I get this info? 

Looked at class cl_fp_pdf_object. But still cant find any method that returning me such info.. 

tried cl_fp_pdf_object->get_metadata - but it returns empty metadata. 

Maybe exists some FMs that can give info

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Please check parameter of the Generated Function Module:
SFPDOCPARAMS-FILLABLE

FILLABLE = X generates an interactive form. Usage rights are allocated to the form; these rights enable data to be entered and saved in Adobe Reader.

More information you can find below:
https://help.sap.com/viewer/e0e3d14ea0214efc82251725ba84c4a1/7.5.7/en-US/7096aa7442ee484386ca81dacfe...

Best Regards,
Piotr

falazure
Newcomer
0 Likes

Hello.

 

I dont create pdf from template. I have already created PDF files on my disk. Some of them editable. And some of them - not editable.

I upload this files (with FM GUI_UPLOAD). And then I need to check - If uploaded PDF is editable or not.