Professional Documents
Culture Documents
The flexible workflow allows you to define approval processes for documents in
Sourcing and Procurement according to your requirements and has been introduced in SAP
S/4HANA as a set of enhancements for the SAP Business Workflow. By using the flexible
workflow, you can simplify your configuration.
SAP Flexible workflow is a general function that aims to simplify workflow configurations, it
allows you to create condition-based workflows for approval processes and it's also used for
approving procurement documents, such as purchase requisitions, purchase orders, or
supplier invoices.
As above shown we can Manage the Workflow for all Purchasing document like PR, RFQ,
PO, Agreement etc.
Change Characteristics Value Possible using T-Code:- CL24N No possibility to edit an existing
active version of FW. The only
way is to copy existing scenario
& create new one.
Authorization Control Using standard authorization No authorization object control.
object in roles. The document will flow directly
to inbox of authorized person
with correct agent
determination.
Step 1:
Flexible Workflow Scenario Activation.
Path to Activate Flexible Workflow Scenario Activation: -
SPRO->IMG->Materials Management->Purchasing->Purchase Requisition->Flexible
Workflow for Purchase Requisitions->Scenario Activation
As above mention we have all the Scenario ID as per Workflow name & Task. This are all the
standard ID & Common for all scenario activation.
For Purchase Requisition we have two Scenario ID one for Overall Release PR & One for Item
Level Release PR.
Here we are Activating Overall Release ID I.e. WS02000458
Just follow the above path double click on Scenario Activation below screen opens.
Enter Scenario ID as per requirement & Tick on Active. Save the Data.
Step 3:
Maintain Task Name & Decision Point.
Path to Maintain Task Name & Decision Point.
SPRO->IMG-> ABAP Platform-> SAP Gateway Service Enablement-> Content-> Workflow
Settings-> Maintain Task Names and Decision Options
By Double click on this below screen opens.
This Work Flow ID & Step ID will be maintained by Basis Consultant only. This is for My Inbox
in screen.
They know this Step ID & All data related to it.
Just Select it & Click on Decision Key below screen opens.
Step 4:
Client Dependent Configuration.
Path to Client Dependent Configuration.
SPRO->IMG-> Materials Management-> Purchasing-> Purchase Requisition-> Flexible
Workflow for Purchase Requisitions-> Client-Dependent Configuration
By double click on this below screen opens.
This is also setting for My Inbox it is also maintain by Basis Team Only.
Click on MM
Step 6:
Activate Push Notification.
Activate Push Notification by using T-Code: - SWF_PUSH_NOTIF_CUST
Enter T-Code in Command field below screen opens.
Find here Task ID as above shown. Check the Push Notification Activation as above for your
Task ID.
Click on Manage Workflow for Purchase Requisition Fiori App. Below screen opens.
This Screen opens only when we Activate Scenario. If this screen is blank, then something
wrong in backend setting.
Click on Create. Below screen opens.
Here this are the Standard Start Condition as per requirement you can add it.
Here we are adding start condition i.e. Document Type of PR. I.e. GNB here.
As above shown you give Start Condition as per requirement to PR. So the Workflow trigger
on this basis only.
Now Set the Steps for Workflow for Release PR
Here if we select the Recipients by Roles Then Role Determine by the BADI.
For this condition we need help of ABAP Consultant to Maintain Custom Table for this.
i.e After creation of PR within 2 day it will be release by user if not then it will show the overdeu at
user level.
Then Click on Create. Our First Step Condition Created as below shown.
Here we have mainatin two Step for this Overall PR Release. Then click on Save.
Then our workflow created succcesfully.
Then click on Activate.
As above shown Approval Process (Flexible Workflow) will be applied as per configuration.
After Creation of PR it will automatically goes to Authorized Person ID. He will get
Notification for Approval process as per Configuration Settings.
Once he Approve PR then again user get Notification of released PR. So he will Process the
PR & Convert the PO.
As we are done Flexible Workflow for PR in that way we can do this for all Purchasing
Document by following same steps only the change if Workflow ID.