
6

Edge download pdf as txt
source link: https://answers.sap.com/questions/13658183/edge-download-pdf-as-txt.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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 ).
</div
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK