SAP Knowledge Base Article - Public

2601410 - Mapping field with data type Date between EP and Candidate Profile Template (CPT) - Recruiting Management

Symptom

When you are trying to upload the Candidate Profile Template, with a mapping from a field type "Date" in the Candidate Profile Template to a standard field type "Date" in the EP (Employee Profile) an error occurs. In the example presented in this article we are using the field "hireDate1" as the field in the Candidate Profile Template, so the error is:

 "Error: Datatype of field hireDate1 is unsupported to map with field id hireDate."

Environment

SAP SuccessFactors Recruiting Management (RCM) - All versions

Reproducing the Issue

  1. Create a field in the Candidate Profile Template with the data type as Date that is mapped to a standard field data type as Date in the Employee Profile.
    Field Definition:kba_3.png
    sm-mapping:    kba_2.png

  2. Try to upload the new Candidate Profile with the sm-mapping defined. And the error is going to occur:

kba_1.png

Cause

This is caused because the Date data type in Recruiting is different than in EP. So, the system is expecting to populate this data as text in the Candidate Profile.

Resolution

When creating the field in the Candidate Profile Template that is going to be mapped to a standard field in the EP that the data type is "Date", the data type of the field should be "Text" in the CTP, so the field can be mapped. Otherwise, this error is going to occur. In the example of hireDate field, this field would never be edited by the candidate in this profile. It is only a field to be mapped from the Employee Profile when the candidate is hired, so creating the field as Text is not going to be a problem.

NOTE: Since we are copying data from a Date field to a Text field, please keep in mind that the value will not be localized and will show the full date format as a text YYYY/MM/DD HH:MM:SS

Keywords

Candidate Profile Template, Employee Profile, sm-mapping, CTP, Recruiting, Recruiting Management, RCM, hireDate , KBA , LOD-SF-RCM , Recruiting Management , LOD-SF-RCM-APP , Applicants and Job Applications , LOD-SF-RCM-INT , Integration Center & Intelligent Services , LOD-SF-RCM-CAN , General Candidate Issues (not Offers, not Profiles) , How To

Product

SAP SuccessFactors Recruiting all versions