on 05-24-2011 8:27 AM
Hi all
I was asked for a requirement in CAT2 which said "User can only update time data in CAT2 for last two weeks from current date beyond that they should not be allowed to update " to accomplish this do i need to ask abper to write code or i can achive this by SPRO setting.
Regards
Subrat
Hi,
You do not need a program change to accomplish this requirement. While customizing your data entry profile in transaction CAC1 there is an option under time settings tab for controlling this. Lower limit abd upper limit relative. If you have chosen the period type as weekly by entering 1 in the lower and upper limit allow the user to scroll back and forward one week from the current week.
Hope this will solve your requirement.
Regards
Raviiiiiiiiii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subrat,
In CAC1 T.code select your data entry profile under time settings you can see two options i.e. Lower limit relative and Upper limit relative there you can specify number. As per your requirement you have to maintain 2 in both the places. So that employee cannot go back not more then 2 weeks.
But you have some limitation here-
In CAT2 initial screen if employee select one month back data and click on time sheet entry then system will allow to book time sheet. So to aviod that situation you have to implement some user exit.
Logic for user exit should be like this -
Select employee payroll area and check the current payroll period, if the time sheet entry date is older then two weeks of control record date then through error else proceed. Better you to discuss with developer for best results.
Edited by: Rajesh Jogiparthi on May 24, 2011 2:01 PM
Hi,
For adding the validations in the user exit, you may need help from an ABAPER. The following are the available user exits for CATS.
CATS0001 CATS: Set up worklist
CATS0002 CATS: Supplement recorded data
CATS0003 CATS: Validate recorded data
CATS0004 CATS: Deactivate functions in the user interface
CATS0005 CATS: Customer field enhancements
CATS0006 CATS: Validate entire time sheet
CATS0007 CATS: Subscreen on initial screen
CATS0008 CATS: Determine workflow recipients for approval
CATS0009 CATS: Customer-Specific Text Fields in Data Entry Section
CATS0010 CATS: Customer-Specific Text Fields in Worklist
CATS0011 CATS: Customer functions
CATS0012 CATS: Subscreen on data entry screen
Regards
Raviiiiiiiiii
Hi
In the profile set up, time settings can be done to restrict the requirement. Give the period and the Lower limit and upper limit and the relative date which restricts as per the data given.
R K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.