SAP Knowledge Base Article - Public

3588361 - Error Message "Cannot read properties of undefined (reading 'itemsMap')" When Accessing MDF Portlet in Employee Profile

Symptom

For certain group of users, when accessing a custom MDF portlet, an application error on People Profile UI. Error message displayed: "Cannot read properties of undefined (reading 'itemsMap'), errorName=TypeError".

"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 Core

Reproducing the Issue

  1. Go to My Employee Profile
  2. Click on the a custom section which contains the custom MDF portlet
  3. An application error pop up is shown “Error message: errorId=null, timestamp=null, errorMessage=Cannot read properties of undefined (reading 'itemsMap'), errorName=TypeError”

Cause

  • The issue was caused by incorrect RBP permission settings for field-level overrides in the MDF externalCode field as "No_Access".

Resolution

Go to Manage Permission Roles and adjust the permissions according to the requirements. In the permission settings for the specified custom MDF, the field-level overrides for "externalCode" should not be set to "No_Access".

See Also

Keywords

Error message, Cannot read properties of undefined, itemsMap, cust MDF, People Profile, RBP , KBA , LOD-SF-MDF-PP3 , MDF on People Profile , Problem

Product

SAP SuccessFactors HCM Core all versions