SAP Knowledge Base Article - Public

2518607 - Payment Information: Rule returns null for jobCountry when adding multiple records

Symptom

A rule is configured to raise a message when Bank Country is not equal to Job country. It works fine when adding only one record. But it returns null for Job Country when adding multiple records.

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: Payment Information
SAP SuccessFactors Employee Central: Business rule

Reproducing the Issue

  1. Configure a rule as the following:
    PIDRule1.png
  2. The rule is added to Payment Information Details object definition.
  3. It works fine when first record is added.
  4. If we add 2 or more records, the rule shows null for Job Country.
    null.JPG

Resolution

  1. Navigate to Admin Centre -> Configure Object Definitions
  2. Search for Payment Information Details
  3. Take Action -> Make Correction
  4. Click on Details of the field "parent"
  5. Change Visibility to "Read Only". Save the change
  6. Edit the IF condition as the following:
    if Payment Info detail.bank country is not equal to Payment Info detail.parent.job country
    rule1.JPG

Keywords

validation composit , KBA , LOD-SF-EC-PAY , Payment Information (Bank Information) , LOD-SF-EC , Employee Central , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions