SAP Knowledge Base Article - Public

3596049 - Purchase Order Item Completion Run Did Not Consider the Purchase Order for Runs

Symptom

Purchase Order Item Completion Run not marked purchase order as finished for invoicing due to error - "Lock not possible; reference doc. locked by user" displayed in the Application Log. 

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to Purchase Requests and Orders work center
  2. Select Purchase Order Item Completion Runs view
  3. Select the Run ID 
  4. Check the Application Log at the bottom
  5. Notice the error "Lock not possible; reference doc. locked by user"

Cause

The purchase order item completion run allows you to finish delivery and invoicing of open purchase orders based on certain criteria.

Control Parameters
Finish Delivery
Finish Invoicing

Mass data run selected instances based on the following criteria:
CompanyID
ItemDeliveryProcessingStatusCode
ItemInvoiceProcessingStatusCode
SelectbyPurchaseOrderID
PurchaseOrderItemLifeCycleStatusCode

During the run, system allows you to finish delivery and invoicing of open purchase orders based on certain criteria. Technically speaking, during the execution system sends a transactional message between Purchase order and Delivery along with Invoicing document. During this stage, if document is locked, then the entire sequence or list of orders will be locked from further processing. Due to the fact, purchase order item completion run did not marked the purchase order as Finished. 

Resolution

As a work around, you can try creating or scheduling run during off business hours to avoid document locks. 

See Also

Keywords

Purchase Order, Item Completion Run, Error, Lock not possible, reference doc. locked by user, Application Log 736823, PO 694, Delivery, Invoicing, Document Lock , KBA , SRD-SRM-PRO , Purchase Requests and Orders , Problem

Product

SAP Business ByDesign all versions