SAP Knowledge Base Article - Public

3335101 - Error "Exception encountered while authorizing user for activity" when Upserting Legacy Foundation Objects

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

  1. create an upsert body with any content to a legacy foundation object
  2. use any api tool to perform an upsert call
  3. run this upsert operation
  4. 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:

  1. go to you company's provisioning
  2. go to Company Settings
  3. search for Effective Dated Data Platform
  4. 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