Symptom
In the app Display Line items in General Ledger, you encounter the following errors during the export:
- 'The export process ran out of memory and was terminated.'
- 'Invalid string length'
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to app Display Line Items in General Ledger.
- Specify the input parameters.
- Click on Go.
- Select the Export option at the output.
- Export Error occurs.
Cause
The error is due to a limitation of UI5 client-side export which is used by the app Display Line Items in General Ledger, when the exported document is too big. The number of rows exceeds the maximum number of rows that can be exported per spreadsheet There are limits when selecting the export in the app.
The Spreadsheet Export has certain limitations including the following:
The maximum number of rows that can be exported is restricted to 1,048,576.
The number of cells that can be exported is restricted to 2,000,000 on desktop and 100,000 on mobile devices.
More details on the restrictions can be found in below document: Spreadsheet Export Restrictions - Documentation - Demo Kit - SAPUI5 SDK
Resolution
Cancel and adjust the column or filter settings to select a smaller number of cells for the export. Modify or selection parameters and adjust it.
See Also
- Help Portal: Display Line Items in General Ledger
- Please consider the limitations related to this generic function, as described in SAP Note 2630594 - SAPUI5 - known limitations for document export in SAPUI5 apps.
Keywords
Display Line Items in General Ledger, Export Error, row, column, Invalid string length, The export process ran out of memory , KBA , FI-FIO-GL-IS-2CL , Reporting Apps (Public Cloud) , FI-FIO-GL , Fiori UI for General Ledger Accounting , Problem
SAP Knowledge Base Article - Public