SAP Knowledge Base Article - Public

3321238 - Composite Association Child Object in BCUI

Symptom

In Configure Object Definitions, a warning appears upon saving when you use a generic object (GO) as the value source of an MDF field and the effective dating of the value source object is set to "From Parent".

Also, if a child object is defined with effective dating "From Parent" and has composite associations with multiple parents, and the child object is referenced in a field in a HRIS element in BCUI, while importing related data in Import Employee Data tool, the child may pick up any parent randomly. 

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
  • Import Employee Data
  • Metadata Framework (MDF)
  • Association

Cause

Incorrect configuration.

Resolution

Please note that "From Parent" effective dating is used for composite association only. The effective dating setting of the object is inherited from its parent object. Object with "From Parent" effective dating can't be accessed without the parent object. If you delete a record of the parent object, its associated child records are also deleted. 

When defining an MDF object, you can set a field to get its values from another MDF object through the Valid Values Source attribute. However, don't use composite child objects (objects with effective dating set to "From Parent") as value sources. Using such objects as value sources will lead to errors in accessing quickcards and other issues. Here's an example of the warning message in BCUI:

However, there is no such warning message for imports in Import Employee Data tool.

Product Management Team has confirmed that it's an incorrect configuration to have multiple parents for a child in composite associations and "From Parent" effective dating. 

We recommend that you modify the Valid Values Source attribute value and use a valid object. Else, if feasible for your requirement, change the association from composite to valid when.  

See Also

Basic Configurations in Object Definition

Warning for Incorrect Value Source

Keywords

composite, effective dating, from parent, validation, association, reference, MDF-49970, ECT-211705 , KBA , LOD-SF-EC-EDP-JOB , Job Information Imports , LOD-SF-EC-MDF , MDF & EC2MDF Migration , LOD-SF-EC-BCI , Manage Business Configuration (BCUI) & Data Models (XML) , Problem

Product

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

Attachments

Pasted image.png