cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1: PDF how to map on metatags

Former Member
0 Kudos
72

Hi

We send a PDF as BASE64 via a proxy to PI. Here we want to decode the PDF and map the matadata of the PDF. We need to look at Font types, size etc.

Anyone know how to do that? Or is it simpler in ABAP (how)?

Cheers

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Bowie,

Since you are using ABAP proxy its better to get the PDF metadata in R3.

Try using the class CL_GUI_PDF_VIEWER

Another approach would be to use Java mapping in XI get the required information:

Refer this link for a glimpse of code http://www.jpedal.org/gplSrc/org/jpedal/examples/images/ExtractImages.java.html

(using jpedal package)

Regards

Suraj

Edited by: S.R.Suraj on Sep 8, 2009 5:45 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bowie,

My suggetion is better to change the data in the ABAP side, we can do the change in PI also by using the java and xslt mapping but as compared to change the data in the ABAP changing the data in PI is difficult.

We have so many function modules in ABAP for changing the pdf documents like FP_CHECK_BATCH_PDF_OUTPUT, FP_PDF_ATTACHMENT_TEST,..... check which one is exactly suitable to your requirement and do that.

Regards

Ramesh