SAP Knowledge Base Article - Public

2891508 - Coding Block Validation does not work for all accounts

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

S/4 HANA Cloud

Reproducing the Issue

  1. Validation created in App Custom Fields and Logic (App ID F1481) using BADI FIN_CODING_BLOCK_VALIDATION
  2. Data entered in app App for example Post General Journal Entries (App ID F0718) 
  3. 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 S/4 HANA Cloud

2868600 - Validation and Substitution not working for Cloud badi using CDS view

BAdI for Validation for Journal Entries

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

Product

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