SAP Knowledge Base Article - Public

2744226 - Application Error When Clicking the 'Details' Link of a Dependent in the Dependents Portlet

Symptom

On an Employee's Profile, upon clicking on the 'Details' link, a 'null' application error occurs;
'errorId=null, timestamp=null, errorMessage=Cannot read property 'cascadeChildren' of undefined, errorName=TypeError, server=43ps4bcf53t, versionInfo=Release%3A%20b1811.20190116180652%0A%20%20%20%20Server%3A%2043ps4bcf53t%0A%20%20%20%20Timestamp%3A%202019-01-22T05%3A32%3A31.275-0500'

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

Environment

  • Employee Central
  • Dependents Management
  • Manage Business Configuration
  • Employee Profile 

Reproducing the Issue

1. In Admin Centre, search for a user's profile

2. On the user's profile, scroll to the Dependents portlet

3. Click on the 'Details' hyperlink
DPD_Link.png

4. Application Error occurs
DPD_Error.png

Cause

This error occurs when the 'Country' field is not maintained for the 'NationalIDCard' HRIS Element for dependents

Resolution

To resolve this issue, we need to add the 'Country' field in 'nationalIdCard_dependent'. To do so;

1. In Admin Centre, search for 'Manage Business Configuration'
2. Click on the triangle next to 'nationalIdCard', this opens a dropdown > From the dropdown select 'nationalIdCard_dependent'
3. Add the field 'country' (ensure a lowercase 'c' is used) > Enabled = Yes > Mandatory = Yes > Visibility = Edit > Save
cntry_DPD.png

After adding this, you will no longer see this error.

Keywords

Application Error, Dependents, Details, Details link, Edit Details, errorId=null, timestamp=null, errorMessage=Cannot read property 'cascadeChildren' of undefined, errorName=TypeError, nationalIdCard_dependent, country, nationalIdCard, null, cascadeChildren , KBA , LOD-SF-EC-PER , Person Data (All Person Data Types) , LOD-SF-EC-BCI , Manage Business Configuration (BCUI) & Data Models (XML) , LOD-SF-EC-DPD , Dependents Management , Problem

Product

SAP SuccessFactors Employee Central 1611 ; SAP SuccessFactors Employee Central 1702 ; SAP SuccessFactors Employee Central 1705 ; SAP SuccessFactors Employee Central 1708 ; SAP SuccessFactors Employee Central 1711 ; SAP SuccessFactors Employee Central 1802 ; SAP SuccessFactors Employee Central 1805 ; SAP SuccessFactors Employee Central 1808 ; SAP SuccessFactors Employee Central 1811 ; SAP SuccessFactors Employee Central 1902