on 10-15-2014 4:29 AM
Hi Experts,
I have a table which is having multiple PDFs.
How can I download these multiple PDFs to my desktop.
And also system should prompt dialogue box asking for storage location.
BR,
Eshwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I have used the below code, but PDFs are not getting opened.
Neverthless,
I want a pop up for asking the storage location.->Is this possible ?
DATA izip TYPE REF TO cl_abap_zip.
DATA zip_xstring TYPE xstring.
CREATE OBJECT izip.
LOOP AT lt_pdf_data_all INTO ls_pdf_data_all.
lv_title = ls_pdf_data_all-title.
izip->add( name = lv_title
content = ls_pdf_data_all-pdf ).
clear: lv_title,ls_pdf_data_all.
ENDLOOP.
zip_xstring = izip->save( ).
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'adobe_form.pdf'"l_name
i_content = zip_xstring
i_mime_type = 'application/pdf')."l_mimetype ).
Below error is triggering when PDF is getting opened.
BR,
Eshwar
Hi,
You can use FileDownload UI to download files or on Action of button/link you can download files using cl_wd_runtime_services= attach_file_to_response( ) method.
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
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.