Symptom
You, as a time administrator, may have a requirement to change the pre-delivered employee time type's category from Leave to Illness, such as changing the category of time type Maternity leave or Parental leave from Illness to Absent. System will throw the below error message when you try to save the change:
Category change not possible; employee time still uses time type: XYZ
Save failed
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Business Configuration work center.
- Select Activity List view.
- Select the Fine Tuning arrow.
- Select the activity Time Types.
- Select Maintain Employee Time Types link.
- Change the Time Type Category of Employee Time Type (Parental leave or Maternity leave) from Illness to Absent.
System throws above error message.
Cause
System is working as designed. It is not possible to change the pre-deliverd time type's category of employee time types when there is already an existing time recording for the Time Type in the past.
This is the expected system behavior.
It's only possible to perform this change when you never had a time recording to the time type.
Resolution
It is not possible to change the pre-delivered time type category Illness to Absent in the current release. This may be changed in the future release. In the mean time, below workaround can be used to temporarily overcome the issue.
Step 1: Create a new Time Type in Fine-Tuning
- Go to fine-tuning activity Time Types.
- Select the link Maintain Employee Time Types.
- There you can copy the existing time types Maternity protection and Parental time.
- You have to enter codes for the new time types (e.g. ZDE002 and ZDE003) and change their Time Type Category to Leave.
- Select Save and Close button.
Step 2: Create a new Collision Rule in Fine-Tuning
- Select the link Maintain Collision Rules. A screen with all time types and their assigned collision rules is displayed.
- Your new time types can be found at the end. They will have collision rule Planned absence assigned as the original time types.
- Select the button Maintain Collision Rules and the list of available collision rules will be displayed.
- Add a new collision rule and enter a code (e.g. ZDE1) and a name.
- Click the button Save and Close and open again the list of available collision rules. The save is necessary to provide the new collision rule in the value help.
- Now you can mark your new collision rule and add details.
It is recommend to add the same details as configured for collision rule Planned Absence except the first entry. There you have to replace the Weaker Collision Rule Planned Absence with your new collision rule and change Send Message to Warning. After adding the details, click the button Save and Close. On the screen with all time types and their assigned collision rules go to the end and change the assigned collision rule for your new time types from Planned Absence to your new collision rule.
Step 3: Change the existing time recordings in the system
The time administrator or the employees have to change the existing time recordings with the original time types for Maternity protection and Parental time by replacing the original time types with the new time types.
Step4 : Deactivate the original Time Types in Fine-Tuning
- Go to fine-tuning activity Time Types.
- Select the link Activate for Time Recording Services.
- There are four tabs with time types. There you can move the original time types for Maternity Protection and Parental time to the right (Deactivated Time Type) on every tab.
- In case you did not change the time type’s names while copying, you may find double entries for the mentioned time types. In this case the new time types are displayed at the end of the list.
Keywords
impossiblke, can't cannot , KBA , SRD-HR-PAD , Personnel Administration , Product Enhancement