SAP Fiori Excel download - There is no count provided in the export configuratio...
source link: https://answers.sap.com/questions/13898138/sap-fiori-excel-download-there-is-no-count-provide.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.
SAP Fiori Excel download - There is no count provided in the export configuration
I am getting the following errors, kindly advise
There is no count provided in the export configuration. The total number of exported rows cannot be predicted and might exceed the memory capacity of the application. Please do not proceed unless you are sure that the current filter settings do not result in a large amount of data.
onExport: function () {
var aCols, oRowBinding, oSettings, oSheet, oTable;
if (!this._oTable) {
this._oTable = this.byId('idTabAll');
oTable = this._oTable;
oRowBinding = oTable.getBinding('items');
aCols = this.createColumnConfig();
oSettings = {
workbook: {
columns: aCols,
hierarchyLevel: 'Level'
dataSource: oRowBinding,
count: oRowBinding.getLength(),
sizeLimit: 1000,
fileName: 'TablePMAutoTmpl.xlsx',
worker: true
oSheet = new Spreadsheet(oSettings);
oSheet.build().finally(function () {
oSheet.destroy();
kindly advise.
oRowBinding.getLength()
what is the runtime value for that expression if you debug that?
there are five (5) records:
When I try to test through WEBIDE it works fine. but when I try to test from sicf or fiori launchpad that's where errors come.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK