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 (IE11 is out of support now);

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 , CA-MDG-AF , Application Framework , IS-DRY , SAP Dairy Management by msg , BC-SRV-BR , BRFplus - ABAP based Rule 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.