Release 4 introduces a new BAdI (Business Add In) which provides the facility to develop and deploy more complex closure conditions for BPEM/EMMA.
BPEM Closure Control provides the ability to configure a condition per Case Category, which defines whether or not a case can be closed. If an agent attempts to close a condition that has not been met, then depending on the configuration, they will either get an error that prevents them from closing the case, or a warning.
For example an agent cannot close a BPEM/EMMA case for an implausible read, where the meter read document has not been corrected or released.
Cases can also be automatically closed by BDEx where the closure condition has already been met.
In previous versions this has been limited to configuring rules based upon the contents of the case container. With the introduction of the BAdI, the ability to develop more complex rules is now possible. For example, rules based upon the existence of other case types, or rules based upon date specific or seasonal criteria.
The BAdI for closure control is /BTI/MDE_BADI_BPEM_CLOSURE, with the custom logic for closure conditions in method CHECK_CUSTOM_CONDITION. This BAdI is filtered on the BPEM Case Category.