Symptom
There is a requirement for additional business key property in the EmpPayCompNonRecurring entity.
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 HCM Suite
- SAP SuccessFactors Employee Central
- OData API
Reproducing the Issue
- Navigate to OData API Data Dictionary
- Look for the EmpPayCompNonRecurring entity
- Check the Business Key value for the property sequenceNumber
- The value is false
Cause
By default the business key for this entity consists userId, payComponentCode and payDate.
Resolution
To enable sequenceNumber, add the following attributes to the sequenceNumber property in the Succession Data Model:
<hris-field id="sequence-number" visibility="view" allow-import="true">
This will make sequenceNumber part of the business key.
Note: Once sequenceNumber is introduced as part of the business key, its value must be maintained. If the value isn't maintained in integrations that rely on the uniqueness of the pay component, these integrations could break.
See Also
Keywords
EmpPayCompNonRecurring, business key, additional property, sequenceNumber, OData API Data Dictionary, Succession Data Model , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT-ODATA , OData API Framework , How To
SAP Knowledge Base Article - Public