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:
- Login.
- Go to Data Workbench workcenter.
- Go to Export tab.
- In the search field, select the object Employee Organizational Assignment.
- Select Data.
- Select ID.
- Select Next.
- Export Data.
- Go to the Monitor tab.
- 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:
- Login.
- Go to Data Workbench workcenter.
- Go to the Update tab.
- Select the object Employee Organizational Assignment.
- Select Next and Browse for the file.
- Select Upload.
- Choose Next.
- Select Update.
- 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:
- Login.
- Go to Data Workbench workcenter.
- Go to the Update tab.
- Select the object Employee Organizational Assignment.
- Select Next and Browse for the file.
- Select Upload.
- Choose Next.
- Select Update.
- In the Monitor tab, check for the respective Task ID.
- 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:
- Login.
- Go to Data Workbench workcenter.
- Go to Export tab.
- In the search field, select the object Employee Organizational Assignment.
- Select Data.
- Select ID.
- Select Next.
- Export Data.
- Go to the Monitor tab.
- 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:
- Login.
- Go to Data Workbench workcenter.
- Go to the Update tab.
- Select the object Employee Organizational Assignment.
- Select Next and Browse for the file.
- Select Upload.
- Choose Next.
- Select Update.
- 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.
- Login.
- Go to Data Workbench workcenter.
- Go to Import view.
- Select the radio button for Individual Object.
- Select Insert operation.
- In the search field, select the object Employee Organizational Assignment.
- Select Download Metadata.
- Fill data in the fields.
- Save the file.
- Select Next and Browse for the file.
- Select Upload.
- Choose Next.
- Select Import.
- 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