Symptom
After moving to the new version of the App - Manage Cost Centers the BADIs are no longer working.
BAdis -
FIN_COST_CENTER_DETERMINATION
FIN_COST_CENTER_ON_SAVE
FIN_COST_CENTER_VALIDATION
There are no BADI traces visible in the custom logic tracing also.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Add custom fields with validations in the Manage Cost Centers app using one of the BADIs mentioned above.
- Start using the new version of the App - Manage Cost Centers.
- Attempt to trigger the BADI and observe that it does not execute.
Cause
The validation mechanism in the new version of the Manage Cost Centers app has changed, requiring the use of a different validation method.
Resolution
After moving to the new version of the App - Manage Cost Centers there is a new validation needed. Please refer to the following -
App Extensibility: Manage Cost Centers (New Version)
the validation has changed. Please now use one of -
Validate Fields in a Cost Center Object (COST_CENTER_VALIDATION)
Determine and Validate Field Values when Updating a Cost Center (COST_CENTER_DET_ON_MODIFY)
Determine and Validate Field Values when Saving a Cost Center (COST_CENTER_DET_ON_SAVE)
See Also
- Refer to: Manage Cost Centers (Version 3).
- Refer to: App Extensibility: Manage Cost Centers (New Version).
Keywords
manage cost center app, badi, validation, custom logic tracing, cost center object, new version, extensibility, no longer triggering, not triggering, BDEF Extension Point, BDEF , KBA , CO-FIO-CCA-MD-2CL , Master Data (Public Cloud) , Problem
SAP Knowledge Base Article - Public