SAP Knowledge Base Article - Public

3402236 - Error : "A" is a required field and cannot be blank on Add new employee screen -CS2H2023.

Symptom

When mandatory fields are set to visibility - "None"/"View" by OnInit rule on Add New Employee screen, below error is shown. 

Error: "A" is a required field and cannot be blank.

CS switch: “Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee"

Environment

SAP SuccessFactors Employee Central: Add New Employee
SAP SuccessFactors Employee Central: Centralized Service 

Reproducing the Issue

  1. In Admin Tools -> Company System and Logo Settings, the switch " Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee “ is enabled.
  2. Set the field ABC as mandatory in BCUI > Employment Information, Job Information.
  3. Create OnInit rule to Hide the field – ABC.
  4. Go to Add New Employee.
  5. Fill all the required fields.
  6. Click Submit > Error is shown.
  7. Result: “ ABC is a required field and cannot be blank. “.

Resolution

  • Our engineering team is currently working on a fix for this issue.
  • This KBA will be updated once there are further details on the fix.
  • Workaround: Disable "Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee" from Company System and Logo Settings. Please don't forget to re-enable the Centralized Services switches after the issue is fixed so that you can continue to enjoy the benefits of Centralized Services 

Keywords

CS2H2023, KI2311, INC6612203 , centralized services, Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee, hire error, Mandatory fields, onInit rule, visibility set to none, hide field, view, fields are hidden by rule, release, Add New Employee, 2H2023, is a required field and cannot be blank , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC , Employee Central , Bug Filed

Product

SAP SuccessFactors Employee Central 2311