SAP Knowledge Base Article - Public

3121444 - OData API: Updating a Dynamic Group Definition

Symptom

You would like to update Dynamic Groups using SuccessFactors OData API.

You notice that some of the objects related to the dynamic group do not support upserts/updates/imports:

  • DGPeoplePool
  • DGFilter
  • DGExpressions
  • DGFieldValue

  

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

  

Environment

  • SAP SuccessFactors HXM Suite
  • OData API

  

Cause

By default the fields in these entities DGPeoplePool, DGFilter, DGFieldValue and DGExpression are not upsertable (sap:upsertable = false)

  

 

Resolution

The above mentioned fields are standard fields in standard objects hence cannot be changed since they only support "Query" operation for these objects.

The DynamicGroup does support upsert operation. This object should be the root / base of upsert request to update dynamic groups.

  

Please refer to the following documentation for available OData API use cases for DynamicGroup entity/object:

https://help.sap.com/viewer/28bc3c8e3f214ab487ec51b1b8709adc/2111/en-US/c39ab58243154979bf060c0e5eac7cfa.html (Use Case 3)

  

See Also

https://help.sap.com/doc/74597e67f54d4f448252bad4c2b601c9/2111/en-US/SF_HCM_OData_API_REF_en.pdf 
PDF Version of Reference Guide (Section 4.10 Role-Based Permissions (RBP) - Page 96 - 133)

  

Keywords

DGPeoplePool, DGFilter, DGExpressions, DGFieldValue, Dynamic, Definition, Group, RBP, Role-Based Permissions, upsert, update, import, query, entity, object    , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HXM Suite all versions