SAP Knowledge Base Article - Public

3491954 - Issue adding date field as a column to Manage Pending Hires: [COE0019] cannot convert property MPH2ONB2Entity

Symptom

Add a customer date field to Manage Pending Hire column, error pops up:

[COE0019]XXXX:ODDynamicContext@55fb7dbf: cannot convert property MPH2ONB2Entity.employmentInfo_custom_date3 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

Cause

The custom date field is not filterable.

Only filterable fields can be set as Manage Pending Hire column.

Resolution

Please refer to the API dictionary in Admin Center >> OData API Data Dictionary or the API metadata using query: https://<api-server>/odata/v2/<Entity>/$metadata. 

Select the field with filterable=true to be MPH column.

See Also

 API Reference Guide (OData V2)

Keywords

MPH, MPR , KBA , LOD-SF-OBX-EC , Integration EC - MPH, Hire , Problem

Product

SAP SuccessFactors Onboarding all versions