SAP Knowledge Base Article - Public

2451256 - View History or any Portlet With Error: You are not authorised to view this data for the selected user

Symptom

You would receive an application error when Clicking to view History or any portlet.

The application error id would be accompanied by Error: You are not authorized to view this data for the selected user 

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

Environment

SuccessFactors Employee Central -  Employment Information

Reproducing the Issue

  1. Go to Employment Information, Job Information, Personal information
  2. Click to view history on any portlet
  3. Error message is thrown: You are not authorised to view this data for the selected user.

Cause

Possible causes:

  1. There is no issue with permissions.
  2. Data inconsistency. For example, the affected User may be missing Employment Information Details. i.e. the user does not have correct Employee Central Data: to verify this, you can either download the employment details from adhoc report and check Or follow article 2584658
  3. It is also possible that the issue was caused by the employee information being imported in the wrong order.
  4. The data is already present in EP and EC tables. But looks like employment data was not imported for these users.

Resolution

  1. Run a Person and Employment Export report on Job Information, Personal Information and on Employment details.
  2. Check Hire date in both portlets, they must be identical.
  3. Check event reason in Job Information. The first record must have a valid Hire event reason.
  4. Import the corrected data such as employment details if this appears to be the cause see Here

For wrong order. Please reimport employee data using KBA to guide you: 2080146

Solution Step:Here

  1. Go to test user UI:
  2. Employment Information
  3. Scroll down to Employment Detail
  4. copy all Employment Detail records
  5. Go to Admin Center -Import Employee Data
  6. Download template: EmploymentInfoImportTemplate
  7. copy all record into EmploymentInfoImportTemplate
  8. Import

See Also

2584658 - HRIS Sync - How to Check if a User is an EC User using the Integration Center

2475763 - Workflow update button error - "You are not authorized to view this data for the selected user"

Keywords

You are not authorized to view this data for the selected user, Event Reason, Job History Error, personal information, You are not authorized to view this data for the selected user, You are not authorised to view this data for the selected user , KBA , LOD-SF-EC-JOB , Job Information , LOD-SF-EC-PER , Person Data (All Person Data Types) , Problem

Product

SAP SuccessFactors Employee Central all versions