SAP Knowledge Base Article - Public

3644640 - error "company code cannot be changed" during mass import of work agreements in Manage Workforce application

Symptom

  • An error message "Worker: ...... - Company Code cannot be changed" is displayed when attempting to perform a mass import of workers and their work agreements via Import function in Manage Workforce application.
  • The import process fails when trying to add a new work agreement for a worker with a different company code.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the "Manage Workforce" application.
  2. Download the template files for Worker and Work Agreement.
  3. Upload the CSV files containing worker data with multiple work agreements for a different company code.
  4. Observe the error message in application log: "Worker: ...... - Company Code cannot be changed."

Cause

The "Manage Workforce" application's import function is designed to handle only one work agreement per worker. Attempting to import multiple work agreements results in errors or overwrites existing data.

Resolution

To manage multiple work agreements effectively, there are two options:  

See Also

Keywords

worker import error, company code cannot be changed, manage workforce application, mass import work agreements, SAP S/4HANA Cloud Public Edition, SOAP API, replicate basic master data, create work agreements, import functionality error, work agreement overwrite. , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , CA-GTF-BUM , Business User Management , Problem

Product

SAP S/4HANA Cloud Public Edition all versions