on 03-04-2014 10:37 AM
Dear friends,
while trying to download pdf file from webdynpro i am getting the following error ( pls check the screen shot and also my code )
could any one please let me know what's the issue
Thanks
Vijaya
data v_bin_filesize TYPE i,
st_job_output_info TYPE ssfcrescl,
bin_pdfx TYPE xstring,
data : it_docs TYPE STANDARD TABLE OF docs,
it_lines TYPE STANDARD TABLE OF tline.
data : lv_file_name type string.
lv_file_name = 'PDFSMARTFORM.PDF'.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
* EXPORTING
* USE_OTF_MC_CMD = 'X'
* ARCHIVE_INDEX =
IMPORTING
bin_filesize = v_bin_filesize
TABLES
otf = st_job_output_info-otfdata
doctab_archive = it_docs
lines = it_lines
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
cl_wd_runtime_services=>attach_file_to_response(
i_filename = lv_file_name
i_content = bin_pdfx
i_mime_type = 'application/pdf'
i_in_new_window = abap_false
i_inplace = abap_false ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what is bin_pdfx in your code? it is not filled anywhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.