SAP Knowledge Base Article - Public

3734268 - Account requires CO assignment error appears during GR/IR automatic clearing for exchange difference lines - S/4HANA Cloud Public Edition

Symptom

Error "Account XXXXXX requires an account assignment relevant to cost accounting" occurs during GR/IR clearing when running Automatic Clearing.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the App Schedule General Ledger Jobs (F1927) and run the Automatic Clearing job for GR/IR.
  2. Review the job log for items that fail to clear.
  3. Observe the error "Account XXXXXX requires an account assignment relevant to cost accounting"

Cause

An exchange rate difference line inherits a cost center from the invoice being cleared that has the “revenues” category, making it a statistical controlling object. Since G/L Account for Exchange Difference requires real CO assignment, there is an error appearing. Configuration from Manage Default Account Assignments is not used as there is already a cost object assigned. 

Resolution

This behavior is reviewed at the moment. Until it is changed you can use following workaround:

1. Create BAdI Implementation for FIN_CODING_BLOCK_SUBSTITUTION enhancement point.

2. For exchange rate G/L Account XXXXXX clear Cost Center if it is the only account assignment.

3. That would trigger account assignment to be taken from Manage Default Account Assignments configuration, i.e. Profitability Segment should be determined.

See Also

Business Add-Ins for Substitution for Journal Entries

Creating Implementations

Keywords

gr/ir clearing, automatic clearing, exchange difference, exchange rate difference, account requires assignment to co object, ki235, account assignment relevant to cost accounting, okb9, manage default account assignments, fin_coding_block_substitution, badi substitution, profitability segment, statistical cost center, real co assignment, gl clearing failure , KBA , FI-GL-GL-J-2CL , Integration/Accounting Interface (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions