Application Development 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: 

TimeSheet (CAT2) authorisations around the Cost Center

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

RainerKunert
Active Participant
0 Kudos

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