SAP Knowledge Base Article - Public

3516883 - Unposted Supplier Invoice due to error "Referenced item XX-1 of Contract XX not found"

Symptom

A supplier invoice document is unposted due to the following error message:

"Referenced item XX-1 of Contract XX not found"

XX-1 refers to the Contract line item and XX refers to the Contract ID.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the General Ledger work center.
  2. Go to the Source Documents view.
  3. Select the Unposted Supplier Invoice Document ABC (ABC refers to the Supplier Invoice).
  4. The error message is 'Referenced item XX-1 of Contract XX not found'.

Cause

The contract item XX-1 included in the Supplier Invoice ABC is canceled. An invoice with the canceled contract cannot be posted.

Resolution

The supplier invoice ABC has to be canceled and both the original and the canceled invoice had to be marked as irrelevant from the backend.

To mark the documents as irrelevant, you must set the cancellation invoice as irrelevant first which will set the original invoice as irrelevant automatically. Upon opening the business transaction for accounting for the cancellation invoice, the button Mark as Irrelevant will be enabled.

See Also

1864680 - Cannot Set Supplier Invoice as Irrelevant in Closing Cockpit - Unposted Source Documents

Keywords

Supplier Invoice, Unposted Source Document, Contract, Referenced item of contract. , KBA , SRD-FIN-GL , General Ledger , Problem

Product

SAP Business ByDesign all versions