SAP Knowledge Base Article - Public

3097781 - Rewards & Recognition - Error "Operation failed.." while submitting nominations

Symptom

While processing a nomination there is an error message on the final step while submitting.

rnr error operation failed.jpg

This article replicates this error as well as addressing the cause of the problem.

**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

Reproducing the Issue

To replicate this issue, the following steps are followed.

  1. Login as a nominator and navigate to Rewards & Recognition to initiate an award
  2. Select a nominee and eligible program
  3. Select the Category and level
  4. Define the amount (if required) and provide a message to the nominee
  5. Click "Submit" and the error will be populated

Resolution

Through debugging this error we can see the following post.

POST SpotAward HTTP/1.1 Accept:application/json;odata.metadata=minimal;IEEE754Compatible=true Accept-Language:
en-US X-CSRF-Token:fQG2JtXydIUUxOM4MSp0mJYbTZH%2fs2fstunTOiKo3Q4%3d Content-Type:application/json;charset=UTF-8;IEEE754Compatible=true {"spotAwardProgram":"123","category":"321","level":"321","commentForApprovers":"","commentForReceiver":"Testing nomination","awardAmount":null,"currency":

Here, we can see in the API response the awardAmount is NULL. Below is the response to this which contains the UI error we see.

{"error":{"code":"BadRequest","message":"Operation failed because of errors.","details":[{"code":"COMDF_GENERAL_ERROR",
"message":"while trying to read the field 'scale' of a null object loaded from local variable 'val'","@Common.numericSeverity":"4"}]}}

So through the nomination process you may find the incorrect guideline amount had been populated or no award amount populated whatsoever.

The cause of this problem is a missing country value within the UDF. Rewards & Recognition per design requires this column be populated with a value in the UDF.

Also, please note this may be different to the country column you may have in Job Information as these are two separate columns in EC/EP.

Important

As this is the current design of the product, there is no functionality which allows you to change the criteria of columns used against guidelines. For example using Department or custom columns.

To correct this, export your UDF file and populate the nominee's country to have this imported back. Once complete, test nomination again and this should now process.

If you follow this KBA and still find issues, please contact product support using component LOD-SF-RNR-ASS for further review.

Keywords

rnr operation failed, nomination error, COMDF_GENERAL_ERROR, null object loaded, 'val' , KBA , LOD-SF-RNR , Reward and Recognition , LOD-SF-RNR-ASS , Award Submissions, Award Visibility , Problem

Product

SAP SuccessFactors Compensation all versions ; SAP SuccessFactors HCM Core all versions