SAP Knowledge Base Article - Public

3157853 - Error 'Invalid string length' appears when using Export option in the app 'Display Line Items in General Ledger'

Symptom

When exporting data in App Display Line Items in General Ledger following error is received "Invalid string length".

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Open App Display Line Items in General Ledger
  2. Press button View Settings (Gear icon)
  3. Press 'Select All' 
  4. Press OK
  5. Press button Export and option Export As
  6. In the 'Export As' dropdown window select option 'Split cells with multiple values'
  7. Press Export
  8. A warning window appears with 

    The exported document with & rows and & columns is too big.
    The memory capacity of the application might be exceeded.
    Cancel and select a smaller data set for the export.

  9. Press Export
  10. Popup with 'Invalid string length' appears

Cause

The amount of data you are trying to export is above the limitations, the browser runs out of memory and the export cannot be completed.

Please check the all limitations here.

The warning message before the export also tells.

Resolution

Reduce the number of total entries by adding more filter values in the filter bar OR reduce the number of columns in the settings of the table itself

Keywords

Display Line Items in General Ledger, F2217, Split cells with multiple values, export line items , KBA , FI-FIO-GL-IS , Reporting Apps , FI-FIO-GL-IS-2CL , Reporting Apps (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions