Symptom
Locking object not possible; object locked by <Technical UserID> (user ID); Error message displayed after Confirmation Update Run is executed.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Outbound Logistics Control work center.
- Navigate to the Automated Actions view and choose the option Confirmation Update Runs.
- Select the relevant run and choose the Schedule button.
- In the Scheduled Jobs screen, choose the option Start Immediately and select the Save and Close button.
- Wait for the Job to complete.
- Select the job log once the job is completed and Expand the values under Results tab of the Application Log.
You can see the reported error message.
Cause
- When the system does Product availability check, there are work packages created in the system.
- There are various work packages created for the products to perform the availability check when confirmation update run is executed.
- Due to the large number of requirements, there are products that are overlapping in different work packages.
- This means that there are work packages with the same product for which availability check will be executed.
- The work packages are executed in parallel for faster execution completion of the runs.
- When work packages are processed in parallel and if two work packages have the same product in them, the system will raise object locked error.
Resolution
- You will have to create confirmation update runs so that one single run does not have large amount of data to process.
- Make sure to use the filter criteria like planning areas and ship-to location to create multiple runs which are executed at different time intervals.
- SAP recommendation is that there should be an interval of four hours between jobs of the same run.
Keywords
confirmation update run error, lock error in confirmation update run, lock error in atp check, atp check lock error, error in automated atp check, lock error in automated atp checkconfirmation update run error,lock error in confirmation update run,lock error in atp check,atp check lock error,error in automated atp check,lock error in automated atp check,lock error confirmation update run anand , KBA , AP-CR-ATP , Available To Promise Check Run , Problem
SAP Knowledge Base Article - Public