SAP Knowledge Base Article - Public

3223727 - Unable to change the company code for the user.

Symptom

  • Company code assignment cannot be changed using "Import employee" application.
  • Empoyee XXXX:CompanyCode cannot be changed.

Environment

SAP S/4HANA Cloud.

Reproducing the Issue

  1. Open "Import employee" application.
  2. Upload .csv file by changing the company code.
  3. Execute the file.

Cause

Company code re-assignment is not supported.

Resolution

Company code change is not supported by the simpler approach of Import Employee App (error Employee: XXXX - CompanyCode cannot be changed). In case a company code change is required in this scenario one alternative would be to delete the employee and recreate it again in correct company code (for more details see KBA 2702011), another alternative could be moving to use the Public API or SF replication which both cover this possibility.

See Also

2555311 - FAQ - Import Employees app

2922814 - How to Delete Employee Data (and Business Partner Data) in SAP S/4HANA Cloud

2702011 - Deleting Employee and Contingent Worker Data in SAP S/4HANA Cloud

Keywords

S4_PC, company, code, cannot, changed, import, employee, assignment, re-assignment, employee, deletion , KBA , CA-WFD-INT , Integration issues WorkForce Domain , Problem

Product

SAP S/4HANA Cloud all versions