on 09-03-2020 8:58 AM
Dear all,
Is there any possibility to use the teams defined via the Manage Teams and Responsibilities app for the agent determination in a SAP Business Workflow (classic workflow)?
I am looking forward to receiving your comments.
Best regards,
Holger
Here's the solution that I implemented:
The first part is as 3a9e4ce873a94034b33dc62b0ce600ee is indicating (rf. below):
But then it's not necessary to call the API Responsibility Management Teams - Read (this should work, too) because all the information is in the CDS views which are in the package CA_RSM_TEAMS_DDIC (you can for example check the select statements that are used in the class CL_RSM_BADI_IMPL_TEAM). That's the way how the SAP standard retrieves the agents in the flexible workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Dominik,
Thanks a lot for your comment. I really appreciate your efforts.
But regarding the SAP help the Teams and Responsibilities app can only be used for the flexible workflow WS78500050 :
"Using teams and functions to define approvers: This option applies only to workflow template WS74300050." (https://help.sap.com/viewer/ac319d8fa4ea4624b40a58d23e3c4627/1909.002/en-US/27cc6156bcb6d154e10000000a441470.html)
Best regards,
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello holger.roth
I've done some digging around your challenge. It looks like you can consume teams and responsibilities with R type agent determination rules.
As an example have a look at standard Approval Processes for Bank Account Management scenario. It's using workflow templates WS78500050 and WS74300043. The scenario allows to define agents with teams and responsibilities Using Teams and Functions to Define Approvers. When you investigate the templates and their steps you'll see that agent determination is through R type rules.
I've not had a chance to test that in practice. Those are my conclusions of the SAP Help documentation and the templates overview.
HTH, BR
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello holger.roth
I'm not sure if settings in app Manage Teams and Responsibilities can be used directly in classic workflow scenarios. However you can implement your own agent determination rule in classic workflow. The rule can call a custom function module where you can read teams and responsibilities settings and use them any way you want.
See SAP Help on defining an agent determination rule with a function module: Defining Rules Using Function to Be Executed
SAP API Hub lists two APIs to read teams and responsibilities that might help you implementing own agent determination rule:
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dominik,
Thanks a lot for your answer. I agree that your suggestion would lead to the correct result.
But regarding Alan's blog (https://blogs.sap.com/2019/07/03/migrating-from-sap-business-workflow-to-flexible-workflow/) I got the impression that there should be a solution which is closer to the SAP standard (perhaps I am wrong) :
"There is a new app in S/4HANA to maintain the grouping and hierarchy assignments of users to logical objects such as plants or regions. This maintenance is performed using the Fiori Teams and Responsibilities App, which is a simpler way of maintaining small organizational responsibilities in the Fiori UI. Both classic workflows and flexible workflows can consume whatever is maintained in this app."
Best regards,
Holger
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.