on 07-19-2007 1:29 PM
Hi All,
We have one scenario the client want to enter time sheet for attendance type not more than 2 weeks and for absence the system is allow for 52 weeks. Now the problem is they are using same data entry profile for attendance and absence so in data entry profile we cannot do the setting for Lower limit relative and upper limit relative.
Please provide the solution if your having
Thanks
Tanveer
HI Paul,
Thanks for your reply. I written this program in user exit
IF SAP_TCATS-DEFAWART = '2000'.
CHECK SAP_TCATS-PERRIGHT GT '15' AND
SAP_TCATS-PERLEFT GT '7' . Message e000(26) WITH 'Days are more'.
ENDIF.
But it is not working
Thanks
Tanveer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanveer,
We use this exit allways for extra logic, so I don't know why it doesn't work. I suppose you know how to use user-exits and you debugged your program already? I wonder if your check using the scroll logic is working properly. Unfortunately I can't help you further with developing the proper check.
Regards,
Paul
Hi,
What you can do is to use the user-exit (exit_saplcats_03) that checks the entered data. If this data belongs to the attendace type, you make an extra check on the period and give an error message on failure. This will work.
Regards,
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
9 | |
6 | |
6 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.