SAP Knowledge Base Article - Public

2581002 - Application Error Occurs When Opening Job History

Symptom

When opening the job history of a given employee the following error appears in a pop up window "An application error occurred. Please try again later, or notify support if the issue keeps occurring."

history permissions.jpg

Alternatively you may recieve the following error:

errorId=null, timestamp=null, errorMessage=Cannot read property '0' of undefined, errorName=TypeError,

Environment

Employee Central - Job History

Reproducing the Issue

  1. Go to an employee's record
  2. Navigate to Job information
  3. Click the History icon

Error occurs. (No fingerprint or error ID is displayed)

Cause

RBP - Role Based permissions

  • You need to permission jobInfo_seq-number field under Job Information
  • If you have the Alternative Cost Center feature enabled, you will also require permissions to cost-center field. 

Resolution

  1. open Admin Center
  2. Click Set User Permissions
  3. Manage Permission Role
  4. Select the permission role of the person trying to view the history of the employee
  5. Click Permission... under Permission settings
  6. Click on employee Central effective dated Entities
  7. scroll down on your right to Job Information section
  8. Check for RBP for Edit Link, Job Information Actions
  9. Provide permissions to jobInfo_seq-number and/or cost-center

Make sure you permission jobInfo_seq-number to be able to see the sequence of Job History records

Keywords

error, job history, application error, sequence number, seq-number, cost center, permissions, cost-center, alternative cost center, alternative cost distribution,  permissions, missing permissions, errorId=null, timestamp=null, errorMessage=Cannot read property '0' of undefined, errorId=null, timestamp=null, errorMessage=Cannot read property '0' of undefined, Cannot read property '0' of undefined, errorName=TypeError , KBA , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , Problem

Product

SAP SuccessFactors Employee Central all versions