SAP Knowledge Base Article - Public

2899794 - No CO account assignment in clearing lines


Validation rule created for CO account assignment, when you clear open items, validation does not work as expected.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


S/4 HANA Cloud


Reproducing the Issue

  1. In Custom Fields and Logic (App Id F1481) or using app Manage Substitution and Validation Rules (App ID F4406) for example validation created to check that CO assignment (for example cost center, wbs element, order etc.) is present on line item.
  2. Post General Journal Entries.
  3. When Clearing line item for example using app Clear G/L Accounts - Manual Clearing (App ID F1579) for which co assignment is present on original journal entry, validation error issued stating that CO assignment is not present.


Normally the clearing line items are created on an aggregated level. The fields of the coding block are not available.


Exclude this kind of item from a customer defined validation. (The clearing items can be identified using the contents in field  CLEARINGACCOUNTINGDOCUMENT = *)


wbs element, cost center, internal order, COSTCENTER, ORDERID, WBSELEMENTINTERNALID, PROFITABILITYSEGMENT clearing, FIN_ACDOC_VALIDATION, FIN_ACDOC_ITEM_VALIDATION, FIN_ACDOC_VALIDATION, FIN_CODING_BLOCK_VALIDATION, validation, F1579, F1481, coding block, F4406 , KBA , FI-SL-VSR , Validation, Substitution and Rules , FI-FIO-GL , Fiori UI for General Ledger Accounting , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , Problem


SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions