Symptom
Unable to cancel a production order after it has just been released. Following error messages encountered:
- Action failed
-
-----> Action failed; error while finishing tasks.
-
-----> Action failed; error while closing lot.
Environment
SAP Business ByDesign
Reproducing the Issue
- Navigate to Production Control work center,
- Open Production Orders view.
- Search for desired production order ID.
- Click on the Cancel button.
- Observe the error messages:
"failed
-----> Action failed; error while finishing tasks.
-----> Action failed; error while closing lot."
Cause
The system is working as expected. When attempting to cancel a production order, the system triggers the finish action for all associated tasks. If the relevant financial period for posting the tasks is closed, the production order cannot be canceled.
Resolution
Open the relevant financial period for posting the associated tasks. Then the cancellation of the production order could be executed.
Keywords
Cancel, Production Order, Production Order Cancellation, Financial Period, Action Failed, Error while finishing tasks, Production Task, Production Control. , KBA , AP-PE-ORD , Production Order , Problem
SAP Knowledge Base Article - Public