SAP Knowledge Base Article - Public

2885268 - EC: Payment information - UI rule to set field as mandatory based on Pay Type selection

Symptom

    • How to make field as mandatory/required based on PayType field selection through UI rules
    • Amount field is not setting as mandatory through UI rule

    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 

    Reproducing the Issue

    1. Go to Manage Configuration UI > Search for Payment information UI
    2. Manage UI rules > Add Rule
    3. Create UI rule similar to following screenshot

    Incorrect_UIRule.PNG

    • In the example, UI rule is configuired to set Amount field as Mandatory when Pay Type = Payroll and Payment Method = Check
    • Though the rule logic is correct, pay type value added is incorrect, thus not setting the Amount field as mandatory.

    Cause

      Pay Type values used in UI rule are case sensitive

      Resolution

      •  Pay Type value is case sensitive. The value should be maintained exactly as following
        • Main Payment Method = MAIN
        • Payroll = PAYROLL
        • Bonus = BONUS
        • Expenses = EXPENSES
      • Correct UI rule

      PayInfo_UIRule.PNG

      Keywords

      Payment information, UI rules, Payment information ui rules, Amount field not mandatory, pay type ui rules, ui rule mandatory field, pay type selection , KBA , LOD-SF-EC-PAY , Payment Information (Bank Information) , How To

      Product

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