SAP Knowledge Base Article - Public

2643090 - Behavior of API upsert request for EmpPayCompNonRecurring entity - SuccessFactors API (SFAPI/OData)

Symptom

Behavior of API Upsert request for 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

SuccessFactors API (SFAPI/OData API)

Resolution

Behavior of upsert request for API entity empPayCompNonRecurring:

  1. If no sequenceNumber field value is being sent with API upsert request for existing record, data from DB will be deleted completely and new record will get created with the field values sent in upsert request.
  2. This would result in new value for "createdOn", "createdBy" , "lastModifiedOn" and "lastModifiedBy" fields too.
  3. If upsert request is being sent for existing record and you do not want existing data to be deleted, make sure you have configured succession data model for field "sequenceNumber" as shown below i.e allow-import="true":

datamodel

  • Another option would be: Under Admin Center->Manage Business configuration->payComponentNonRecurring->Sequence-Number->Detail and set "Allow Import" field value as "Yes". 

See Also

empPayCompNonRecurring

Keywords

sequenceNumber, Sequence-Number, empPayCompNonRecurring, Behavior of API upsert request for EmpPayCompNonRecurring entity - SuccessFactors API (SFAPI/OData) , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , How To

Product

SAP SuccessFactors HCM all versions