SAP Knowledge Base Article - Preview

3209998 - WDA: How to check the correct MIME type of a file?

Symptom

  • Using custom Web Dynpro ABAP application/coding the downloaded file has wrong extension. E.g. the extension of the downloaded file is *.txt instead of *.pdf.**
    ** The issue is browser dependent. E.g. it works in Google Chrome but does not work in MS Edge based on Chromium,

  • The correct MIME type of a file needs to be determined.


Read more...

Environment

  • Web Dynpro ABAP
  • SAP NetWeaver
  • ABAP PLATFORM - Application Server ABAP
  • MS Edge based on Chromium
  • Google Chrome
  • Internet Explorer

Product

ABAP platform all versions ; SAP NetWeaver all versions

Keywords

Web Dynpro, Webdynpro, Web Dynpro ABAP, WDA, WDA_GDPR, custom code, MIME, MIME type, file extension, file, extension, wrong, different, MS Edge, IE11, Google Chrome, Internet Explorer, issue, download, upload, browser, hochladen, herunterladen, Datei, file download, downloaded file, downloaded, Datei herunterladen, wrong, wrong MIME type, wrong mime, wrong extension, pdf, txt, xls, xlsx, csv , KBA , BC-WD-ABA , Web Dynpro ABAP , How To

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.