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: 

How to change PDF data?

sbslmhmt
Participant
0 Kudos

Hello,

We are receiving PDF data from a non-sap source via web service. We would like to write additonal information on received PDF. Is it possible to change PDF data on SAP?

Best regards.

2 REPLIES 2

matt
Active Contributor

You need to give far more information about what the PDF is, what format it is, what standard it is. If it's just a container of a photo, then you can't really do anything with it.

Generally, PDF is not a suitable format for data exchange.

Only PDF/A-3 (ISO 19005-3:2012) is suitable for transferring data between systems.

DominikTylczyn
Active Contributor

Hello sbslmhmt

I don't think it is possible to manipulate PDF data purely in ABAP. I had a similar scenario in the vendor invoice management process - vendors emailed invoices as PDF attachments and a barcode had to be added to the incoming PDF file; the barcoded number itself was generated in SAP with a number range. We have ended up with an external Java program that accepted PDF file and a barcode number. The program added a PDF layer with the barcode. We used iText library to manipulate PDF files programmatically. The Java program was called with OS command defined in SM49.

Best regards

Dominik Tylczynski