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
- Go to Manage Configuration UI > Search for Payment information UI
- Manage UI rules > Add Rule
- Create UI rule similar to following screenshot
- 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
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