SAP Knowledge Base Article - Public

2950710 - Compensation & Variable Pay - Guideline Modelling error message

Symptom

Once a model has been created for a template you may find some users get an error message while viewing or editing the guidelines

Why is this and how can it be resolved?

**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 Compensation
  • SAP SuccessFactors Variable Pay

Reproducing the Issue

Please see the following steps to replicate this issue.

  • Go to Compensation Home
  • Select the modelling icon where a model has been created for a plan

compensation modelling.png

  • Select the model

compensation guidelines model.png

  • On the next screen you will find the data will not load and you will see an error message

getDataForNewCompModel failed error.png

  • If you are editing the guidelines you may get the following error as well

UniqueValueForGuidelineAttribute modelling guideline error.png

Cause

The cause of these two error messages is missing permissions while you have both Compensation and Variable Pay enabled.

Through debugging this you will see the following.

Selecting a model error

sap-ui-core-nojQuery.js:172 2020-07-21 19:46:46.772500 The following problem occurred: HTTP request failed403,,{
"error" : {
"code" : "COE_GENERAL_FORBIDDEN", "message" : {
"lang" : "en-US", "value" : "[COE0020]Permission is required for CompensationModelingGuidelineFormula"
}
}
}

Editing guidelines error

sap-ui-core-nojQuery.js:172 2020-07-21 19:47:46.717979 The following problem occurred: HTTP request failed403,,{
"error" : {
"code" : "COE_GENERAL_FORBIDDEN", "message" : {
"lang" : "en-US", "value" : "[COE0020]Permission is required for CompensationModelingUniqueValueForGuidelineAttribute"
}
}
}

Resolution

To correct this issue please go to "Manage role-based permissions" and grant the "Manage Compensation Settings" permission under "Manage Compensation".

manage compensation settings rbp.png

Once this is selected and saved please logout and log back into the instance

NOTE

This permission is only required while having both Compensation and Variable Pay active in any instance

Should you have Compensation only enabled, this permission will not be required for the use of guideline modelling

For more information on modelling, please click HERE to view our implementation guide

Keywords

COE0020, unable to edit model, compensation modelling error, COE_GENERAL_FORBIDDEN, CompensationModelingGuidelineFormula, CompensationModelingUniqueValueForGuidelineAttribute, getDataForNewCompModel failed!, UniqueValueForGuidelineAttribute Failed! , KBA , LOD-SF-CMP-MOD , Modelling , LOD-SF-VRP-MOD , Modeling , Problem

Product

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