Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
Showing results for 
Search instead for 
Did you mean: 
Hello everyone,

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:

  1. 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

  1. Then, configure the decision buttons for the My Inbox app:

SPRO>SAP NetWeaver>SAP Gateway Service Enablement>Content>Workflow Settings> Maintain Task Names and Decision Options

  1. 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

  1. 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:

SPRO>Materials Management>Purchasing>Contract>Flexible Workflow for Purchase Contracts>Client-Dependent Configuration

  1. Generalize tasks and activate event type linkage for the flexible workflow purchase contract Transaction SWETYPV:

  1. 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.

Start conditions

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.


Step sequence

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.

Exception handling

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 cukiori and the following topic pages:

- Read MM Purchasing blog posts 

 - Ask questions about MM Purchasing

Stay safe and keep up the good work!