SAP Knowledge Base Article - Preview

3243102 - File downloaded to txt instead of excel file with Chrome or Edge browser

Symptom

cl_wd_runtime_services=>attach_file_to_response is used in customized Webdynpro program to download excel file, however the behavior is different with IE and Chrome/Edge.

With IE, it downloads excel file;

With Chrome/Edge, it downloads txt file instead.


Read more...

Keywords

attach_file_to_response, xlsx, xls, excel, edge, chrome, txt, text file, IE11, different, download, Content-Type, EXCEL, i_mime_type, application/pdf, pdf, application/excel , KBA , BC-WD-ABA , Web Dynpro ABAP , IS-DRY , SAP Dairy Management by msg , CA-MDG-AF , Application Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.