ESS Clock in/Clock Out corrections Badi
I have a requirement to give an error message if the request date is not between 1st to 10th of the current month. This requirement is used when the user tries to correct clock in entries. I have been asked to use PT_COR_REQ BADI which is an enhancement spot for this requirement. There are 3 methods in this BADI, SIMULATE_VIA_BLOP, POST_VIA_BLOP, CHECK_TIME_CONSTRAINTS.
Please suggest me which method to use. when i click accept button in ess after choosing clock in from drop down, simulate_via_blop and check_time_constraints method are triggering. But it doesn't have any parameter for error messages.
Please reply ASAP. Thanks in advance.