Symptom
While trying to cancel a Production Order, the error message 'Action failed; error while closing lot.' appears and it is not possible to cancel the Production Order.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Production Control workcenter.
- Go to Production Orders view.
- Select all Orders then search for the relevant Production Order.
- Click Cancel button.
System throws error message 'Action failed; error while closing lot.'
Cause
The system is working as expected. During the cancel action of Production Order, the finish action is called for all tasks. Under section "Disallow Production Task Execution" of the relevant Production Order, if either checkbox is selected the tasks cannot be started and therefore the Purchase Order cannot be canceled.
Resolution
You should remove these checkbox indicators and then it is possible to cancel the Production Order.
Keywords
Production Order, Error message , KBA , SRD-SCM-WME-PRD , Production Control , How To