cancel
Showing results for 
Search instead for 
Did you mean: 

Country specific Overtime Categories

Jenny_J
Discoverer
0 Kudos

Hi,

From what I have understood, the Overtime Categories (for reporting overtime in My timesheet) are global.

How have you solved it for companies that have operations in several different countries with different overtime categories?

If you add all of the countries different categories to the Overtime Category, there is a bigger risk of mistakes for the people doing their time reporting in My Timesheet as they will all see the categories for all countries.

Do you have any tips for alternative solutions?

Kind Regards

Jenny J

Accepted Solutions (1)

Accepted Solutions (1)

NikolaiE
Advisor
Advisor
0 Kudos

Hi Jenny,

yes, overtime categories are global and all employees can see all categories, independently of the company they belong to.

My idea, that needs to be validated by a programmer, is that you could use maybe the Custom Fields and Logic app to extend the following business context: HCM: Timesheet Validations (HCM_CATS_V1_TS_VALIDATION).

Generally you can use this BAdI to perform customer specific timesheet validations/checks when you save the timesheet entry. In your case you could implement a check that only a specific combination of e.g. cost center of the employee and overtime category is allowed. If the employee selects a wrong overtime category in the timesheet an error message is shown (text can be defined) and the employee can not save/submit the time entry.

Best regards,

Nikolai

SAP Help: https://help.sap.com/viewer/0bebd08dffca45afa67b1f751199afd0/latest/en-US/9040795315ae4b1f898788a184...

Technical Background BAdI HCM: Timesheet Validations (HCM_CATS_V1_TS_VALIDATION):

You can use this BAdI (Business Add-in) to perform customer-owned validations on the Timesheet Entry. Check results should be communicated via error messages.

The following parameters are provided:

Importing Parameter:

TIMEENTRY: Contains information about the time posting made by the user on a task.

Changing Parameter:

ERROR_MESSAGE: This text is shown to the user as an error message. Any message added to this changing parameter will be added to the timesheet error message log.

Example

Customer owned validation checks on the timesheet entry could be:

Timesheet Note text is mandatory while recording/posting time on the tasks.

Jenny_J
Discoverer
0 Kudos

Thank you Nikolai

We will try this, we already have other validations on time entry, so we will add this and see if this fulfill our needs!

Answers (0)