SAP Knowledge Base Article - Public

3367889 - XXXX is a Required Field/Association in Object Employee Time Calendar Error When Trying to Create Leave Request

Symptom

You are getting an error when creating a leave request. User creates a leave request for weekend (Saturday and/or Sunday). The system cannot create the request and throws below error.

  1. Physical End Date is a required field/association in Object Employee Time Calendar.
  2. Physical Start Date is a required field/association in Object Employee Time Calendar.
  3. Date is a required field/association in Object Employee Time Calendar.
  4. External Code is a required field/association in Object Employee Time Calendar

Environment

Product version: SAP SuccessFactors HXM Core 2305
Employee Central Time Off

Reproducing the Issue

Error occurs while requesting absence:

  1. Go to user
  2. Absence Request Page
  3. Time type 
  4. Select a weekend Saturday, Sunday or both
  5. Submit
  • Error is thrown
  • Error does not occur for week days requests

 

Cause

Configuration issue

The issue is due to the save rule "Deduction_CalendarDays" attached to the Employee Time object. 

The value retrieved for the EmployeeTimeCalendar is null because there is no calendar entry for non-working days.

 

Resolution

If you want to count the weekends, please use the Absence Counting Method with Calculation method as calendar days.

However for the time being there is system restriction- You must not modify the standard fields (quantityInDays, quantityInHours deductionQuantity, undeterminedEndDate, fractionQuantity, startDate, endDate, startTime, endTime) using a SET statement in the Employee Time object Save rule, Validate rule, or Post-Save rules because this can lead to inconsistent data. The system shows a warning message.

Guide: Implementing Time Management in SAP SuccessFactors - Recommendations and Restrictions for Time Off at: https://help.sap.com/docs/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/68de09dff990417b9f0acf6ccc13a14d/7a6ce9fce5884b2ab352b64e71353555.html?q=set%20statements%20&locale=en-US

 

See Also

Physical End Date, Physical Start Date, Date, External Code, quantityInDays, quantityInHours, deductionQuantity, undeterminedEndDate, fractionQuantity, startDate, endDate, startTime, endTime 

Keywords

KBA , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , Problem

Product

SAP SuccessFactors HXM Core 2305