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.

Environment

Employee Central: Payment Information
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 , LOD-SF-EC , Employee Central , LOD-SF-EC-RUL , Business Rules & Event Derivation , Problem

Product

SAP SuccessFactors HCM Core 1705 ; SAP SuccessFactors HCM Core 1708