SAP Knowledge Base Article - Preview

3335745 - sap.ui.export.Spreadsheet: Export failed with error 'Unexpected server response'

Symptom

Exporting to excel from sap.m.Table via sap.ui.export.Spreadsheet class failed with a pop-up error:

The following error has occurred during export:
Unexpected server response:
...

Error messages in browser console:

1 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The URL '/sap/bc/ui5_ui5/ui2/ushell/resources/~<token>~/sap/ui/export/js/SpreadsheetWorker.js' is invalid.
Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'mEventRegistry')


Read more...

Environment

SAPUI5 1.71

Product

SAPUI5 all versions

Keywords

sap.ui.model.ListBinding, sap.ui.model.TreeBinding  , KBA , CA-UI5-TBL , SAP UI5 table, smart table, list and tree controls , 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.