The ways of the modern ABAP developer - with Micro...
Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
With SAP S/4HANA 2022 the new ABAP Cloud model was made available for on-prem systems. A previous blog post from boris.gebhardt explains the different availabilities in more details: ABAP Cloud | SAP Blogs
Wander across the worlds of SAP and Microsoft - Journey of an ABAP'er
Based on the ABAP RAP Workshops by andre.fischer we created a completely new workshop with the German Speaking SAP User group (DSAG) in Germany. karl.kesslerharish.bokkasam1andre.fischer did all the ABAP coding and development which enabled us to build several new end-to-end scenarios. badelang did the ABAP SDK for Azure configuration and martin-pankraz and db8ac33b71d34a778adf273b064c4883 were fundamental in create the content and testing everything.
Our scenario
The idea was to send events from the SAP System (once an order is placed in the RAP based Onlineshop) to Azure and trigger an integration in Microsoft Teams. At first it was just a simple notification, but then also actions could be taken: out of the order in the Onlineshop, a purchase requisition was created directly from Teams.
All of this was done in several steps: at first we used an Azure Logic Apps and the SAP ERP Connector to call an RFC -- this was mainly to show the "classic" way of connecting to an SAP System.
Then we used the ABAP SDK for Azure to send the Order-event to Azure Event Grid. Now the Logic App is triggered automatically and we could see basic information about the ordered item in Teams. This was actually done in a very cool way: the ABAP SDK for Azure does not yet follow the new ABAP Cloud model, but thanks to the "wrapping feature" of classic ABAP code it was no problem to run this "legacy" code also in the new ABAP Cloud model!
Finally we added an additional action in the Logic App to call an OData service of the Onlineshop to retrieve additional information and create a purchase requisition directly in the SAP system from Teams.
As a next excercise we brought all the information from the Onlineshop in Excel -- leveraging the Beauty of OData | SAP Blogs.
In the next quest we leveraged the Bot framework composer which allowed us to create a simple bot that would fetch the latest status of a specific order. This bot could be integrated in a website or even Teams.
Finally we looked at the integration in Microsoft 365. As an example we used Microsoft Word and created a taskpane directly in Word which would enable the user to fet the latest information of an order directly into the Word document.