SAP Knowledge Base Article - Public

3462041 - Error "Pending data already exists: 'cust_Example(externalCode=0123)" when attempting to delete record through OData API

Symptom

You are trying to perform a Delete operation through OData API in a custom MDF object, but it returns the error below:

"Pending data already exists: 'cust_Example(externalCode=0123)..."

Environment

  • SAP SuccessFactors HCM
    • OData API

Resolution

This is an expected behavior when the record you are trying to delete is still Pending in a workflow.

When the workflow of that record gets Approved, you should be able to delete it.

Keywords

KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM suite all versions