SAP Knowledge Base Article - Public

2800570 - How to Configure a Business Rule to Check for Duplicate Pay Type Entries

Symptom

  • The requirement is that each end user should have a payment information entry for all fours pay types, Main, Payroll, Bonus and Expenses.
  • We need a rule to stop end users adding more than one entry of a given pay type. We need to check past present and future records also.

"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 Rules

Resolution

  • This can be achieved by creating a business rule for each pay type, in each scenario.
  • We will make the rule check the original record, the previous record and future dated records.
  • The rule needs to be configured following the Evaluate MDF rule-based scenario, with the base object set as Payment Information.

To do this, please do the following.

  1. Go to configure business rules
  2. Create new or click + sign
  3. Give the rule a name and base object as payment information.
  4. Set the Purpose to be evaluate.

2019-06-03_14-11-08.png

The rule then needs to be as follows.

Note it is best to check each Pay type in separate rules to avoid performance issues with the rule.

2019-06-03_14-13-29.png

If you want to do this for all pay types, then please create four business rules, just change the pay type for each rule and follow the same template.

Once you have your rules created, assign them to the payment information object as onsave rules.

2019-06-03_14-18-01.png

Keywords

Pay Type Duplicate Check, Check Previous Records, Check Original Record, Check Future Dated Records, MDF Model Check, Previous Values, Original Values , KBA , LOD-SF-EC-PAY , Payment Information (Bank Information) , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , How To

Product

SAP SuccessFactors Employee Central all versions