Symptom
A sales document, e.g. a sales order, was created and due to a setup approval workflow, it was put in 'In Approval' status. The approver correctly received the task and approved the document, however its status didn't changed and remained in 'In Approval'.
Environment
SAP S/4HANA Cloud Public Edition
Cause
There's an implementation for one of the bellow BAdIs:
- SD_SLS_MODIFY_ITEM
- SD_SLS_MODIFY_HEAD
This implementation is changing fields in the document every time it's approved, triggering the approval process in a loop.
Resolution
Adjust the implementation to not change the document every time if there's no need for it.
Additionally, if necessary, the skipping for approval workflows can be configured for uncritical changes: Skip Approval Workflows | SAP Help Portal
See Also
Keywords
workflow, approval workflow, sales order, sales documents, approver, approved, rejected, rework, stuck workflow, stuck in approval , KBA , SD-SLS-WFL-2CL , Approval Workflows (Public Cloud) , Problem
SAP Knowledge Base Article - Public