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.
SAP S/4HANA Cloud.
Reproducing the Issue
- Create accounting journal entries from settlement process.
- Test the Badi FIN_ACDOC_SUBSTITUTION.
- Trace the Badi when creating journal entries.
In CO related process, only table BKPF/ACDOCA are created but not BSEG. While for FIN_ACDOC_SUBSTITUTION BSEG is the prerequisite table.
It is standard behavior, the Badi FIN_ACDOC_SUBSTITUTION only works for direct accounting journal entries.
FIN_ACDOC_SUBSTITUTION, settlement, CO, custom fields and logic , KBA , AC-INT , Accounting Interface , Problem