SAP Knowledge Base Article - Public

2783643 - Compensation Eligibility Engine Failure - Rule execution context is null, either because CompInfo is not a valid object or CompInfo has no corresponding instance."

Symptom

Customers are receiving the following error message when they apply the Eligibility Rules in Compensation:

[ERROR CODE]: ERROR_NO_RULE_EXECUTION_CONTEXT, [ERROR INFO]: Rule execution context is null, either because CompInfo is not a valid object or CompInfo has no corresponding instance."

"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 Employee Central

Reproducing the Issue

  1. The Compensation Template will be EC Integrated.
  2. Create a Compensation Eligibility Rule as shown below.
  3. Connect this rule to the Compensation Eligibility Engine on the Template and apply the rules, the error will then get triggered.

CompInfoError.png

Cause

  • It is not supported to use other parameters in EC rules.
  • Instead we have support for navigation between employment entities and that should serve the purpose in this type of scenario.

Resolution

  1. The configuration of the rule will need to change.
  2. Instead of passing compInfo as a parameter, you can navigate from jobInfo as below to access compinfo details:
  3. job information.employment details.compenation information.event reason.

Keywords

Business Rule, Compensation, Employee Central , KBA , LOD-SF-CMP , Compensation Management , Problem

Product

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