SAP Knowledge Base Article - Public

3758479 - MIRO import: error "G/L account XYZ is not defined in chart of accounts"

Symptom

While posting MIRO for import items, the system displays: "G/L account XYZ is not defined in chart of accounts".

XYZ means G/L account ID

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Post a supplier invoice (MIRO) for import items.
  2. Observe the error: "G/L account XYZ is not defined in chart of accounts".

Cause

The supplier invoice is in a foreign currency; when the current exchange rate differs from the rate in the purchase order, the exchange rate difference is posted to transaction key KDM.

In Automatic Account Determination, G/L account XYZ is assigned to KDM but this account does not exist in the chart of accounts, leading to the error.

Resolution

  1. Open the Automatic Account Determination app for MM/Invoice Verification.
  2. Navigate to the KDM (exchange rate difference) transaction key.
  3. Check the assigned G/L account. If it does not exist in the chart of accounts, replace it with a valid, existing G/L account intended for exchange rate differences.
  4. Ensure the chosen G/L account is defined in the chart of accounts and is allowed for posting.
  5. Save the configuration and retry posting the MIRO document.

See Also

Keywords

MIRO, import invoice, G/L account not defined, chart of accounts, KDM, exchange rate difference, foreign currency, automatic account determination, invoice verification, posting error, MM-IV, S/4HANA Cloud , KBA , MM-IV-GF-CUST-2CL , Customizing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions