on 2022 Jun 10 6:22 PM
When using web Dynpro and downloading a PDF file throw Microsoft Edge the file is saving as .TXT. PDF download works fine with Chrome and Firefox. Why does Edge save a PDF as .TXT? Is there a fix for this?
Here is the code:
cl_wd_runtime_services=>attach_file_to_response(
exporting
i_filename = lv_file_name
i_content = ls_anexo-attachment_bin
i_mime_type = 'pdf'
i_in_new_window = abap_false
i_inplace = abap_false ).
cl_wd_runtime_services=>attach_file_to_response(
exporting
i_filename = lv_file_name
i_content = ls_anexo-attachment_bin
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.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.