SAP Knowledge Base Article - Public

2943436 - OData User upsert API ignoring changes while inactivating the users - SAP SuccessFactors HXM Suite

Symptom

You are running OData User upsert changing the field status and also other fields in the same payload.

The field status is changed, but the other fields not.

You are using the parameter $processInactiveEmployees or the apiOptionProfileID=option001 according our handbook chapter 5.14.10.6 

Environment

SAP SuccessFactors HXM HCM Suite

  • OData API

Cause

This is expected behavior when the SF instance does not have the Employee Central (EC) module enabled.

Resolution

If EC is on, it supports to deactive User and update other fields at one request.

If EC is off, it doesn't support to deactive User and update other fields at one request, and that is the expected behaviour.

The workaround would be doing 2 upserts, 1st for inactivate the users and the 2nd to change the other fields.

Keywords

status, OData, User entity, Processing Inactive Users, Employee Central, EC, SAP SuccessFactors HXM HCM Suite, not working, doesn't update, parameter processInactiveEmployees, apiOptionProfileID, OData, API, ignore changes fields , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , How To

Product

SAP SuccessFactors HCM suite all versions