2011 Aug 22 5:18 PM
Hello
we want to display a PDF in the SAP-GUI, either inline or external via the registered application (Adobe Reader, Adobe Acrobat or whatever).
If the user has an application that is capable of editing a PDF-Document, we need to get the document's new data to store it in a document server under a new version.
So is there any possibility to display a PDF and register some sort of callback that is triggered and gets passed the document's data (in any format)?
The only solution I found so far, is to display a PDF Form with Adobe Reader extensions and send the entered form-data via a service-call, initiated by embedded Java-Script in the PDF, back to the server. We need however the document's full data and we are going to display normal PDF documents that have no form-fields.
Thanks alot
2011 Aug 22 5:49 PM
Hi,
one solution would be to download the PDF on user's desktop, execute it synchronously, then user will save and close, which gives return to ABAP which then reads it back.
To execute synchronously, call CL_GUI_FRONTEND_SERVICES=>EXECUTE with parameter SYNCHRONOUS='X'
Sandra
Hi,
one solution would be to download the PDF on user's desktop, execute it synchronously, then user will save and close, which gives return to ABAP which then reads it back.
To execute synchronously, call CL_GUI_FRONTEND_SERVICES=>EXECUTE with parameter SYNCHRONOUS='X'
Sandra
2011 Aug 22 5:49 PM
Hi,
one solution would be to download the PDF on user's desktop, execute it synchronously, then user will save and close, which gives return to ABAP which then reads it back.
To execute synchronously, call CL_GUI_FRONTEND_SERVICES=>EXECUTE with parameter SYNCHRONOUS='X'
Sandra
2011 Aug 23 10:42 AM
Are there any other ideas if this solution has to be tightly integrated into Business Document Services?
Thanks alot so far
2011 Aug 23 1:37 PM
Hi,
Are there any other ideas if this solution has to be tightly integrated into Business Document Services?
If you want to read or store data using BDS, there is CL_BDS_DOCUMENT_SET class to do it.
Sandra
2011 Aug 23 3:17 PM
Thank you Sandra,
apart from this API, I believe there is no mechanism in BDS to display a PDF for editing out-of-the-box, is there?
2011 Aug 23 4:39 PM
I don't see another solution that would fit your requirement. The issue with all versions of PDF viewers from within SAP is that we can't read back the input data, except with Adobe forms with web dynpro integration .
Sandra
2011 Aug 23 5:03 PM
2011 Aug 23 10:54 AM
Hi Kai,
There are such provisions using Adobe Forms. But, you need a license for Adobe Forms in SAP. You can try searching this with reference to Adobe Forms.
Regards,
Pranav.
2011 Aug 23 12:20 PM
Could you please be more specific.
As already stated I do not want to process PDF Forms, instead I want users to modify a PDF using software like Adobe Acrobat (in contrast to Adobe Reader) and get the modified document's data (in contrast to the PDF's form-data).
Does Adobe Forms help me with such a task?
2011 Aug 23 12:48 PM
Hi Kai,
To be generic, SAP Adobe Forms are similar to Smartforms when it comes to form designing and printing.
The added advantages include, you can have online as well as offline forms where users can edit pdf's i.e. Enter Data in editable fields and can be uploaded or used as per the requirement.
So your requirement can be surely met using SAP Adobe Forms.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |