Symptom
- In SAP S/4HANA Cloud Public Edition, a problem arises when trying to restart the purchase requisition workflow.
- The workflow is restarted even when the purchase requisition item is deleted, which should not be the case.
- The issue occurs when the price of the purchase requisition is lower than before due to the deletion of an item.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a Purchase Requisition in SAP S/4HANA Cloud Public Edition.
- Delete an item from the Purchase Requisition.
- Observe that the workflow is restarted, even though the price of the Purchase Requisition is lower than before.
Resolution
-
Problem: The workflow restarts if the PR isn't approved yet, even if you just change the price or delete it.
-
Why it happens: The system cancels the old workflow and starts a new one because the PR isn't approved yet. It wants to make sure all changes are considered before approval.
-
What should happen after approval: Once the PR is approved, changes like price updates or deletions shouldn't restart the workflow.
- Adjust the BADI logic: Make sure that once the PR is approved, changes like price or deletion don't restart the workflow.
- Check the workflow settings: Configure the system to ignore these changes after approval and avoid restarting the workflow.
This way, the workflow only restarts while the PR is waiting for approval, not after it's approved.
Keywords
SAP S/4HANA Cloud Public Edition, Purchase Requisition, Workflow Restart, Item Deletion, Lower Price , KBA , MM-FIO-PUR-REL-2CL , Fiori UI for Purchasing Approval (Public Cloud) , Problem