Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

Context Setting

This engagement between SAP and Accenture is part of a program to create a recommended architecture to extend SAP S/4HANA business processes with Microsoft Teams leveraging SAP Business Technology Platform.

This blog post explores a proof of concept where SAP and Accenture came together to rethink enterprise collaboration, driven by digital ecosystems that enable hybrid forms of cooperation and competition. It leverages the Microsoft Teams application integrated with the SAP Business Technology Platform to interact with SAP S/4HANA business processes. In the upcoming sections of the post, we will describe the use case, solution, recommended architecture(s), and a quick demo followed by the instructions to deploy the solution from a GitHub repo.

This work has been jointly defined and executed by the teams of PVN PavanKumar (Chief Expert & Head of APJ, SAP Labs India) and Nipun Dev (Managing Director, SAP Business Group at Accenture).

Thanks to Bhagya Subbareddy (Global Vice President, Strategic Partnerships at SAP) for anchoring this strategic partnership between SAP and Accenture. Special thanks to Uma Anbazhagan from SAP for driving this project by collaborating with all the stakeholders involved in the engagement.

[Updated] Important Links

SAP Discovery Center Mission

SAP-samples GitHub Repository


The digital workplace has become pervasive in our day-to-day lives and hybrid work from anywhere, anytime has become a reality. For many customers, Microsoft Teams is the foundation of this new way of collaborative working.

What if you could integrate SAP business processes through Microsoft Teams using the power of SAP Business Technology Platform to enhance the user experience? Bringing together SAP business processes and analytics into one single pane of glass with Microsoft Teams? And even extend that to other applications? Welcome to the world of collaborative apps!

Business Value

What business value would such an approach bring?

  • Access through a single user experience across the application stack spanning SAP and Microsoft

  • Enable live collaboration internally and with external partners and push the results directly back to the business applications, turning an unstructured process into a structured collaborative experience

  • Capture the user experience and satisfaction and drive process improvement

To which processes could this apply? Any process that requires multiple people to interact, including:

  • Budget forecasting

  • Budget tracking, especially where multiple stakeholders need to collaborate across geographies

  • Cash flow forecasting

  • Supply chain planning and forecasting

  • Talent reviews

While SAP and Microsoft have developed and keep developing out-of-the-box collaborative apps, there is a wide space for us, technologists, to build apps tailored to the client environment.

By tapping into SAP Business Technology Platform, SAP S/4HANA, Microsoft Teams and Microsoft Azure services, we have a toolbox at our disposal to build these types of apps.

SAP and Accenture’s SAP and Microsoft Business Groups came together to build a sample use case anchored around supplier collaboration.

(Supplier Collaboration) Scenario Context

Companies nowadays deal with primary suppliers and secondary suppliers. Due to the supply chain disruptions, companies are facing, the importance of secondary suppliers has increased. Working with these suppliers is an unstructured process where the procurement persona needs to pull together data from multiple sources, make decisions, come to agreements with them and from there feed the decisions into the backend systems.

This solution enables business experts to collaborate with suppliers to update the supplier confirmations on unfulfilled and pending Purchase Orders (PO) transparently and provide flexibility to meet business requirements. It includes processes, decisions, and visibility scenarios, enabling customers to flexibly configure process variants in a low-code/no-code approach.

Use Case

Addressing an end-to-end supply chain ecosystem involves multiple processes. In a procure-to-pay process, multiple personas will be responsible for executing and monitoring the entire process chain. We look at three critical personas for managing PO confirmations in this use case.

The requestor creates a PO with the required line items. The operations manager/purchase manager needs to receive these line items for approval and look for closure of the purchase order. In case of delays, the operations manager will interact with suppliers to discuss the updates on pending confirmations or overdue delivery on the list of line items. This will help all the stakeholders to discuss and view the purchase order details together and complete the confirmation summary.

Solution Overview

Let us look at the user journey of the operations manager/purchase manager persona.

Figure 1 depicts the business process flow.

Figure 1: Business process flow of unfulfilled purchase orders

The requestor creates a Purchase Order(PO) in SAP S/4HANA with a list of line items for a specific supplier. The requestor might also want to check the PO’s status.

For all the pending POs not fulfilled within a given time frame, the Microsoft Teams application will provide the operations manager (SAP business user) with alerts on details of unfulfilled purchase orders due to pending confirmation or overdue delivery from suppliers.

They can interact with a chatbot to query for additional information and use the chatbot to schedule a meeting with the supplier to discuss further.

The confirmation summary on the PO is captured in the meeting and updated in the SAP S/4HANA system.

Solution Architecture

The guiding principles to derive a solution architecture for this use case are based on leveraging the core foundational services of SAP Business Technology Platform and include event-based integration with SAP Event Mesh, SAP Connectivity Service, SAP Private Link Service, SAP Destination Service, SAP Cloud Connector and a Node.js extension application on the SAP Cloud Foundry runtime.

We used Microsoft Azure Active Directory (Azure AD) for user authentication & authorization, Microsoft Teams, and technical services from Microsoft Azure (Bot Service, Enterprise App Registration, Microsoft Graph and Azure Blob Storage).

Principal propagation of the users between Microsoft Azure, SAP BTP and SAP S/4HANA is achieved using the XSUAA configuration and trust configuration between Azure AD and SAP BTP. This will ensure secured authentication and authorization for integration with SAP S/4HANA.

The two diagrams below depict the architectures with SAP Business Technology Platform, Microsoft Azure and SAP S/4HANA (on-premise hosting on hyperscalers and Microsoft Azure-specific).

Figure 2 depicts the high-level solution architecture for a first scenario leveraging SAP Connectivity Service, while figure 3 shows a second scenario using a private link service (SAP Private Link and Azure Private Link).

Scenario 1: High-level architecture using SAP Connectivity Service and SAP Cloud Connector

The architecture below leverages SAP Cloud Connector and SAP Connectivity Service to establish secured communication between SAP BTP and SAP S/4HANA seamlessly.

Figure 2: High-level architecture with SAP S/4HANA on-premise and private cloud

The following steps depict the information flow across systems:

  1. The business user creates and updates the purchase orders.

  2. Based on the status of purchase orders, an event is triggered from SAP S/4HANA, which is published on SAP Event Mesh. This is achieved by PO flexible workflow and background job configured in SAP S/4HANA.

  3. Updates from SAP Event Mesh are sent to the Node.js application running on SAP BTP.

  4. The extension application (Node.js) sends the event to the Microsoft Azure Bot Service.

  5. The end-user in Microsoft Teams receives the event and views the details of the purchase orders and individual line items.

  6. The user selects the line items for which confirmation is required by the supplier.

  7. The extension application queries the line item details and the confirmation summary from SAP S/4HANA via the SAP Destination Service and Cloud Connector.

  8. Based on this information, the SAP business user can schedule a Microsoft Teams meeting with suppliers.

  9. During the meeting, supplier confirmations are updated back in SAP S/4HANA via Microsoft Teams.

Scenario 2: High-level architecture using SAP Private Link Service (SAP S/4HANA on Microsoft Azure - RISE with SAP)

The architecture in Figure 3 leverages the SAP Private Link Service in SAP BTP and Azure Private Link to establish secure communication between SAP BTP and SAP S/4HANA by keeping traffic flow constrained to Microsoft Azure's internal network backbone.

Briefly, the SAP Private Link service is available in SAP BTP with Microsoft Azure as an IaaS provider for establishing a secure connection between selected SAP BTP and Azure services, ensuring that the traffic is routed within the Azure network backbone (i.e., between SAP BTP and Azure VNet).

Figure 3: High-level architecture with SAP S/4HANA on Azure

The steps mentioned in scenario 1 are the same in scenario 2, except for the last step where the SAP Private Link service is used for establishing private connection between SAP BTP and SAP S/4HANA.

You can find more information on both services here:

Read the blog post Extend your Business Processes with the new SAP Private Link service by Harutyun Ter-Minasyan on how to securely consume data from the SAP S/4HANA system.

Key Advantages of This Architecture

Developers implementing similar use cases with Microsoft Teams and SAP BTP will benefit from the following integration capabilities:

  • Access to the Microsoft Teams user experience for SAP business processes.

  • Event-driven integration touch points with SAP S/4HANA with SAP Event Mesh as a central hub. We are also working on integrating SAP Event Mesh and Azure Event Grid. This helps manage events from both SAP and Microsoft systems.

  • Network security-focused design with SAP Private Link specifically for RISE with SAP customers between SAP BTP on Azure (any region) and SAP S/4HANA on Azure.

  • Single sign-on and principal propagation of users from Azure AD to SAP BTP and SAP S/4HANA.

Scenario Setup and Deployment

To get the entire scenario working, there are prerequisites and initial configurations required in SAP Business Technology Platform, Microsoft Azure and SAP S/4HANA.

Please refer to the GitHub repository - Creating collaborative applications using SAP Business Technology Platform and Microsoft Teams for ... which contains code samples and instructions for developing a native Microsoft Teams application and an SAP Business Technology Platform extension application for extending the SAP S/4HANA business process into the Microsoft Azure ecosystem.

The GitHub repository covers:

  • Configurations in Microsoft Azure, SAP BTP and SAP S/4HANA.

  • Extension application development in Node.js. This can be enhanced to incorporate additional validations and business scenarios.

  • How to set up principal propagation for users between the SAP and Microsoft ecosystems.

  • How to setup and leverage the SAP Private Link Service and Azure Private Link Service in case of SAP S/4HANA on Azure.

Scenario Demonstration

You can watch a demo here that showcases collaboration on pending supplier confirmation purchase orders in SAP S/4HANA.

Additional Reading

We recommend checking out the OpenSAP course on building applications on SAP BTP with Microsoft Services

To learn more about SAP Business Technology Platform, see the learning journey on SAP Learning called Discover SAP Business Technology Platform (a great, free introduction to BTP and the Intelligent Enterprise strategy to see what it’s all about) or check out Develop Advanced Extensions with SAP Cloud SDK plus much more free learning at the SAP Learning site.


In Closing

We hope that this blog has given you a brief idea of how to create collaboration scenarios, using SAP BTP to create extensions for SAP Business Processes with Microsoft Azure.

We will publish further blog posts with an updated version of this scenario with additional integrations.

We want to sincerely thank Praveen Kumar Padegal, Lalit Mohan Sharma, Sandeep Sharma and Mahesh Palavalli from SAP for building the solution and curating the GitHub repository content.

If you want to find out more or discuss how to create collaborative applications for your organization, please get in touch with PVN PavanKumar.
1 Comment