Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read properties of PDF file

Former Member
0 Kudos

Hi All,

I have a requirement where PDF files would be uploaded to SAP system but at the same time, I need to reject PDF files that are password protected. Can anyone let me know how can this be achieved?

It will also be helpful if someone can help me with getting the below mentioned properties of uploaded PDFs.

Thanks,

Sonal

1 REPLY 1

iftah_peretz
Active Contributor
0 Kudos

Hey,

If the file is on the application server you can use the FM ADS2KIPUPL_GET_FILE_ATTRIBUTES.

If you want to read it from the presentation server get it (the properties) from some exe that returns that info. You can use something here.