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
- 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.
- Post General Journal Entries.
- 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 , Problem