Symptom
The system restarts the approval process if the changes to the Purchase Requisitions are critical. E.g. Assigning 'Source of Supply' to the Purchase Requisition via app 'Process Purchase Requisitions V2' re-triggers workflow.
Environment
SAP S/4HANA Cloud Public Edition
Cause
When Source of Supply is assigned, following fields are changed/affected.
• Purchasing Organization
• Purchasing Info Record Number
• Principal Purchase Agreement Number
• Principal Purchase Agreement Item Number
Resolution
Uncheck the following attributes in the respective columns "SS Proc."/"Prf Proc." for NOT re-starting the workflow.
- Purchasing Organization
- Purchasing Info Record Number
- Principal Purchase Agreement Number
- Principal Purchase Agreement Item Number
Additionally, the users can now decide which change is critical for their business process and should influence the restart of Purchase Requisitions approval. This is possible through the following two options:
- Override the default conditions that restart the approval workflow in the purchase requisitions using the Self-Service Configuration UI Manage Conditions to Restart Flexible Workflow. In Manage Conditions to Restart Flexible Workflow configuration, available with the Manage your Solution app, restart of Purchase Requisitions approval can be stopped for specific attributes.
Column "SS Proc." is applicable for Purchase Requisitions created from the Self Service Purchase Requisitions App - My Purchase Requisitions- New. By default, the attributes relevant for self-service procurement are selected and editable. The attributes which are not editable indicates that they are not applicable for Self-Service Procurement. These are Purchase Requisitions with creation indicator, ESTKZ = 'S' i.e., Self-Service Procurement
Column "Prf. Proc." is for Purchaser role is applicable for the Purchase Requisitions created from the Create Purchase Requisition Advanced and Manage Purchase Requisition Professional applications. By default, the attributes relevant for Professional Procurement are selected and editable. The attributes which are not editable indicates that they are not applicable for Professional Procurement. These are Purchase Requisitions with creation indicator, ESTKZ = 'R' i.e., Realtime (manual).
Note that if the PR type is Material requirements planning (Creation indicator/ESTKZ = 'B'), Production Order (Creation Indicator/ESTKZ = 'F') and irrespective of NB or NBS this SSC UI configuration will not be considered for the workflow restart.
Only PR types Self service procurement and Professional Purchase requisitions can be controlled with SSC UI configuration. It is possible to deselect the attributes which on change should not restart the approval workflow.
Example:
There is no need to restart the approval of Self-Service Purchase Requisitions when the Delivery date changes, so deselect the 'SS Proc' column of the attribute 'Delivery Date'.
2. Define own conditions to restart the approval workflow in purchase requisitions Business Add-In (BAdI) Define Conditions to Restart Flexible Workflow.
Additionally, BAdI Define Conditions to Restart Flexible Workflow ( MM_PUR_S4_PR_WFL_RESTART) can be used to further control the restart approval workflow based on attribute values. Create an implementation in Define Conditions to Restart Flexible Workflow using the Custom Fields and Logic app. An example implementation is provided for reference with the BAdI. This BAdI is can be used to influence the approval restart of Purchase requisitions with any creation indicator. Custom fields are not currently supported for this BAdI.
Example
There is no need to restart the approval of Purchase Requisitions for a particular plant, assume plant 'ABCD'. The following code snippet can be implemented using the Custom Fields and Logic app.
IF PURCHASEREQITEMSCURR-PLANT = 'ABCD'. "Purchase requisition plant
CLEAR RESTARTWORKFLOW.
ENDIF.
See Also
KBA 2846174 to know more about the BADI to Define Conditions to Restart Flexible Workflow for Purchase Requisitions.
Keywords
S/4HANA Cloud, Cloud, Purchase Requisition, Restart workflow, Re-trigger workflow, Advanced, Info Record, Purchase Organization. SOS, S4_IC, S4HC, S4_PC, X4BC, Badi , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , MM-FIO-PUR-REQ , Fiori UI for Purchase Requisitions , Problem