SAP Knowledge Base Article - Public

3294574 - Error message when trying to create a new Compensation Plan

Symptom

System pop-up error message when trying to create a new compensation plan.

Example of error message:

"Error: Event reason ANSALREV is invalid. Error: Component code LUMPSUM is invalid. Error: FieldName contains invalid property(jobFunction) in comp-ect-input-field-map. fieldId=jobFamily, fieldName=job-code.jobFunction Error: FieldName contains invalid property(defaultJobLevel) in comp-ect-input-field-map. fieldId=jobRole, fieldName=job-code.defaultJobLevel Error: FieldName contains invalid property(jobFunction) in comp-ect-input-field-map. fieldId=finalJobFamily, fieldName=job-code.jobFunction Error: FieldName contains invalid property(defaultJobLevel) in comp-ect-input-field-map. fieldId=finalJobRole, fieldName=job-code.defaultJobLevel Error: Event reason ANSALREV is invalid. Error: Component code LUMPSUM is invalid."

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

Reproducing the Issue

  1. Go to Compensation Home;
  2. Add a new Compensation Plan;
  3. Add a SuccessFactors plan template;
  4. Fill in the parameters;

Error message pops-up.

Error: Event reason ANSALREV is invalid. Error: Component code LUMPSUM is invalid. Error: FieldName contains invalid property(jobFunction) in comp-ect-input-field-map. fieldId=jobFamily, fieldName=job-code.jobFunction Error: FieldName contains invalid property(defaultJobLevel) in comp-ect-input-field-map. fieldId=jobRole, fieldName=job-code.defaultJobLevel Error: FieldName contains invalid property(jobFunction) in comp-ect-input-field-map. fieldId=finalJobFamily, fieldName=job-code.jobFunction Error: FieldName contains invalid property(defaultJobLevel) in comp-ect-input-field-map. fieldId=finalJobRole, fieldName=job-code.defaultJobLevel Error: Event reason ANSALREV is invalid. Error: Component code LUMPSUM is invalid.

Cause

The event reason ANSALREV and pay component LUMPSUM are declared in the EC-Integrated template uploaded in the SuccessStore. When downloading the template the error you encountered will pop up because you do not have these in your instance.

The other errors are due to the fact that in Configure Object Definition> job classification, the fields defaultJobLevel  and JobFunction don't have the visibility as editable.

Resolution

To resolve the issue it is necessary to add the information missing from your instance.

For example:

"The missing event reason and pay component must be added to your instance.

To add Event reason follow the below steps:

  1. Admin Center
  2. Manage Organization, Pay and Job Structures
  3. Create New
  4. Event Reason

event reason.png

To add Pay component, follow the below steps:

  1. Admin Center
  2. Manage Organization, Pay and Job Structures
  3. Create New
  4. Pay Component

Lumpsum.png


For job related errors:

  1. Admin Center
  2. Configure Object Definition
  3. Object
  4. Job Classification

    Here note, job classification you will get with countries like job classification australia, USA UK. but its necessary to have job classification on its own like the picture below.

    job classification.png



Here check the fields like defaultJobLevel and JobFunction


defaultJobLevel.png

Make the visibility to Editable

jobFunction.png

Once you have configured everything the error should no longer come , but if its still appearing, please raise a support ticket to identify the cause.

Keywords

Error, message, Create new compensation plan, Compensation, Plan, EC-integrated, event reason, Job Structures, code, ANSALREV, LUMPSUM, template, error, success store, compensation template, Event reason ANSALREV is invalid, FieldName contains invalid property(defaultJobLevel) ,comp-ect-input-field-map, jobFunction , KBA , LOD-SF-CMP-EC , EC data, EC mappings, configuration & settings , Problem

Product

SAP SuccessFactors Compensation all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png