on 09-08-2009 10:32 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.