SAP Knowledge Base Article - Public

3765464 - Invoice Cancellation Error: Analytical Account Assignment During Exchange Rate Difference Reversal

Symptom

  • An error occurs when attempting to cancel a supplier invoice in the Cancel Supplier Invoice Document app
  • Error message indicates a problem related to the analytical account assignment.

Environment

  • Product: SAP S/4HANA Cloud Public Edition
  • Fiori UI for Invoice Verification (Public Cloud)

Reproducing the Issue

  1. Create a foreign currency purchase order with account assignment category “P”.
  2. Post the goods receipt.
  3. Post the supplier invoice successfully.
  4. Attempt to cancel the supplier invoice in the Cancel Supplier Invoice Document app.
  5. Observe an error related to analytical account assignment.

Cause

  • Invoice cancellation does not necessarily reverse all postings made during the original invoice posting; this is standard system behavior.
  • The reversal fails because the exchange rate difference (ERD) line, posted to a G/L that is a primary cost element, does not receive the WBS assignment during reversal, even though the original posting derived it from the purchase order.

Resolution

  1. Create a new G/L account dedicated to exchange rate differences (for example, a new number in the ERD range).
  2. Ensure this new G/L account is not created/maintained as a primary cost element (no cost element assignment).
  3. Assign the new G/L account to transaction key GBB-VBR for the relevant valuation class in account determination.
  4. Save the configuration and test by posting a new foreign currency invoice and canceling it to confirm the analytical account assignment error no longer occurs.

See Also

refer to: Credit Memos (Help Portal)

Keywords

invoice cancellation, cancel supplier invoice document, analytical account assignment error, exchange rate difference, GBB-VBR, primary cost element, WBS missing, account assignment category P, foreign currency purchase order, invoice reversal, account determination, cost element flag, MR8M, Fiori, S/4HANA Cloud , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions