‎2011 Feb 02 5:47 AM
Hi all,
I have an issue in user exit.
I have created user exit for IT2001, where if the employee is in probationary period he will not be able to apply sick leave and data is also maintained for employee in IT0016 . But this condition is not getting checked in pa30 for 2001and it is allowing employee to take sick leave. If i put a break point in CMOD and try to apply leave from pa30 i am not getting directed to break point screen.(CMOD). Please let me know what is the problem.
Regards,
Arun
‎2011 Feb 02 11:23 AM
Hi Arun,
Did you activate the Project in CMOD and did you check that the user exit used is the right one?
With Regards,
Vimal.
‎2011 Feb 03 4:21 AM
Hi Vimal,
I have activated the project and written the code in the correct one..
Anything else i have to check??
Regards,
Arun.
Edited by: ARUN.NAREIN on Feb 3, 2011 5:21 AM
‎2011 Feb 03 2:11 PM
Hi,
Please try with below coding.
If sy-tcode eq 'PA30' or sy-tcode eq 'PA20' or sy-tcode eq 'PA10'.
Break (your user id).
then enter your code here .
endif.
Please try with the above coding.
Please remove the break statement after your testing has done.
With Regards,
Sumodh.P