Symptom
- Workflow has been restarted for the purchase requisition when the technical completion is cancelled for the maintenance order.
- Restart BADI is not triggered when the technical completion is cancelled for the maintenance order.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Change the maintenance order for a technically complete project.
- Change the status of the maintenance order to 'TECO'.
- The deletion flag will be set in the item of the impacted PR.
- Change the status of the maintenance order back from 'TECO'.
- The deletion flag will be unset in the item of the impacted PR.
- The workflow for PR will be retriggered.
Cause
Deletion indicator will be set during the technical completion of maintenance order and the same will be unlocked during the revokal.
Resolution
When technical completion is cancelled, the PR items are undeleted. As the change is to undelete the PR item, the workflow is triggered and there is no call to the Workflow restart BADI. Workflow restart BADI is triggered only when a PR field other than the deletion flag is changed e.g. Quantity. Hence, the current behavior is the expected behavior.
Keywords
S4_PC, restart, PR, technical, completion, maintenance, order, deletion, indicator, PR, workflow, BADI,retrigger , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , Problem