In Benefits Enrollment WD Pro ABAP, I have made two enhancements to raise custom error messages.
One is on the Savings Plans step, I've made the enhancement in FM HR_BEN_ESS_CHECK_CONTRIB, when clicking add plan in the dialog box, the custom error appears, this error gets passed back to FM HR_BEN_ESS_MODIFY_PLANS and is brought all the way back to the UI appropriately.
The other is on the Credit Plans step and I've made the enhancement in FM HR_BEN_ESS_MODIFY_PLANS, when clicking add plan, I see the enhancement getting called and the error being raised, but it never comes back to the dialog box on the UI.
I can follow both back up through the stack in the various tables et_messages, ct_error_messages, etc.
However, when comparing the flow of the two, I notice that when CL_HRESS_TRANSACTION->HANDLE_GLOBAL_MESSAGES is called, the savings plan error is there, but the credit plan error is not.
I feel like I'm missing something in the configuration to make the custom error message show on the Credit Plan step, but have been unable to figure it out.