SAP Knowledge Base Article - Public

2936509 - Manage Pending Hires error: "cannot convert property MPH2ONB2Entity.employmentInfo_start_date value" - Onboarding

Symptom

See error message while accessing Manage Pending Hires >> Onboarding page:

[COE0019]userId@companyId:ODDynamicContext@xxxx: cannot convert property MPH2ONB2Entity.employmentInfo_start_date value to odata4j property value.expected type is :datetime, but given type is: java.lang.String value: 

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

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Go to Admin Center >> Manage Pending Hires
  2. Select "Onboarding" in the dropdown
  3. See error message:
    [COE0019]userId@companyId:ODDynamicContext@xxxx: cannot convert property MPH2ONB2Entity.employmentInfo_start_date value to odata4j property value.expected type is :datetime, but given type is: java.lang.String value: 

Cause

Field with "Date" data type exists in columns of Manage Pending Hires.

Steps to check:

  1. Go to Admin Center >> Configure Columns for the Manage Pending Hires
  2. Select "Onboarding"
  3. Check if any field has "Date" data type (For example: Hire Date)

Resolution

※ Example scenario: "Hire Date" field is enabled in MPH columns.

Resolution 1:

  1. Go to Admin Center >> Configure Columns for the Manage Pending Hires
  2. Select "Onboarding"
  3. Remove the "Hire Date" field


Resolution 2:

  1. Go to Admin Center >> Manage Permission Roles
  2. Grant below permission to necessary roles / users:
    • Permission: Employee Data >> Employment Details >> Hire Date (View)
    • Target population: External target population

See Also

3144847 - Manage Pending Hires error: "cannot convert property MPH2ONB2Entity.jobInfo_hireDate value" - Onboarding

Keywords

MPH, configure columns, data type, date, datetime, MPH2ONB2Entity, view permission , KBA , LOD-SF-OBX-EC , Integration EC - MPH, Hire , Problem

Product

SAP SuccessFactors Onboarding all versions

Attachments

Pasted image.png
Pasted image.png