SAP Knowledge Base Article - Public

3642194 - Validating Dependent Gender in Hire/Rehire via Business Rule Triggered on Person Relationship Info

Symptom

  • You want to validate the Gender of a dependent (e.g., allow only “Male” or “Female”) during the Hire or Rehire process using a business rule.
  • You are unsure where to assign the rule and which base object to use so that it works reliably. 
  • "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

Reproducing the Issue

  1. Create a business rule with Base Object = Employee Information.

  2. Assign the rule to personRelationshipInfo in BCUI under the onSave event.

  3. Go to Add New Employee → add a dependent with gender value other than Male/Female.

  4. Try to submit the hire:

    • If the rule is correctly configured, the error message appears.

    • If incorrectly configured or assigned, the rule does not trigger.

Cause

  • When a business rule is triggered from the Person Relationship Info HRIS element during the Hire or Rehire process, the system evaluates the dependent record directly.
  • This allows access to dependent personal information such as Gender, even when the base object is Employee Information.
  • This is not the same as the limitation described in Kba 2701119 - Business Rules - Personal Information Model cannot be evaluated complete, where dependent personal info cannot be accessed from unrelated base objects (e.g., Biographical Information).

Resolution

Step 1: Create the Rule

  1. Go to Configure Business Rules.

  2. In the Create New Rule window:

    • Select Scenario: Employee Central → Rules for Hire/Rehire Processes

    • Base Object: Employee Information

  3. Build your logic (see example below).

Example Rule Logic

Step 2: Assign the Rule in BCUI

  1. Go to Manage Business Configuration (BCUI).

  2. Search for the HRIS Element: personRelationshipInfo.

  3. Under Trigger Rules, add your new rule under the onSave event.

  4. Save your changes.

Step 3: Testing the Rule

  1. Go to Add New Employee.

  2. Fill in the main employee details.

  3. In Person Relationships, add a dependent.

  4. Set the dependent’s Gender to a value other than Male or Female.

  5. Try to submit,the error message should display.

See Also

Keywords

gender validation, dependents, business rules, sap successfactors, employee central, manage business configuration, dependents model, personalInfo, technical limitation, 1808 release, test environment, production environment , KBA , LOD-SF-EC-DPD , Dependents Management , LOD-SF-EC-HIR , Hire & Rehire Wizards , LOD-SF-EC-HIR-RUL , Business Rules , LOD-SF-EC-HIR-RIE , Rehire Inactive Employee , How To

Product

SAP SuccessFactors Employee Central all versions

Attachments

Screenshot 2025-08-08 135958.png