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
- Open the App Schedule General Ledger Jobs (F1927) and run the Automatic Clearing job for GR/IR.
- Review the job log for items that fail to clear.
- 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
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
SAP Knowledge Base Article - Public