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
- Go to Compensation Home;
- Add a new Compensation Plan;
- Add a SuccessFactors plan template;
- 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:
- Admin Center
- Manage Organization, Pay and Job Structures
- Create New
- Event Reason
To add Pay component, follow the below steps:
- Admin Center
- Manage Organization, Pay and Job Structures
- Create New
- Pay Component
For job related errors:
- Admin Center
- Configure Object Definition
- Object
- 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.
Here check the fields like defaultJobLevel and JobFunction
Make the visibility to Editable
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
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 |