Symptom
When trying to perform an upsert on object FOLocation the customer is getting the below error:
Exception encountered while authorizing user for activity: User [ABC], Activity [Activity{type=SERVICE, name='com.successfactors.hris.service.GetRequiredColumnsForCurrentRecord', context=null}].
Environment
- The upsert operation is performed on legacy foundation objects
- Some examples of legacy foundation objects are as below:
- location
- payComponent
- payRange
Reproducing the Issue
- create an upsert body with any content to a legacy foundation object
- use any api tool to perform an upsert call
- run this upsert operation
- an error code 500 will show up with the message described in the symptom
Cause
Missing feature enabled in provisioning
Resolution
You are a partner or you are working with a partner, please refer to the steps below to resolve the issue:
- go to you company's provisioning
- go to Company Settings
- search for Effective Dated Data Platform
- mark this feature to enable it and save your changes
Note: In case yo do not have a partner and tou do not have access to provisioning, then please log a ticket to SAP so we can have this features enabled for you
Keywords
error on upsert, cannot upsert foundation object, type=SERVICE, name='com.successfactors.hris.service.GetRequiredColumnsForCurrentRecord' , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem
Product
SAP SuccessFactors HCM Suite all versions