SAP Knowledge Base Article - Public

2686300 - errorMessage=Cannot read property 'id' of null - Contingent Worker

Symptom

When entering a Contingent Worker the following error is seen before the Work Order section:

CW Capture.PNG

errorId=null, timestamp=null, errorMessage=Cannot read property 'id' of null, errorName=TypeError, server=203pc4bcf28t, versionInfo=Release%3A%20b1805.20180815195543%0A%20%20%20%20Server%3A%20203pc4bcf28t%0A%20%20%20%20Timestamp%3A%202018-08-23T18%3A01%3A23.917-0400

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 - Contingent Worker

Cause

There is no UI Definition for Work Orders configured. The required UI "WorkOrderPortletForAddNewCWF" which displays the WorkOrder Portlet in the add Contingent Worker UI is not defined.

Resolution

Configure a UI Definition for Work Orders via Manage Configuration UI as per the following section of the handbook.

Keywords

SF, success factors, CW, CWF, cannot can't hire a contingent worker, Cannot read property 'id' of null , KBA , LOD-SF-EC-CWF , Contingent Workforce , Problem

Product

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