Symptom
Coding Block Validation FIN_CODING_BLOCK_VALIDATION does not work for all accounts
"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
Reproducing the Issue
- Validation created in App Custom Fields and Logic (App ID F1481) using BADI FIN_CODING_BLOCK_VALIDATION
- Data entered in app App for example Post General Journal Entries (App ID F0718)
- Validation does not work for balance sheet accounts.
Cause
BADI FIN_CODING_BLOCK_VALIDATION - Coding Block Validation is only valid for cost or revenue accounts.
Resolution
- In app Manage G/L Account Master (App id F0731A) check account configuration.
- BADI FIN_CODING_BLOCK_VALIDATION - Coding Block Validation can be used for cost or revenue accounts.
- BADI FIN_ACDOC_ITEM_VALIDATION - Journal Entry Item Validation can be used for balance sheet accounts.
- A Select from a CDS view in FIN_ACDOC_ITEM_VALIDATION may also be possible WITH PRIVILEGED ACCESS
See Also
2676581 - FAQ: Validation and Substitution Cloud BAdIs Availability
2462725 - FAQ: Validation and Substitution for Journal Entries in SAP S/4HANA Cloud Public Edition
2868600 - Validation and Substitution not working for Cloud badi using CDS view
Keywords
validations, custom logic, K_COBL_CHECK, F0718, F2547, F0731A, F1481, F0731A, CO validation , KBA , FI-SL-VSR , Validation, Substitution and Rules , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , Problem