SAP Knowledge Base Article - Public

2900736 - Error: "Role Y for employee xxxxxxxxxxxxxxxxxxxxxxxx is not allowed" While Importing Employee Assignment to Organizational Structure

Symptom

Upon trying to upload the Employee Organizational Unit Assignment with Role Code: X, you see the processing error:

Role Y for employee xxxxxxxxxxxxxxxxxxxxxxxx is not allowed

where X represents the internal Role Code
Y represents the description of the internal Role Code
xxxxxxxxxxxxxxxxxxxxxxxx represents the technical ID of the Employee in the backend

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Data Workbench workcenter
  2. Go to Import view
  3. Select the radio button for Individual Object
  4. Go to Insert tab
  5. Go to Standard Object tab
  6. Search for the Data Workbench object Employee Organizational Unit Assignment
  7. Select Download
  8. Fill data in the fields
  9. Save the file
  10. Select Next and Browse for the file
  11. Select Upload
  12. Choose Next
  13. Select Import
  14. In the Monitor view, check for the respective Task ID
  15. The record in the file have the Processing Error

Cause

Not all the Role Codes are used in the employee assignment to the organizational structure. There are Role Codes used in other scenarios, but not relevant for the employee assignment to the organizational structure (Employee Organizational Unit Assignment).

Resolution

For the employee assignment to the Organizational Unit, only the following employee Role Codes are used and allowed:

218 - Manager
219 - Employee
222 - Employee (Secondary Assignment)

Employees with the above 3 Role Codes appear on the facet Employees in the Organizational Unit UI.

Keywords

Manager, Employee, Secondary Assignment, Role Code, Employee Organizational Unit Assignment, Role for employee is not allowed , KBA , role for employee is not allowed , employee organizational unit assignment , role code , secondary assignment , employee , org unit , manager , LOD-LE-OM-OM , Org. Management , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions