SAP Knowledge Base Article - Public

3405581 - Unable to retrieve the payCompvalue in Manage pending hire (Accept Match) , Contingent worker to Employee (Rehire with new Employment) - 2H 2023

Symptom

Onsave rule on Job Information which works in Add New Hire wizard is unable to retrieve paycompvalue from cross entity rule (JobInfo.EmploymntDetails.Compensation) in Manage Pending hires in which the users are hired from Onboarding1.0.


We also observe that the same issue is observed when the contingent worker is being rehired as employee through Rehire with New Employment option.


Rule trace example: The expression 'jobInfoModel.employmentInfoModel.payComponentRecurring(#pay_component, ==, ABC#)[0].paycompvalue' is considered to be NULL. 

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 Employee Central
  • Add New Employee
  • Contingent Workforce
  • Business Rules

Reproducing the Issue

  1. Configure rule to raise error message if Pay Component.Amount value is “null”.
  2. Go to Manage Pending Hire > Onboarding.
  3. Fill the Event Reason, Legal Entity, Name.
  4. Duplicate check popped up > Click Accept Match.
  5. Add Pay Component: A and amount value: 1234
  6. Click Submit > Error is shown.

OR

  1. Configure rule to raise error message if Pay Component.Amount value is “null”.
  2. Go to Add New Employee.
  3. Fill the Event Reason, Legal Entity, Name.
  4. Duplicate check popped up > Click “Rehire with New Employment”.
  5. Add Pay Component: A and amount value: 1234
  6. Click Submit > Error is shown.

A sample rule:

Resolution

Engineering Team are investigating the issue. This KBA will be updated once we have more details about resolution and workaround. 

Engineering Team have done a detailed analysis of the issue and categorized it into different scenarios as explained below.

  • Preday1 enabled: The transaction goes through legacy code and Centralized Services do not come into play.  
    • Currently there is no issue when the Pay Component is either not pre-filled from Onboarding (value is null) or we add the Pay Component in the Hire UI with value 0. The error message from the rule is shown as expected.
    • The issue in 2H 2023 release is that the message from the rule is shown even if the Pay Component's value is maintained (for example, Base Salary = 10). This issue will be resolved in 1H 2024 release, hence the message will not be shown as expected. 

  • Transaction through Onboarding 2:
    • When Centralized Services switch "Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee" is disabled:
      • No message is shown (as expected) when the Pay Component's value is maintained (for example, Base Salary = 10).
      • The message is not shown in 2H 2023 release when the Pay Component's value is 0 which is incorrect behavior. This will be fixed in 1H 2024 release, hence the message from the rule will be shown.
      • If the existing Pay Component is deleted, the error message should be shown, but it's not shown in 2H 2023 release. The behavior is not changed in 1H 2024 release either. 

    • When Centralized Services switch "Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee" is enabled:
      • No message is shown (as expected) when the Pay Component's value is maintained (for example, Base Salary = 10).
      • The message is shown (as expected) when the Pay Component's value is 0.
      • If all Pay Components are deleted, no message is shown. If at least one Pay Component is retained and other Pay Components are deleted, the message is shown as expected.

  • Rehire as new employment (through Recruiting or Employee Central): 
    • When Centralized Services switch "Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee" is disabled:
      • No message is shown (as expected) when the Pay Component's value is maintained (for example, Base Salary = 10).
      • No message is shown in 2H 2023 release even when the Pay Component is either not pre-filled from Onboarding (value is null) or we add the Pay Component in the Hire UI with value 0 or 


Workaround: You can disable the rule(s) temporarily to complete the hire process until a resolution is found. 

OR

Recreate the business rule with compInfo model base object and access Pay Component Recurring from compInfo. You can add the rule as onSave under compInfo element in BCUI. 

Keywords

KI2311, b2311, onSave, message, null, blank, INC6691098, CS20230006601195, ECT-228455 , KBA , LOD-SF-EC-HIR-RIE , Rehire Inactive Employee , LOD-SF-EC-CWF , Contingent Workforce , Product Enhancement

Product

SAP SuccessFactors Employee Central 2311 ; SAP SuccessFactors HXM Suite all versions