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
- Go to Admin Center >> Manage Pending Hires
- Select "Onboarding" in the dropdown
- 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:
- Go to Admin Center >> Configure Columns for the Manage Pending Hires
- Select "Onboarding"
- 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:
- Go to Admin Center >> Configure Columns for the Manage Pending Hires
- Select "Onboarding"
- Remove the "Hire Date" field
Resolution 2:
- Go to Admin Center >> Manage Permission Roles
- Grant below permission to necessary roles / users:
- Permission: Employee Data >> Employment Details >> Hire Date (View)
- Target population: External target population
See Also
Keywords
MPH, configure columns, data type, date, datetime, MPH2ONB2Entity, view permission , KBA , LOD-SF-OBX-EC , Integration EC - MPH, Hire , Problem
Product
Attachments
Pasted image.png |
Pasted image.png |