SAP Knowledge Base Article - Public

3405492 - Field Criteria Validation does not work for invalid combination of custom fields while recording timesheet

Symptom

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Field Criteria configuration is done on Employee Time Sheet Entry fields, but incorrect value combination of these fields still gets saved without any error when employees record their timesheet from Time Sheet UI.

Field Criteria Validation does not seem to work to ensure wanted combination of  field values according to the Field Criteria configuration.

Environment

  • SAP SuccessFactors Time Tracking
  • SAP SuccessFactors Employee Central – Time Sheet

Reproducing the Issue

  1. Employee records the timesheet.
  2. Initially selects valid combination of custom fields say Department (e.g. Ansan Branch) and DepartmentSub (_AnsanBranch) from value help. 
    Until here, the shown value for selection still respects the Field Criteria configuration correctly.
  3. The user now changes Department (Asset Management AU) . The DepartmentSub field does not refresh or change automatically.
    Now the combination is not valid according to the Field Criteria configuration.
  4. Save the Record, and you will notice the unwanted combination of Department (Asset Management AU) and DepartmentSub (_AnsanBranch) is saved without any error.

Cause

This is due to missing configuration.

Resolution

  1. Go to Manage Data, Search for Object Configuration with ID of EmployeeTimeSheet. 
    If you do not find EmployeeTimeSheet yet for Object Definition in ManageData, please then create one by following below steps.
    1. Select Object Configuration in Create New field.
    2. Set Object Type to Employee Time Sheet and save.
  2. Set 'Validate Field Criteria' to Yes as below, and save. This setting ensures validation on Time Sheet UI.
  3. Repeat the steps again as given in the section 'Reproducing the Issue'.
  4. Error (as per below screenshot) is triggered when saving the unwanted combination of field values.

Keywords

Field Criteria Validation Timesheet, field, criteria, custom, combination, value, validation, valid, invalid, TMS, tracking, sheet, UI , KBA , LOD-SF-TTR-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions ; SAP SuccessFactors Time Tracking all versions