ODATA, ABAP and Amazon Alexa integration
Hey SAP community,
With this blog post we would like to share our experience with SAP and Amazon Alexa Integration. We achieved this by automating the process of contract creation in Agricultural Contract Management. In this blog we would be discussing the steps needed in order to create a simple connection between the SAP system and Amazon Alexa.
To achieve an integration between SAP and Amazon Alexa in order to leverage the voice command abilities so as to automate the processes in SAP system.
This application requires the following components.
- SAP Cloud Platform.
- SAP Cloud Connector.
- Service odata provisioning
- Service odata from ERP side.
- Amazon Alexa Skill configuration.
- Amazon Lambda functions.
Basic knowledge of java script programming is required, specifically in Node js, also in ABAP language, odata services, in addition to the management of the SAP and Amazon cloud platforms.
Steps performed are as follows:
- Create oData Service (transaction – SEGW)
- Cloud Connector and Cloud Platform configuration and connectionCreate an account on Cloud Connector and link the System destinationCreate SAP cloud platform account and link with above cloud connector
Create the destination of the back-end system, where oData Service is created
- oData Service and Destination in oData ProvisioningEnabled oData Provisioning and add the system destinationRegister the oData Service from the destination system, which needs to be triggerd
Go to the service and check the service URL
- Create Amazon Alexa Skill Set – https://developer.amazon.com/alexa, after creating trial accountIn Alexa skill set, we define the utterances and the parameters which would be taken as importing
- Amazon Lambda function – https://aws.amazon.comLink the Alexa skill Sets created in previous stepPass the URL of oData Service and in authorization set the basic authentication, which is a base64 code of user and password combination
- Calling oData from above Lambda Function, using the defined utterances from Skill set, we can return the desired output with the result details
We were able to achieve the following through the process.
Increased User Accessibility
- Time Saving and increased User Accessibility in Customer Processes because of simpler interactions
- Extension of Voice Skills to create end to end processes which also enables a person with disabilities
Use of voice skills for E2E process in a SAP product
- Integration of Voice Based commands with SAP Applications
This blog post has been created with support by Rajni Yadav & Sakshi Goel
Hi Ayush , nice article. Thank you for sharing. Can you please share the complete code using GitHub.