Symptom
The error "Error happened when invoking rule function: getMDFDefaultValue, root cause: getGenericObject(): Invalid default value configuration with data source : PayScaleType and default value XXX" appears in rule trace after triggering a business rule in Conditional Defaults context.
Images/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
Cause
The system fails to navigate to the MDF object because the required field is not properly referenced in the Employer Group Items object configuration. To the rule be able to understand that the default value XXX is an MDF object and navigate to this object, it's necessary to insert this field with the source object as Pay Scale Type in the Employer Group items object configuration.
Each object that need to be referred on this configuration must be referred in the employer group items object when using Get Generic Object Default Value() function, to ensure system can read them properly.
Resolution
- Navigate to Configure Object Definitions;
- Open Employer Group Item Object;
- Insert a custom field with the source object as Pay Scale Type;
- And then insert the Pay Scale Type XXX in the object in Manage Data;
Note: The Pay Scale Type Object was selected as an example to illustrate the KBA, this scenario could be applied to other objects. Please check the Implementation Guide in order to understand and review all the Configuration Managing Conditional Groups and Defaults | SAP Help Portal.
See Also
Keywords
conditional defaults, pay scale type, SAP SuccessFactors Employee Central, business rule trace, MDF object, Employer Group Items, default value configuration, getMDFDefaultValue error, invalid configuration, rule function error. , KBA , LOD-SF-EC-JOB , Job Information , How To
Product
Attachments
| Pasted image.png |
SAP Knowledge Base Article - Public