Symptom
- Purchasing document (Example: Purchasing requisition/ Purchasing order) workflow restarted while setting the deletion indicator in the item level.
- You deleted all item lines of a Purchase Order and the Workflow is triggered.
- Workflow restarted after setting the deletion indicator in the purchasing document
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a Purchase Order with multiple lines
- Purchase Order goes to approval
- Purchase Order approved
- Access this same Purchase Order and delete all line items
- Workflow is triggered.
Cause
Total net value changes to 0 or gets reduced to lesser value when deleting a line item.
Resolution
1.As per current system behavior
- When deleting one or more items of a PO that was approved at least once then Net Value of such PO is changed, and since you have the Net Price set to re-trigger the Workflow in the SSCUI Manage Conditions to Restart Flexible Workflow, the Workflow will be retriggered.
- When deleting one or more items of a PO that is in status 'In approval', then Net Value of such PO is changed, but according to workflow pre conditions the workflow is triggered.
2.Please contact your developer to use BAdI Enhancement for Restart/Retrigger Approval Process:
- Workflow Restart Badi ‘mmpur_po_workflow_restart’ can be used to overwrite the conditions defined in SSCUI ‘Manage conditions to restart flexible workflow’ and influence on the workflow restart.
- The BAdi takes Precedence over both SSCUI & CEKKO for Workflow restart decision.
- Importing parameter available in Badi Interface
SSCUI ‘Manage conditions to restart flexible workflow’ config details
Standard restart type decision
See Also
Workflow restart using SSCUI - 2775709
Keywords
S4_PC, restart, workflow, PR, PO, Manage, SSCUI, deletion, indicator, approval, wof, , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , Problem
Product
SAP S/4HANA Cloud Public Edition all versions