SAP Knowledge Base Article - Public

2303798 - How to use Browser Developer Tools to troubleshoot Association Configuration issues (missing field-criteria)

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

Environment

Employee Central 2.0

Reproducing the Issue

Child field returns no values - Example scenario - Business Unit (Parent) and Department (Child)-:

  1. Navigate to My Employee Files > Employment Information > Job Information > History > Insert New Record
  2. Select the Business Unit (Parent) field value - the available list is returned successfully
  3. Select the Department (Child) field value - No Selection is returned
  4. Navigate to Admin Center > Manage Data and verify that the Department value has the corresponding Business Unit associated with it
  5. 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 -:

  1. Navigate to My Employee Files > Employment Information > Job Information > History > Insert New Record
  2. Select the Business Unit (Parent) field value - No Selection is returned
  3. Navigate to Admin Center > Manage Data and look up the Business Unit value
  4. Note that Business Unit does not appear to have any associations confgured.
  5. Navigate to Admin Center > Configure Object Definitions > look up the Business Unit object - verify no associations are configured
  6. Remember - associations go from the Child to Parent. In this case Business Unit does not have a Parent

Cause

Child field returns no values - Example scenario - Business Unit (Parent) and Department (Child)- Caused by the Child field missing all required field-criteria

Parent field returns no values - Example scenario - Business Unit (Parent) where multiple objects refer to Business Unit as the Parent - One or more fields in Job Info have been configured as object field, but they are missing field-criteria - this causes the Parent field to break.

Resolution

The quickest way to determine which field is missing its field-criteria is by using Firefox > Firebug. Using the steps below you can identify which field in the configuration is configured as an object and is causing the problem -:

  1. Log into the instance using Firefox browser
  2. Navigate to the Job Info > History page for the test/example employee
  3. Click "Insert New Record" (do not save any data - this is purely to reproduce the field issue)
  4. Open Firebug (press F12 on the keyboard)
  5. Then click on the field that is not returning any values, allow it to load and return "No Selection"
  6. In the Firebug section, select (click the + symbol next to) the POST that is calling "foundationAutoCompleteControllerProxy" -:

 foundationAutoCompleteControllerProxy.JPG

7) Then click on the "Post" tab and look for the line that mentions "Object_Object" (as per below image) and you will find out what other fields are using the broken field as a parent. It will be the field that is mentioned without a ":c0-eXX" (refering to a line above it which shows the value returned). This indicates no field-criteria is set on the mentioned field. In our example below - custom-string100 is missing field-criteria as object is configured with an association to Legal Entity.

foundationAutoCompleteControllerProxy_whichfield.JPG

8) In this case - custom-string100 was configured as type="payRange", making the field behave like the Pay Range Foundation Object. After checking the configuration for the object we found it had associations configured to Legal Entity so adding te missing field-criteria to the custom-string100 field solved the issue, but the same would be true if this field was referring to a Generic Object (MDF Foundation Objecy, Custom Generic Object, Legacy Foundation Object).

Keywords

Associations, Value Help, ECT-50330, There were no results, no result in dropdown , KBA , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors HXM Core all versions