SAP Knowledge Base Article - Preview

3386883 - The compensation record is not deleted by performing UPSERT operation on SFOData.EmpCompensation

Symptom

You are performing UPSERT operation on SFOData.EmpCompensation to delete a record as below.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

HTTP Method: POST

URI: https://<api-server>/odata/v2/upsert

Payload:

{"__metadata": {

        "uri": "EmpCompensation(startDate= datetime'2017-01-01T00:00:00',userId='80300')",

        "type": "SFOData.EmpCompensation" 

      },

      "operation": "DELETE",

     "eventReason": "DATACHG" 

There is no error in response. The status is OK and the editStatus is UPSERTED. However, the record is not deleted.


Read more...

Environment

SAP SuccessFactors HCM Suite

* OData API

Product

SAP SuccessFactors HXM Suite 2305

Keywords

KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT-ODATA , OData API Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.