SAP Knowledge Base Article - Public

3220969 - How to disable a field from the CompoundEmployee response

Symptom

You wish to find out how to disable a field from the CompoundEmployee API. 

Environment

SAP SuccessFactors SFAPI
SAP SuccessFactors CompoundEmployee

Reproducing the Issue

  • Disable a field in the Manage Business Configuration
  • Run API operation e.g. query
  • Field is still displayed in the CE API response

Cause

Expected behaviour

Resolution

CompoundEmployee API renders also disabled fields if a value is stored on the database. This can be changed by using parameter resultOptions=configuredFieldsOnly like described in the Guide however it is important to note that this will have an effect on all fields, there is no possibility to hide single fields.

See Also

https://help.sap.com/docs/SAP_SUCCESSFACTORS_EMPLOYEE_CENTRAL/5bb9a5b997a843c88e769a105e4af4d4/597d54e2de0c4a47a3421b96ebff4f16.html

Keywords

CE, CompoundEmployee, Compound Employee, SFAPI, disable field, disable, Manage Business Configuration, resultOptions=configuredFieldsOnly , KBA , LOD-SF-INT-CE , Compound Employee API , LOD-SF-INT , Integrations , How To

Product

SAP SuccessFactors HCM suite all versions