Skip to Content
avatar image
Former Member

Read properties of PDF file

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

pdf-properties.jpg (54.0 kB)
pdf-name.jpg (15.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 06, 2017 at 05:46 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded