SAP Knowledge Base Article - Public

3848000 - Manager ID is saved as Null despite field being Mandatory

Symptom

  • When changing a position that has no higher-level position, the supervisor defaults to NO_MANAGER but saving fails with: "Supervisor is a required field and cannot be blank."
  • In some scenarios, even with manager-id defined as mandatory, a record can save with manager-id = null

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

Prerequisites:

Navigate to Business Configuration UI (BCUI) → Job Information.

Ensure the following OnSave business rules are enabled:

  • RaiseMessage – Raises a warning message during the save operation.
  • Rule which sets the Manager id – Ultimately sets the Manager field to null.

Scenario 1: Both business rules enabled

  1. Navigate to the user A
  2. Go to Job Information → MSS.
  3. Select a future effective date.
  4. Change the Position to PositionX
  5. Enter a Manager value
  6. Click Save.

Result: 

  • A warning message from the RaiseMessage business rule is displayed.
  • The following error message is also displayed: "Supervisor is a required field and cannot be blank."

Scenario 2 : Disable the raise message rule and keep other rule enabled

  1. Navigate to the user A
  2. Go to Job Information → MSS.
  3. Select a future effective date.
  4. Change the Position to PositionX
  5. Enter a Manager value
  6. Click Save.

Result: 

  • Data got saved with Manager ID as null without any error message thrown which is incorrect.

Resolution

  • Engineering team has created a code correction request for this issue and it is being tracked under ECT-274684.
  • Please bookmark this KBA and follow for further updates.

Workaround:

Amending the OnSave rule so that Manager ID field is not set to Null due to certain conditions.

(OR)

Manager ID should be a Non-Mandatory Field. 

See Also

Keywords

NO_MANAGER, supervisor is a required field and cannot be blank, job information, manager-id mandatory, position hierarchy, higher-level position, concurrent employment, second position, third position, fourth position, business rule, onSave, validation error, save error, Employee Central,ECT-274684,INC28107638,KI-GENERAL,KI , KBA , LOD-SF-EC-JOB-UI , History UI & MSS UI , LOD-SF-EC , Employee Central , LOD-SF-EC-POS , Position Management , Known Error

Product

SAP SuccessFactors Employee Central all versions