Symptom
When attempting to delete a sales document, the error "Sales document & is in approval. No changes are allowed" is displayed, indicating that it is still in the approval workflow. However, the workflow has been canceled using the "Flexible Workflow Administration" app.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a sales document.
- The sales document triggers the workflow, and the approval status of the sales document is "In Approval".
- Cancel the sales document workflow using the "Flexible Workflow Administration" app.
- Attempting to delete the sales document results in the error: "Sales document & is in approval. No changes are allowed".
Cause
Canceling the workflow in the "Flexible Workflow Administration" app only stops the current workflow from being progressed further. It does not revoke the current approval status of the sales document.
Resolution
Delete the sales document following the KBA.
- KBA 2997066 - How to withdraw the approval request when a sales document is in the status of "in approval"?
Keywords
SAP S/4HANA Cloud Public Edition, Sales document, Approval status, In approval, Workflow, Cancel, Flexible Workflow administration, Delete, Error, Sales document & is in approval. No changes are allowed, Withdraw approval request , KBA , SD-SLS-WFL-2CL , Approval Workflows (Public Cloud) , Problem
SAP Knowledge Base Article - Public