Symptom
- Company code assignment cannot be changed using "Manage Workforce" application.
- Error: "Empoyee XXXX:CompanyCode cannot be changed."
Environment
SAP S/4HANA Cloud Public Edition
Cause
Company code re-assignment is not supported in app Manage Workforce.
Resolution
Company code changes are not supported by the simpler approach of the Manage Workforce App (error Employee: XXXX - CompanyCode cannot be changed). In the case where a company code change is required in this scenario, one alternative would be to delete the employee and recreate them in the correct company code (for more details see KBA 2702011). Another alternative could be to switch to using the Public API or SF replication, both of which accommodate this possibility.
Additionally, there is another option: manually creating a new work agreement in the Manage Workforce app with a correct company code. For more information, refer to How to Create and Correct Work Agreements.
See Also
KBA 2922814 - How to Delete Employee Data (and Business Partner Data) in SAP S/4HANA Cloud
KBA 2702011 - Deleting Employee and Contingent Worker Data in SAP S/4HANA Cloud
Keywords
S4_PC,change company code, Import Employee, company, codes, cannot, changed, import, employee, assignment, re-assignment, employee, deletion , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , Problem