SAP Knowledge Base Article - Public

2178436 - Insert/Update Operation for OData API entity fails with an error: COE_PROPERTY_NOT_EDITABLE

Symptom

Insert Operation for OData API entity fails with an error message:

COE_PROPERTY_NOT_EDITABLE 

Example: Insert data for Odata API Entity FOCostCenter

Request:

POST https://salesdemo4.successfactors.com:443/odata/v2/FOCostCenter?$format=json

Response:

{
"error" : {
"code" : "COE_PROPERTY_NOT_EDITABLE", "message" : {
"lang" : "en-US", "value" : "Properties costcenterExternalObjectID, externalCode, description, startDate, status, name are not insertable"
}
}
}

Cause

  • In Employee Central OData API, fields cannot be insertable or updateable.This feature is not supported yet.

 

Resolution

You can use "UPSERT" operation to fulfil the INSERT/UPDATE criteria for the supported field.

Keywords

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

Product

SAP SuccessFactors HCM Core all versions