cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Restriction of Timesheet changes after approval from configuration

Saurabh100
Discoverer
0 Likes
1,109

As per business requirement, I have enabled the Restriction of timesheet changes after approval from configuration change. After enabling the control, their are some cases in which the timesheet needs to be edited. But Even project manager is unable to make changes.

Accepted Solutions (1)

Accepted Solutions (1)

Seema022
Advisor
Advisor

Hello Saurabh,

In the Data profile configuration in the S/4Hana Public cloud timesheet solution, the restriction on "No changes after approval" applies universally to all timesheets, regardless of the user's role (whether it's a project manager acting on behalf of employees or the employees themselves)who's making updates or modifications to the approved timesheet. The restriction cannot be modified based on the user's role.

There could be a workaround for your scenario - i) in the Configuration, do not set the "No changes after the approval" flag ii) Use the validation BADI - HCM_CATS_V1_TS_VALIDATION to prevent employees to make any modification for the approved entries other than the Project Manager.

Thanks & Regards,

Seema

 

Saurabh100
Discoverer
0 Likes
Hello Seema, Like you suggested i have implemented the above BADI. But still employees are able to change the timesheets. And even in the trace the details of project manager is missing in order to apply the logic. Kindly help. Thanks
RaymondGiuseppi
Active Contributor
0 Likes
Can you post the code you put in IF_HCM_CATS_V1_TS_VALIDATION~CHECK_TIMEENTRY_VALIDATIONS ?

Answers (0)