16

SAP Fiori Excel download - There is no count provided in the export configuratio...

 1 year ago
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.
neoserver,ios ssh client
11 hours ago

SAP Fiori Excel download - There is no count provided in the export configuration

45 Views

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.

image.png

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.

Attachments

image.png (16.2 kB)
2 comments
6 hours ago

oRowBinding.getLength()

what is the runtime value for that expression if you debug that?

9 minutes ago

there are five (5) records:

2171706-image.png

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK