on 07-23-2015 11:29 AM
Hello All,
We have a situation here. Our Portal in integrated with several WD ABAP Applications. In all of them there are various search criteria based on which data is fetched from ECC and displayed as a table in the WD application. Option has been provided to convert the data displayed in the table to convert to PDF and print.Is there a way this generated PDF be stored anywhere so as to be used later if necessary.
1. The data displayed through search criteria changes from time to time, hence this need for storage.
2. Storing on local desktop is not an option.
Can anyone guide on how this can be achieved? Can it be stored in Portal somewhere or any suggestions are welcome.
Requirement is such, user when clicks on say Print, he should get an option to save( it should be saved in SAP or Portal or somewhere) also print if needed.
Thanks
Uday
Hello Uday,
Please try to use this Function Module to archieve your data ARCHIV_CREATE_TABLE.
Cheers,
Bharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
a very simple way ist to store the pdf xstring in a Y Table.
kind regards
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay, i am not quite sure about your technical solution to convert the data into pdf.
Is the pdf shown in your WDA Application?
At the end of the convert process there should be a xstring with the pdf file content.
This xstring could simply be saved into a custom Tablefield of type xstring.
If you need to show the pdf again, read it from table und give the xstring back to your application.
That is the simple solution, but think about storage in this case, don´t know how many pdfs get generated, maybe you will need a lot of storage....
Since data is already converted in PDFs format, we are OK from that perspective. But the concern is to store that. The requirement is such that, once user clicks on print/save he needs to have an option to save in Portal or anywhere.
As you said, there will be large numb of documents so space is also an issue
Hi Uday,
you said the pdf is already converted to pdf, so I assume you have an xstring, which reprents the generated PDF (this by the way should be as large as the pdf, so if you have a 1 MB PDF, the xstring data also needs 1 MB storage).
This xstring has to be stored in a custom table.
You have to define which search criteria identify a document exactly (that should match criterias the user uses to find a document) build a table key and add a field of type xstring to the table.
In this field you can store your pdf xstring.
When you want to display the document again, just read the xstring and display it in your wda application.
for displaying the pdf in a wda application maybe this could be helpful:
hope this helps :-).
kind regards
Alex
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.