Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Custom error messages in ESS/ MSS BADI HRPBSIN_VALIDATE_REQ carry forwarded

Former Member
0 Kudos


I have implemented the BADI HRPBSIN_VALIDATE_REQ for ESS/MSS (Enhancement Spot HRPBSINLEAVEREQ).

I have written an error message for example if the number of u2018Days to be Encashedu2019( in ESS/MSS portal) is greater than 60 then an error messages should be displayed as: You have exceeded the lime 60 Days.

After implementing the BADI the error message is getting displayed.

But even after correction we are able to go to next screen but still the error message is getting displayed in the next screen showing: You have exceeded the lime 60 Days. Which should not be the case? It should go ahead without the error message as the user has corrected the number of u2018Days to Be Enchashedu2019.

I have appended the error message to table error_tab in method IF_HRPBSIN_VALIDATE_REQ~VALIDATE_REQ.

Request you to tell the procedure how to come across this issue.




Former Member
0 Kudos

You got any solution for this? , Same things is happening with me also.

0 Kudos

same iisue we are facing?did you get any solution?

0 Kudos

Solution: If the error tab is initial, fill the error tab with some success message with type 'S', and then the forwarded error message replaces with success message in the next screen.