SAP Knowledge Base Article - Public

2800570 - How to Configure a Business Rule with Original Record for MDF object

Symptom

There are 3 requirements:

  • Each end user should have a payment information entry for all fours pay types, Main, Payroll, Bonus and Expenses.
  • Stop end users adding more than one entry of a given pay type. We need to check past present and future records also.
  • Present an error for employees if they create a new bank record without an attachment.

"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
  • SAP SuccessFactors HXM Suite

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

Note that you must setup the business rule in the parent object because Previous and Next Effective Dated Record does not show up with child object.

If you configure a e.g. Payment Information Detail (or Country), it only shows Original Record and Rule Context.

See Also

Guide: Validate Rules Based on Next, Previous, or Original Values

Keywords

Child Object, Parent Object, Payment Information, Payment Information, Details, Pay Type Duplicate Check, Check Previous Records, Check Original Record, Check Future Dated Records, MDF Model Check, Previous Values, Original Values, employee central, employee profile, successfactors, SF, EC, EP , KBA , LOD-SF-EC-PAY , Payment Information (Bank Information) , LOD-SF-MDF-RUL , Custom Oject based Business Rules , How To

Product

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