SAP Knowledge Base Article - Public

3843783 - Import Credit Memo Requests/Import Debit Memo Requests/Import Customer Returns: Document is Created With Very Slow Performance Although No Error (SAP S/4HANA Cloud Public Edition)

Symptom

  • Importing a sales document from spreadsheet using Import Credit Memo Requests/Import Debit Memo Requests/Import Customer Returns app shows very slow performance (over 1 hour) for a file with 1000 items or less.
  • The import completes and the document is created, but the document creation is significantly delayed compared to expectations.
  • No error message is displayed.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The header reference document (HEADER.REFERENCESDDOCUMENT) is not filled in while item-level reference document (ITEM.REFERENCESDDOCUMENT) and reference item (ITEM.REFERENCESDDOCUMENTITEM) are provided. This forces backend processing to create items one by one, leading to degraded performance.

Resolution

  1. If all items refer to the same source document, fill HEADER.REFERENCESDDOCUMENT at the header level.
  2. At item level, provide only the reference item number (ITEM.REFERENCESDDOCUMENTITEM) and do not fill ITEM.REFERENCESDDOCUMENT when the header reference is provided.
  3. If there is no requirement for a specific item sequence, sort ITEM.REFERENCESDDOCUMENTITEM in ascending order to further improve performance.
  4. Be aware of a known issue: if both HEADER.REFERENCESDDOCUMENT and ITEM.REFERENCESDDOCUMENT are filled with the same ID simultaneously, a short dump can occur. This is an issue brought with the feature Sales Document Import Apps: Partner Import. This will be corrected in CE2608.4. As a temporary workaround before the fix is available in the system, raise support ticket to the SD-SLS-IMP-SPR-2CL component to disable the feature toggle SD_ISD_SUPPORT_PARTNERS to prevent the dump scenario. This fix is also only for the Import Credit Memo Requests/Import Debit Memo Requests/Import Customer Returns apps.

See Also

Sales Document Import Apps: Partner Import

Keywords

Import Credit Memo Requests, credit memo import performance, slow import, spreadsheet import, header reference document, HEADER.REFERENCESDDOCUMENT, ITEM.REFERENCESDDOCUMENT, ITEM.REFERENCESDDOCUMENTITEM, sales document import, performance degradation, sort reference items, SD_ISD_SUPPORT_PARTNERS, CE2608.4, hotfix, SD SLS , KBA , SD-SLS-IMP-SPR-2CL , Sales Document Import from Spreadsheet (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions