Symptom
- Child field shows "No Selection" but you are expecting values to be returned based on Parent selection
- Parent field shows "No Selection" but you believe that the Child associated fields have all required field-criteria specified
- A field keeps on loading when editing/adding a record
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
Reproducing the Issue
Child field returns no values - Example scenario - Business Unit (Parent) and Department (Child)-:
- Navigate to My Employee Files > Employment Information > Job Information > History > Insert New Record
- Select the Business Unit (Parent) field value - the available list is returned successfully
- Select the Department (Child) field value - No Selection is returned
- Navigate to Admin Center > Manage Data and verify that the Department value has the corresponding Business Unit associated with it
- Remember - associations go from the Child to Parent (so the desired Business Unit(s) will be set on the Department)
Parent field returns no values - Example scenario - Business Unit (Parent) where multiple objects refer to Business Unit as the Parent -:
- Navigate to My Employee Files > Employment Information > Job Information > History > Insert New Record
- Select the Business Unit (Parent) field value - No Selection is returned
- Navigate to Admin Center > Manage Data and look up the Business Unit value
- Note that Business Unit does not appear to have any associations confgured.
- Navigate to Admin Center > Configure Object Definitions > look up the Business Unit object - verify no associations are configured
- Remember - associations go from the Child to Parent. In this case Business Unit does not have a Parent
Cause
Wrong association configuration.
Resolution
Before troubleshooting you should be aware of the parent(first field to be selcted) and child field
- Install Firebug in your browser(mozilla or chrome)
- Navigate to job information page and locate the field to be checked
- Click Fire bug icon
- A new window will get opened towards the bottom of the browser.Clear the console clicking clear button
- Click the field which is throwing error or which is not filtering properly. When clicking in the field firebug console starts loading the logs. It will display 2 post statements. You will need to click the first post statement ending with .dwr and then click the post tab
- Scroll down and check the line with the keyword "reference". All the generic objects or foundation objects associated to this field will get displayed in the reference section.In below screenshot department is associated to company and division.
- Now check the association configuration
- Navigate to the object definition of the child object. Child object is the object which is getting filtered and parent object is the object which we select first
Here in above example: Company and division are the parent and department is the child, this way we need to navigate to object definition of department.
- Admin center-->Configure object definition
- Search the object department
- Scroll down and check the association section.
- Check whether field criteria is maintained for both objects.Field criteria should be maintained in respective field of the child object in job information portlet. Changes can be performed via XML or business configuration.
- Navigate to Admin center----->manage business configuration
- job info ---->department
- click details---->Scroll down to Field criteria section---->Fill Destination field value and source field name
- How to get destination and source field name
Destination Field Value
Destination field value is the field id of parent object in job information portlet.Here parent objects are Division and Legal entity. Field id for Division object in job info is "division" and legal entitiy is "company".Make sure that you are entering the id of the field and not the label and is case sensitive.
Source Field Name
Source field name is the association name. Check the screenshot in step 8.
Association name for Division is cust_toDivision and association name for Legal Entity is cust_toLegalEntity
Now copy this name and add it in Source field name for respective field. An extension needs to be added to the name.
Following extensions can be added based on the configuration.
- internalId - If parent is MDF object then add internalId after the dot symbol . In above example cust_toDivision.internalId
- externalCode - If parent is Foundation Object add externalCode
- mdfSystemInternalCode - If parent is Custom MDF add mdfSystemInternalCode
- How to determine which extension to be added
Navigate to the Parent Object Definition----->Check the name of the data base field internalCode. In below screenshot its mdfSystemInternalCode.Copy this and paste it after dot symbol under Source field name
- Make sure that parent filed(first field to be selected) is placed above child field in job information portlet.
See Also
- 2287729 - Object Association Field Criteria FAQ and Troubleshooting - Employee Central
- 2285359 - Adding an Association from Custom Foundation Object to MDF Foundation Object (GO to GO) - Employee Central
- 2285593 - Adding an Association from Custom Foundation Object to a Legacy Foundation Object (GO to FO) - Employee Central
- 2787298 - Custom Object Association and Field Criteria to Legal Entity is not working
- 3502563 - Association error when trying to save a Job information record
- 2511175 - Can Company/Legal Entity be a Child in an Association
- 2315601 - Employee Central - General Issues
- 2315265 - Employee Central - Foundation Objects
- Associations
- Working with Associations, Field Criteria and Value Help
- Adding Field Criteria to a HRIS Element
- Configuring Associations
Keywords
Association, not working, Filtering, Application error clicking job information field, field criteria, Value Help, ECT-50330, There were no results, no result in dropdown, blank, no data, empty, drop down, drop-down, not populating, filtered, populated, filter, appear , KBA , LOD-SF-EC-JOB , Job Information , How To
SAP Knowledge Base Article - Public