Symptom
why is Creator of the Purchase order allowed to approve when PO is edited by some other person, despite 'exclude purchase order creator' is marked in the workflow.
Who is considered as creator of PO while determining the recipient to be excluded when 'exclude purchase order creator' is marked in the workflow.
Environment
-
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Workflow has recipients "A, B, C and D" to approve the PO
- In step details of the workflow check mark the ' exclude purchase order creator'
- Create PO with user "A" 's user ID so he becomes the creator of the PO(as per above check marked field he should not be able to approve)
- Send it for approval and now withdraw or edit the rejected PO using user ID of B and send for approval
- But user "A" is able to approve the PO
Cause
The issue arises due to the system behavior where the last user who changes the PO and submits it for approval is considered as the creator of the PO. Thus, this last user is not allowed to approve, but the initial creator is allowed to approve.
Resolution
- Identify that the system considers the last user who changes the PO and submits it for approval as the creator of the PO.
- Alternatively, reach out to developers to use the Agent determination BAdi. where they can make the system skip the approver based on the initial creator of the PO.
Keywords
SAP S/4HANA Cloud Public Edition, Purchase Order, Workflow, Approval, Exclude Purchase Order Creator, Agent determination BAdi. , KBA , MM-FIO-PUR-PO-WFL-CL , Purchase Order Workflow (Public Cloud) , Problem