Symptom
- The "Save" button needs to be pressed twice to save changes in the enrollments UI for BenefitType= Pension/Retirement Savings Plan.
- Screen loads again after changes to Contribution field value in enrollment or enrollment edit screen.
Environment
SAP SuccessFactors Employee Central - Global Benefits
Reproducing the Issue
- Go to Benefits Overview of any employee
- Click Enroll or Pencil button (edit) on ecisting enrollment for Benefit Type=Pension/Retirement Savings Plan
- Change the value in any Contribution fields. like Employee Contribution Percentage / Employer Contribution Amount etc.
- Now directly click on save once contribution change value is entered. Screen loads and does not save.
- Again click on save, then the enrollment is updated with new values. Similarly, after point 3, when you click anywhere outside of the field being changed, then screen loads showing that some process happened on change of that contribution value.
Cause
The issue occurs because the system validates the entered contribution values to be in the range of MinMax specifiec in setup.
This validation is at code level and happens everytime a contribution value is changed in enrollment screen.
Since we are clicking on Save directly after entering value in Contribution field, system gets its chance of validation now and validates and ignores the save transactions, hence one more save is needed in such case.
Resolution
This is an expected behavior. Since this validation is needed, and system cannot perform 2 process in 1 click, this corner scenario of clicking save 2 times does happen and cannot be avoided.
See Also
Keywords
Save button, double click, contribution field, contribution, click, save, multiple, enrollment save, enrollment, BenefitPensionFundContributionOnChangeProcessor , KBA , LOD-SF-EC-GBF , Global Benefits , Problem