Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

To get number of pages in PDF

Hello ,

I have binary data of PDF file in Internal table . I convert this Binary data to Xstring and send it ADS server along with Annotation ( also as XSTRING ).

   PDF with Annotation is generated and sent back by ADS Server.

Problem is Annotation is getting generated only on Firstpage.

  I have checked XML defination of this Annotation and XML tag indicates only page 1.

So I would like to add more XML tags , to get for all pages of PDF.

To do this I would like to know how many pages my Source PDF has. So that I can dynamically prepare XML tags and convert to XSTRING  and then send to ADS together.

Is it possible to get number of Pages a PDF has.

Thanking you

Former Member
Not what you were looking for? View more on this topic or Ask a question