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

user exit

Former Member
0 Likes
491

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

3 REPLIES 3
Read only

Former Member
0 Likes
450

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.

Read only

0 Likes
450

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

Read only

Former Member
0 Likes
450

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