I am now working on a BADI enhancement in travel management area. Travel expense receipts would be created using ESS portal and when the user tries to save the receipts, it should trigger this BADI TRIP_WEB_CHECK to make validations on certain expense types.
In BADI, we have to check if total amount of the application exceed certain amount. If the check fails, a popup message has to appear saying Amount has been exceeded. It seems that method USER_CHECK_RECEIPTS could be used and parameter RECEIPTS could be used for checking on the payment amount. However, we have no idea on how to calling them and how to publish the error message to ESS portal. Grateful if you could let know on how to work with this, million thanks!