Symptom
When making changes to a spot award program the change is not being saved.
There are now error messages on screen and you will get a popup message while saving stating "Successfully saved" even though changes revert.
This happens on all programs available within Rewards & Recognition.
**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 Rewards & Recognition
- SAP SuccessFactors Spot Awards
Reproducing the Issue
Go to Admin Center> Rewards & Recognition> Select a program.
Make a change and save them.
Go back into the program and see the changes you had saved have not been saved.
Cause
The cause of this is due to the object SpotAwardProgram being configured to a workflow.
Resolution
As you have this object configured with a workflow, any changes to any programs in the instance will be set to this selected workflow for approval etc.
The following can be seen within our logs:
04:58:48,194 ERROR [J2DefaultEngine] [87.198.171.156] [167802] [8748cd440e2ba48c20d6a57e6fc950b1] [Testing Instance SF.,sfv4_STOCKPM172039.,dbPool5,*******,*******,en_US] ExceptionRootCauseTag=5b2bdec2b74f02b9b4c7406aa655f3f41af10cfa,ExceptionStackTraceTag=f89527038ba4d076502827e8031978475a5dfc14
TotalStackTree: com.successfactors.coengine.error.detail.COGeneralServerException: Pending data already exists: '(externalCode=Spot Awards)'. with the index 0
Note
Customers do not have access to these logs to verify the error.
If you check HTTPWatch or F12 within your browser under Network, you can see the same error when looking for upsert.
We highly recommend NOT to have any workflow selected on this object.
The only object which requires a workflow for Rewards & Recognition is SpotAward.
If you are encountering this issue and find the object SpotAwardProgram has a workflow, please do the following so any changes to the programs can be saved correctly.
- Go to Manage Workflow Requests from the tool search in Admin Center.
- Select the following for the search options.
- Within the search results check the column "Requested For" for "Spot Award Program".
- Either decline/approve these requests.
- Once done update the SpotAwardProgram object to have NO workflow associated with it.
- Now when saving changes to a program(s) the workflows are not being triggered and therefore save straight away.
Keywords
unable to save awards programs, changes not saving r&r, Pending data already exists, SpotAwardProgram workflow, COGeneralServerException, R&R changes not saving, sa changes not saving , KBA , LOD-SF-RNR , Reward and Recognition , LOD-SF-CMP-SA , Spot Awards , Problem