Symptom
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."
Environment
SAP S/4HANA Cloud Public Edition
S/4 HANA
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.
Cause
Normally the clearing line items are created on an aggregated level. The fields of the coding block are not available.
Resolution
Exclude this kind of item from a customer defined validation. (The clearing items can be identified using the contents in field CLEARINGACCOUNTINGDOCUMENT = *)
Keywords
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