11-14-2008 5:16 PM
Hello there,
We have restricted access to the maintenance of TimeSheet through regular HR authorisations and also through the data entry profile authorisation groups.
However, we have had a reqeust come in where there is to be a further restriction on the cost center of who the TimeSheet administrator can maintain time for.
Is this possible?
There is a field that shows the cost center of the employee that is being edited, but there doesn't seem to be any authorisation check in the trace file. I have also added cost center auth object K_CSKS (Cost Center Master) in SU24 for CAT2, but still no authorisation check in the trace.
Could the only way be an authority-check in the ABAP of CAT2?
Thanks,
Bernard.
11-14-2008 6:01 PM
HI Bernard,
Check out if these BADIs can be helpful to restrict by Cost Center in CAT2
HRBAS00_SEARCH and HRBAS00INFTY
HRBAS00_SEARCH - Used to restrict the possible entry help values by CO-authorization objects in your roles.
HRBAS00INFTY - Used to check if the user has not entered another cost-center
If it doesn't help may be you have to go for some customization.
Regards,
Kiran Kandepalli.
11-18-2008 8:46 AM
Hello,
adding authorization objects in SU24 can't help, because SU24 will not add an authority-check statement to coding.
There is a field VDSK1 in the HR personnel data that can be customized. You can maintain the field in such a way that it contains the cost center. Aks your HR consultant how to do this. The advantage is that VDSK1 will be checked with object P_ORGIN. It is the field VDSK1 (organizational key) in P_ORGIN.
Regards
Rainer