SAP Knowledge Base Article - Public

2540725 - Setting up field criteria on composite child object for GO fields

Symptom

  • Setting up field criteria on the fields of child object based on parent object effective start date.
  • In a custom MDF object having parent child composite association, the child object does not take parent’s effective date into account for the availability/unavailability of the values in GO field.
  • Picklist value is not visible after configuring the custom portlet.
  • Error displayed while trying to add the field criteria: Cannot create the field criteria GOFieldCriteria{sourceFieldName='effectiveStardDate',detinationFieldValue='parent.effectiveStartDate',defaultDestinationValue='1900-01-01'} for field xxx_xxx in object definition xxx_xxx.

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 HCM

Reproducing the Issue

  • While creating data for an MDF object, the values displayed in the composite child object's GO field are not restricted based on the date selected on the parent's effective start date.
  • While creating data for an MDF object, the values displayed in the composite child object's GO field are not displaying as expected based on the date selected on the paren'ts effective start date.

Cause

This is because of the field criteria not defined to check the date based on the parent's effective start date.

Resolution

Effective start date for a composite object follows from the parent. If you have a field of type GO defined on the child object that needs to respect the effective dating as selected on the parent object then, the field criteria on the child object's GO needs to have the below set up shown in the screenshot.

  1. Open the Child object and select Take Action -> Make correction
  2. click Details on the field of tye Generic Object that you require the change to be done
  3. Set uo the Field Criteria as per screenshot below
    - Setting up the below criteria on the child object's will then limit the values in the drop down based on the effective start date of the parent that matches the effective start date of the referenced objects data.

A7F20509.PNG

For Product Support, check internal memo.

See Also

 Field Criteria

Keywords

MDF: Metadata Framework, Composite associations, Field criteria  , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , LOD-SF-MDF-MGD , Manage Data - Create, Update & Delete , How To

Product

SAP SuccessFactors HCM Suite all versions