SAP Knowledge Base Article - Public

2676674 - [Custom MDF] The business rules' operation when the data is created via Import in MDF object.

Symptom

  • Field is not populated in MDF object based on business rule via Import
  • Does Import trigger the business rule configured on MDF object?
  • How to get business rules triggered when data is imported via SFTP in custom MDF objects?
  • How to populate a field value based on data imported in an MDF object?

Environment

  • SAP SuccessFactors HXM Suite
  • Metadata Framework (MDF)

Reproducing the Issue

  • Configure a business rule and set it on the object level.
  • Import the data for this object.
  • The rule does not yield the expected result. Field is not populated as per rule written.

NOTE: It is always better and recommeneded to check the rule’s operation by putting Rule trace. See the KBA 2257064 to learn how to do that.

Cause

There are few limitations when it comes to the operation of business rules via MDF Import.

Resolution

Import does not trigger an onChange business rule (rule configured on the field level).

However, the Save, Initialize and Validate rules  should be triggered and executed when the data is Imported.

Post b2005 release: Validate rules are executed during both validate and import operations. Validate operation now triggers the validate rules associated with the MDF objects and returns errors found in the data.

Keywords

MDF, Metadata Framework, Custom MDF object, Import, Business rule, onSave, onChange, MDF-32144, b2005 , KBA , LOD-SF-MDF-RUL , Custom Oject based Business Rules , LOD-SF-MDF-IMP , Import and Export Issues , How To

Product

SAP SuccessFactors HXM Suite all versions