Technical Articles
YES!! Customer CAN create CUSTOM Flexible Workflow for specific requirement.
Context:
As we already know SAP came up with new predefined Flexible workflow template in S4Hana which is completely different from normal ECC workflow. From Flexible Workflow customer can directly assign work dynamically based on condition to different layer of persons or do different activity. Customer will get high benefit using Flexible Workflow in terms of save Time for determination of approver and also in terms of automation of their business process or easily assign work overload to others .
Development:
In this blog I am showing the simple custom demonstration which will block Sales order after change without any printing.
There have a custom flexible workflow developed .
But to developed a Flexible workflow lots of custom objects need to developed including cross client objects. Snapshots of some objects summary showing below.
Configuration:
Now Configure the flexible workflow like below. Agent will be determine based on Badi.
In the Badi, users are populated for approval.
Business Process:
NOW start the Sales order change or create process.
Now Approver will get their workitem in their Fiori inbox for approval or rejection.
After approval it is visible that, Delivery Block set for No Printing. You have done .
Conclusion:
Though in this document simple process shown, but the developments need lots of efforts including cross system development. Though SAP might come up with new Flexible workflow scenario every new release. Customer can easily configure it as per their requirement to feel the power of dynamic automation . So it is always desirable to use standard scenario .
Thanks Anjan for the article - we recently implemented several flexible workflows in the Purchasing area but had a few concerns. If you have solved for these please share:
Thank you!
Hi Jim,
Good Questions. I know you're not alone with questions like this so here are some answers.
Best regards,
Alan
Hi Jim. I am new to Flexible Workflows and am faced with the same issue (#1). Some POs require 5 approvals, some require 10.
Did you manage to resolve it? I read Alan's response below but don't quite understand what he is proposing. He suggested 10 "small simple workflows"?
thank you.
Thanks for the blog Anjan 🙂
It's great to hear the perspective from consultant's point of view. Flexible workflow is progressing nicely in terms of adoption by the applications in S/4 and functionality (https://blogs.sap.com/2019/05/06/new-to-workflow-in-sap-s4hana-release-1905) so I really appreciate the effort you put into researching the bespoke usage. It's worth pointing out that in SAP S/4, sales orders are already enabled for flexible workflow so the customer can configure their own workflows without the need for any development.
Thanks Alan for your appreciation :). At the time of writing this blog this scenario not presents in 1809 on premise edition in my system. Thanks SAP for bringing this scenario for customers. This blog is for showing we can create custom flexible workflow if any scenario not available in standard.
Thanks again.
Hi Anjan,
I'm new to S/4 HANA, Can we extend a custom workflow from ECC6.0 to S/4 HANA 1905. Please advise
Thank You
Hi,
Where can I see what BADI is used in what flexible workflow?
e.g. the badi used in PR or PO approvals
Joachim
Can you please let us where these PO workflow data are stored in S/4 Table.. We want to send An exception is reported/triggered if changes are made to PO approval authority thresholds.
Hi Anjan,
Nice Blog.
I am in search of any specific BADI for agent determination for SAP Sales (SD) flexi workflow or any enhancement you can suggest for agent determination /maintain
Hello,
I am looking for a BADI for agent determination regarding my SAP SD Credit memo Flexible workflow.
Did you find any BADI?
Thanks in advance,
Are there ways to extend the preconditions with document custom fields check ?
Good morning Anjan Paul
I made a copy of the standard task WS02000471 Release of Purchase Requistion Item, add a precondition "Created by" when doing the respective tests, it shows me this message in the purchase request in the Approval Details tab.
"The steps cannot be loaded. Please try again later. If the problem persists, contact support."
Note: in the My inbox app you can see the purchase request that must be authorized
I remain attentive to your comments
Hello,
How can we extend the workflow start condition ? Let's say we want to trigger approval workflow if a specific Advanced Variant Characteristic value is chosen. How can we achieve this ?
Hi Anjan,
Can you share necessary steps for creating custom flexible workflow, as I have requirement to create custom workflow in tax and revenue management, where standard flexible workflow is not available.
Regards,
K S