SAP Knowledge Base Article - Public

2814020 - Error "Organizational Unit Locked by XYZ" During Hiring Process

Symptom

You are executing the process to hire an employee on your Business ByDesign solution when you encounter the mentioned error message.

Environment

SAP Business ByDesign 

Reproducing the Issue

  1. Go to the Personnel Administration work center.
  2. Access the Regular Tasks view.
  3. Click the link to Hire an Employee.
    • If there are multiple countries scoped in your solution, you will have to select the relevant country tab before this.
  4. Fill the mandatory fields (marked with an asterisk) for the first step and click Next.
  5. Fill the mandatory fields for the second step and click Next.
  6. The error message "Organizational unit locked by XYZ" (where XYZ stands for a business user ID) occurs.

Cause

The most likely reason for this is the user mentioned in the error message is working on the second step of the hiring process and has selected the same org unit for the employee's assignment. In the backend, the business object will lock while this first hiring process writes information to it, in order to avoid inconsistencies, and this lock causes the error observed.

Resolution

Please try to avoid executing this process concurrently with another process already in progress.

If you have ensured there are no other users executing employee hiring at the same time as you are, kindly report an case to SAP Product Support for further analysis.

Keywords

Organizational Unit Locked, Personnel Administration, Hire An Employee, Org Assignment , KBA , SRD-HR-PAD , Personnel Administration , How To

Product

SAP Business ByDesign all versions