Symptom
You want to use Badi FIN_ACDOC_SUBSTITUTION to change journal entries created from CO process (for example settlement), but the Badi is not working.
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Create accounting journal entries from settlement process.
- Test the Badi FIN_ACDOC_SUBSTITUTION.
- Trace the Badi when creating journal entries.
Cause
In CO related process, only table BKPF/ACDOCA are created but not BSEG. While for FIN_ACDOC_SUBSTITUTION BSEG is the prerequisite table.
Resolution
It is standard behavior, the Badi FIN_ACDOC_SUBSTITUTION only works for direct accounting journal entries.
Keywords
FIN_ACDOC_SUBSTITUTION, settlement, CO, custom fields and logic , KBA , AC-INT , Accounting Interface , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions