
Dear community,
Today I am going to take you on a ride with me to enjoy a fully blown prototype to make real-time sales incentive adjustments with a low-code solution. Many routes lead to the city of Rome but for my implementation I chose to do it with the beloved Business Rules capability of SAP Build Process Automation service (formerly SCP Business Rule service in SAP Workflow Management), the demo SAP S4 cloud system ES5 and Microsoft Teams. Exciting, isn’t it? 😉
See below the SAP on Azure Youtube session on the topic.
With increasing need to influence business in near-real time, comes the desire to do it from one pane instead of many different ones. Even more pressing to do that without approaching a developer to implement your changes over the course of multiple days or even weeks.
For many knowledge-workers around the globe their daily routine starts somewhere in the M365 portfolio with Outlook or Teams for instances and is revisited multiple times throughout the day. Me personally I deactivated all notifications to get anything done at all. ?
However, surfacing some of your SAP processes on collaboration products like Teams is a logical step to become more streamlined.
The employees who perform the integration with low-code/no-code solutions are often called citizen developers and play a fundamental part in lifting the burden from IT to provide custom developments and unleash the power of the functional departments.
Fig.1 Overview of integration architecture
Remember, all above software integration components are implemented using a low-code solution, which is feasible for a citizen developer. So far so good. I am just checking, because I normally throw code at the community ? but no worries the snippets, templates etc. will be provided on GitHub. Back to the process…
The process is kicked off by a sales agent, who is talking to his customer and providing some details to a Microsoft power app. We will walk along the architecture outlined in figure 1 "bubble" by "bubble". So the following numbers represent the steps from the architecture overview.
Fig.2 PowerApp in Teams for Seller with SAP ES5 and SCP integration
Fig.3 Decision Table with bonus threshold on SCP Business Rules Service
Fig.4 Screenshot from send quote section of PowerApp
Fig.5 Screenshot from quote e-mail on Outlook
Fig.6 Screenshot of collapsed Power Automate Flow
The managers receive an adaptive card with the deal size info and two options to take immediate action. You will see some details on this in step 7.
Fig.7 Screenshot of uncollapsed condition steps
Fig.8 Screenshot from flow step to create sales order in ES5
Fig.9 Screenshot from ES5 with sales order initiated from PowerApp
Did you spot the difference in price on the PowerApp and the shopping cart on ES5? We created the sales order on the power app in Euros and send that to ES5.
Fig.10 Screenshot from product overview on ES5
The amount was converted on the shopping cart, because it is setup to be processed in USD. So even the conversion happened ?
Now to the next section. Let’s revisit where we are in the process (see bubble number 7):
Fig.11 architecture overview with highlighted step 7
Fig.12 Screenshot of adaptive card in sales manager Teams channel
Fig.13 Screenshot of flow section for SCP Business Rules Service update
With the update rule flow (see bottom left on fig.13) the decision table on SCP Business Rules gets updated:
Fig.14 Screenshot from updated SCP Business Rules Service
Fig.15 Screenshot from Seller channel with live update notice for server product
When the seller goes back to the PowerApp the updated bonus threshold will be reflected immediately. Remember the red star icon, which indicated the missed bonus eligibility of the deal amount?
Fig.16 Screenshot of updated PowerApp deal indicator (note green star icon)
That’s it. Now you have a fully working prototype that allows your sales management to influence sales processes from within Teams. The sellers can also interact with the PowerApp from the same location. The whole experience is straight forward because of the adaptive cards with simple inputs and buttons.
To make this scenario more production ready you would need to fine-tune a couple of things:
Hopefully, I got your thinking-machine up to speed with ideas on what systems to connect for your own processes ?
Aaaaand done! I showed you today that citizen developers have the means to create interesting business processes or process enablers without heavy coding. We did that with the SAP Cloud Platform Business Rules Service and Microsoft Power Platform. The adaptive card designer speeds up the design of the UIs used in Teams and closes the cycle of efforts for the citizen developer.
All above was created using no-code/low-code software over the course of hours, not days or weeks. It could become even easier once we create a connector for the SCP services to avoid the OAuth authorization flows.
#KUDOS to @michael Kaufmann and @Mustafa Kurtulus for their invaluable collaboration.
Here is another PowerApp example with a custom connector for SAP ES5 to work with the products from my colleague Holger Bruchelt:
https://github.com/microsoft/PowerPlatformConnectors/tree/master/custom-connectors/SAP-ODATA-Demo
https://www.youtube.com/watch?v=_Ce5uvcoJv4
Find my GitHub repos with the materials to replicate yourself here: https://github.com/MartinPankraz/PowerApp-SCP-BizzRules-Prototype
Ready to enrich your business process with SAP Cloud Platform and Power Platform? I’d like to hear from you how you make sure that your workers leverage the right tools for the right task.
As always feel free to leave or ask lots of follow-up questions.
Best Regards
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |