Symptom
RH_SFI_SYNCHRONIZE_EMPL_DATA throws error: 'Invalid property value. Property name:gender.' (HRSFI_EMPL_DATA 019).
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
Integration add-on for SAP ERP HCM and SAP SuccessFactors HCM
Reproducing the Issue
1. In infotype 0002 the values for 'Gender' can be defined as follows:
(Please not that the gender definitions vary from one country to another. This is an example (South Africa, Country code (Molga) = 16.)
* 1 (Male)
* 2 (Female)
* blank (Unknown) --> This value has been selected for the employee.
2. RH_SFI_SYNCHRONIZE_EMPL_DATA: Selection parameter 'Gender' is configured as '1 Infotype 0002 / Standard Mapping':
3. Error 'Invalid property value. Property name:gender.' is visible in the program log or in table HRSFI_D_ERR_LOG.
Cause
These are the gender values as of Success Factors, API Reference Guide (OData V2) - Inserting a Gender of a User
Resolution
To send values which are compatible to SuccessFactors definition above, in this case a value 'U' for 'Unknown' (instead of 'blank'), please:
- Implement SAP Note 3277802 - RH_SFI_SYNCHRONIZE_EMPL_DATA: Enhancement of the gender key
- In RH_SFI_SYNCHRONIZE_EMPL_DATA, for selection parameter 'Gender', choose '2 Infotype 0002 / Enhanced Standard Mapping':
- Prerequisite: This functionality can be used only in ODATA version of RH_SFI_SYNCHRONIZE_EMPL_DATA (not in SFAPI (SOAP) version)!
To enable Odata version, see SAP notes
* 2782467
* 2342729
* 2318969
(You can ignore 3. when RH_SFI_SYNCHRONIZE_EMPL_DATA is used in Odata version already.)
See Also
SAP notes:
- 3277802 - RH_SFI_SYNCHRONIZE_EMPL_DATA: Enhancement of the gender key
- 3292979 - RH_SFI_SYNCHRONIZE_EMPL_DATA: Enhancement of the gender key (2)
- 2782467 - Employee distribution: SOAP vs OData
- 2318969 - RH_SFI_SYNCHRONIZE_EMPL_DATA: 'Duplicate username' error
- 2342729 - Switch from SOAP to ODATA for running the user upsert request
Keywords
RH_SFI_SYNCHRONIZE_EMPL_DATA, HRSFI_SYNCH_EMP_DATA, Gender, Male, Female, Unknown, Undeclared, Others, HRSFI_EMPL_DATA, 019, invalid, property, name, Odata, SFAPI, SOAP , KBA , PA-SFI-TM , Integration with SuccessFactors BizX Talent Management , LOD-SF-EP , People Profile , LOD-SF-INT-ODATA , OData API Framework , How To
Product
Attachments
| Synch_Selection_Parameter_Gender.png |
SAP Knowledge Base Article - Public