SAP Knowledge Base Article - Public

2608823 - Error Message: “Property 'OrgUnitID' must not be changed” While Assigning the Employee to new Organizational Unit

Symptom

Your requirement is to change the Organizational Unit of the Employee to a new Organizational Unit using Data Workbench. But you receive the below error message:

Property 'OrgUnitID' must not be changed

Environment

SAP Cloud for Customer

Reproducing the Issue

1.  Delimit the existing Organizational Unit of the Employee to an End Date in the past DD1.MM.YYYY1

To Export the file:

  1. Login.
  2. Go to Data Workbench workcenter.
  3. Go to Export tab.
  4. In the search field, select the object Employee Organizational Assignment.
  5. Select Data.
  6. Select ID.
  7. Select Next.
  8. Export Data.
  9. Go to the Monitor tab.
  10. Download the exported file.

Update the End Date of the Organizational Unit to a date DD1.MM.YYYY1 in the past and Save the file. To Upload the file:

  1. Login.
  2. Go to Data Workbench workcenter.
  3. Go to the Update tab.
  4. Select the object Employee Organizational Assignment.
  5. Select Next and Browse for the file.
  6. Select Upload.
  7. Choose Next.
  8. Select Update.
  9. On checking the Monitor view, task is a Success.

 2.  Assign the Employee to the new Organizational Unit with Start Date DD2.MM2.YYYY2

Use the same file exported in the above step and update the Start Date, End Date and the Organizational Unit in the file and Save. To Upload the file:

  1. Login.
  2. Go to Data Workbench workcenter.
  3. Go to the Update tab.
  4. Select the object Employee Organizational Assignment.
  5. Select Next and Browse for the file.
  6. Select Upload.
  7. Choose Next.
  8. Select Update.
  9. In the Monitor tab, check for the respective Task ID.
  10. The records in the file have the Processing Error:

Property 'OrgUnitID' must not be changed

Cause

It is not possible to use the Update action to assign the new Organizational Unit for the Employee.

Resolution

1.  Delimit the existing Organizational Unit of the Employee to an End Date in the past DD1.MM.YYYY1 and upload the file in the Update view.

To Export the file:

  1. Login.
  2. Go to Data Workbench workcenter.
  3. Go to Export tab.
  4. In the search field, select the object Employee Organizational Assignment.
  5. Select Data.
  6. Select ID.
  7. Select Next.
  8. Export Data.
  9. Go to the Monitor tab.
  10. Download the exported file.

Update the End Date of the Organizational Unit to a date DD1.MM.YYYY1 in the past and Save the file. To Upload the file:

  1. Login.
  2. Go to Data Workbench workcenter.
  3. Go to the Update tab.
  4. Select the object Employee Organizational Assignment.
  5. Select Next and Browse for the file.
  6. Select Upload.
  7. Choose Next.
  8. Select Update.
  9. Check the Monitor view for a successful Task.

 2.  Assign the Employee to the new Organizational Unit with Start Date DD2.MM2.YYYY2 and upload in the Import view.

  1. Login.
  2. Go to Data Workbench workcenter.
  3. Go to Import view.
  4. Select the radio button for Individual Object.
  5. Select Insert operation.
  6. In the search field, select the object Employee Organizational Assignment.
  7. Select Download Metadata.
  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. Check the Monitor view for a successful Task.

Now verify the Org Structures for the relevant changes.

Keywords

Employee Organizational Assignment, Organizational Unit, OrgUnitID, Org Structures, Property 'OrgUnitID' must not be changed, Property OrgUnitID must not be changed , KBA , org structures , employee organizational assignment , organizational unit , orgunitid , property orgunitid must not be changed , property 'orgunitid' must not be changed , LOD-CRM-INT-DWB , Data Workbench , How To

Product

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