A flexible workflow for procurement contracts: how to easily set that up in S4/HANA?
Welcome to my new blog, where you will learn to set up a flexible workflow for procurement contract in S4/HANA.
For those of you who wonder what is so important about that, i already inform you that the flexible workflow for procurement contracts will provide you, being the key decision maker, the ability to exercise full control over the work being performed, while potential risks related thereto are being mitigated.
Importantly, I will share that an adequately designed approval workflow has several benefits, such as : reducing the workload, enabling to resolve bottlenecks in crucial procedures and improving collaboration and productivity. If you are intrigued, you should definitely keep reading.
Before i go on i must mention that it is essential for you as the reader to understand how to configure this flexible workflow in S/4HANA effectively. I have made this as easy as possible for you by drafting the procedure to follow here below and by adding the images in order to facilitate your understanding.
My blog hereunder will basically teach you:
A. how to customize the flexible workflow for purchasing contracts in the SAP GUI;
B. how to define approval rules in the ‘Manage workflows for purchase contracts’ app, and
C. how to approve or reject a purchasing contract via the My Inbox app.
A. Customize the workflow steps in SAP GUI
The first action you should take is you should configure the flexible workflow in the SAP GUI, as described hereunder in 7 steps:
- In the transaction SWU3, all customization steps listed should have a green checkmark. But if they don’t, simply click on ‘Redo Automatic Customizing’ or select one of the activities and click on ‘Execute Activity’ to configure the required settings.
2. Next, ensure that the workflow ‘WS00800304’ is active:
SPRO>SAP NetWeaver>Application Server>Business Management>SAP Business Workflow> Flexible Workflow>Scenario Activation
- Then, configure the decision buttons for the My Inbox app:
- In this step you should activate the flexible workflow for purchase contract based on the document type:
SPRO>Material Management>Purchasing>Contract>Activate the flexible workflow for contract
- Make sure that the My Inbox app is available and set up for your approvers by defining the following parameter values for the task ID TS00800578 / workflow scenario WS00800304:
- Generalize tasks and activate event type linkage for the flexible workflow purchase contract Transaction SWETYPV:
- Last but not least,register the following OData service in the flexible workflow Transaction /n/IWFND/MAINT_SERVICE :
B. Define the approval rules in the app ‘Manage workflows for purchase contracts’
Once the set-up in the SAP GUI is completed, you can define the approval flows in the App ‘Manage Workflows for Purchase Contracts’. The App will show you all the applicable workflows for purchase contract on the screen and by clicking on ‘Add’ you can create a new workflow:
Header and Properties
By clicking on the header you can add a name, whereas by clicking on properties you can add a validity period to the workflow.
Remember, In a workflow, you can define conditions by clicking on the ‘Alternative Conditions’ button. As shown below, the workflow applies to purchasing contracts with ‘US01’ as a company code, and if the target value of the purchasing contract is higher than USD 50,000.
However, do not forget that a few preconditions may be applicable and you may be required to select a precondition and consequently to adapt some values in parallel.
Next, you can add some different steps by pressing the ‘Add’ button:
In this section, you can add a step name and choose whether you want the release of the purchase contract to be performed automatically or you can define the recipient’s functionality for the release of the purchase contract.
You can also assign users to workflow steps, based on the user or the role in the organization.
- If you select a user in the ‘Assignment By’ field, you can choose one or several users from the user field selection.
- If you select a role in the ‘Assignment By’ field, you can choose from various options such as ‘Manager of last ’ or ‘Person responsible for cost center with highest debit’. However, you should know that for certain roles, it is necessary to define the team functions using the application Manage Teams and Responsibilities.
If the approver decides to reject a work item, you can define what would be the next action for the workflow, e.g. restart or cancel the workflow. Please note that by default, the workflow is canceled when an exception occurs in its step sequence.
After saving the workflow, you should make sure that its status is active:
C. Approve or reject a purchase contract via the App ‘My Inbox’
As a final step, the approver will receive the purchase contract that has to be approved or rejected in the My Inbox app.
You may find more information about the My Inbox app in the SAP reference library .
I hope you were able to complete all the steps described above.
If you require more information, do not hesitate to reach out to me.
If you find the content useful do comment here below, I am always happy to read you feedback and answer your questions.
To stay updated, I recommend you to follow my profile and the following topic pages:
– Read MM Purchasing blog posts
– Ask questions about MM Purchasing
Stay safe and keep up the good work!
Thanks for this informative blog, I realised that its not possible to see the flexible workflow status on contracts like how its visible on the PR and PO, one needs to open the contract in the fiori app to check the status!
I managed to configure my workflow, the workitem reached my inbox, but its all blank, no content, however I do get the decision buttons, I am able to approve or reject the contract.
I dont think this would be by design, not sure what is missing in my setup.
This was a security roles issue, its working fine, only thing which is odd is, it does not allow you to edit the contract if its in approval, while for PR or PO you can edit and pull back the document.
I am facing same issue. Can you please guide me step by step how to resolve this above issue?