SAP Knowledge Base Article - Public

3582539 - "MDFRecordId is missing" shows up in Time Sheet UI when recording an attendance.

Symptom

"MDFRecordId is missing" shows up in Time Sheet UI when recording an attendance or allowance. 

It may happen only for some time types or allowance types, but not all.

Environment

  • SAP SuccessFactors EmployeeCentral - Time Sheet
  • SAP SuccessFactors Time Tracking

Reproducing the Issue

  1. Go to Time Sheet UI.
  2. Select the day for which you need to add the attendance or allowance.
  3. Click on Record button for Working Time or On-Call Times or Allowances, depending on your need.
  4. Select the Time Type or Allowance Type and other requested information. 
  5. Save. 
  6. Then you will get the error "MDFRecordId is missing."

Cause

Please check if there is any Initialization Rule set on EmployeeTimeSheetEntry or Allowance or TimeRecording or AllowanceRecording object (depending on whether you are using the legacy data modal of Legacy Week, or you are using the new data modal like Monthly period) that initializes value for a conditional field that is not visible.

For example, Cost Center is a conditional field in EmployeeTimeSheetEntry to be visible only when Time Type TYPE_NEEDS_CC is selected. And at the same time, you also set up Initialization Rule to populate value to Cost Center. 
When you are recording an attendance with a different Time Type than TYPE_NEEDS_CC, where Cost Center field should not be visible, the error message "MDFRecordId is missing." will be raised when saving.

This is correct, because Initialization Rule is not supported to populate values to Conditional fields, as documented in Initialization Rules in Time Sheet .

Resolution

Please remove the Initialization Rule on the conditional field, or remove the conditional field setting so that the Initialization Rule can properly populate value to the field.

See Also

3327102 - Initialization Rules in Time Sheet do not work base on values from the input fields.

Keywords

MDFRecordId is missing, MDFRecordId, missing, TTR, sheet, tracking, time, SRA, single, record, approval, condition, initialize, initialization, rule, conditional, condition, field, employeetimesheetentry, timerecording, allowancerecording, allowance, legacy, week, weekly, month, monthly, flexible, period, bi-weekly, TIM-49743 , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , Problem

Product

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