Dear Experts,
when employee is applying for minus annual leave, system should check whether he has any annual leave balance, if he has system should raise an error message.
I used HRPAD00INFTY and in update method i checked the condition for sub type and write error message using message class eg. MESSAGE E000(ZERROR) and system is giving error message.
If i press enter again record gets created. i need to restrict creation of this record. when i checked in debugging, system is choosing another sub type, so my conditon fails and record gets created.
i searched in forums not able to find
soln
solution. please give
soln
solution for this. .
Reagards,
Thanesh
Edited by: Thomas Zloch on Jan 19, 2012