When creating or changing a sales order, it is set to the status "in approval" after saving, although the related workflow hasn't been activated yet.
SAP S/4HANA Cloud
The Business Add-In (BAdI) "SD_APM_SET_APPROVAL_REASON" is called whenever a sales document is saved by a business user. It determines whether a sales document needs to be sent to an approver. And if yes, it will set an approval request reason on sales document header level.
If this BAdI sets an approval request reason for the sales order, there must be at least one active workflow with an according start condition. Otherwise, the BAdI may put documents into approval, but no workflow will ever send them to a designated approver.
Please adjust the logic in the BAdI "SD_APM_SET_APPROVAL_REASON" by deleting the related logics whose workflow hasn't been published yet. Or, please activate the workflow as soon as possible.
Sales Order, In Approval, Workflow, Draft, Activate, Business Add-In, BAdI, SD_APM_SET_APPROVAL_REASON, Sales Document, Approver, Approval Request Reason, Sales Document Header, Active Workflow, Start Condition, Send , KBA , SD-SLS-SO , Sales Orders , Problem