SAP Knowledge Base Article - Public

3555973 - Unposted Supplier Credit Memo Due to Error: "Referenced invoice XX-1.2 was not posted successfully"

Symptom

  • An error occurs when attempting to post a supplier credit memo.
  • The error message displayed is "Referenced invoice XX-1.2 was not posted successfully".
  • Note: 'XX' refers to the Supplier Invoice document ID.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Navigate to the General Ledger work center.
  2. Access the Source Documents sub-view.
  3. Search for the respective Supplier Credit Memo ID.
  4. The document is unposted due to the error "Referenced invoice XX-1.2 was not posted successfully".

Cause

  • The Supplier Credit Memo is not posted into accounting as the reference supplier invoice has a Process Communication Error "Supplier Invoice XX / XX-1.1; Coding Block Assignment cannot be changed".
  • A failed message with an error "Supplier Invoice XX / XX-1.1; Coding Block Assignment can not be changed" can be observed in the backend.
  • The error occurs because the Cost Distribution in the relevant Supplier Invoice is incorrectly maintained.

Resolution

To resolve the issue, follow these steps:

  1. Cancel the Credit Memo and the referenced Supplier Invoice.
  2. Create a new Invoice with accurate Cost Distribution.
  3. This allows the new Supplier Invoice to be posted to accounting without any error messages following which a new credit memo can be posted successfully as well.

Keywords

Supplier Invoice, Error, Posting, Coding Block Assignment, Process Communication Error, Supplier Credit Memo. , KBA , SRD-FIN-GL , General Ledger , Problem

Product

SAP Business ByDesign all versions