SAP Knowledge Base Article - Public

2598509 - System Crashes when Using Distribute Among Other Invoices and Credit Memos in Supplier Invoice

Symptom

The system crashes when creating a Supplier Invoice with Item Type Additional Cost Debit Item, specifically when using the Distribute Among Other Invoices and Credit Memos function after entering the Purchase Order ID.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Supplier Invoicing Work Center.
  2. Navigate to the Invoices and Credit Memos View.
  3. Show All Documents and Find ABC (ABC represents the relevant Supplier Invoice ID).
  4. Click on Edit and then click on View All.
  5. Go to the Items tab.
  6. Choose the Cost Distribution sub-tab.
  7. Click on the Distribute among other invoices and credit memos.
  8. Enter the relevant Purchase Order ID into the Order ID field.
  9. Click on Distribute, then the system crashes.

Cause

The Purchase Order is linked to a Credit Memo without an Invoice Reference. During cost distribution, the system considers all relevant Invoices and Credit Memos. For Credit Memos, it only includes items with the Item Type Credit Memo Item and checks for their Invoice Reference. If the Invoice Reference is absent, a system dump occurs. Efforts are underway to modify this behavior so that an error message will indicate the missing Invoice Reference instead of triggering a dump. These changes will be included in a future release, with the release date yet to be confirmed.

Resolution

We suggest that, instead of distributing only with Purchase Order ID, you enter also the relevant Invoice IDs

  1. Go to the Supplier Invoicing Work Center.
  2. Navigate to Invoices and Credit Memos View.
  3. Show All Documents and Find ABC (ABC represents the relevant Supplier Invoice ID).
  4. Click on Edit and then click on View All.
  5. Go to the Items tab.
  6. Choose the Cost Distribution subtab.
  7. Click on Distribute among other invoices and credit memos.
  8. Enter the relevant Purchase Order ID into the Order ID field.
  9. Enter the corresponding Invoice ID into the Invoice ID field.
  10. Click on Distribute.

This will allow you to post the document.

Keywords

Crash, Dump, 500 Internal Server Error, Distribute Among Other Invoices and Credit Memos, Purchase Order ID, Supplier Invoice, Cost Distribution. , KBA , AP-SIP-SIV , Supplier Invoice , Problem

Product

SAP Business ByDesign all versions