You are on page 1of 12

PUBLIC

2021-06-25

Operational Purchaser Chatbot for SAP S/4HANA


© 2021 SAP SE or an SAP affiliate company. All rights reserved.

THE BEST RUN


Content

1 Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

3 Importing the Bot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

4 Configuring the Bot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

5 Building your own Chatbots. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

6 Feedback. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Operational Purchaser Chatbot for SAP S/4HANA


2 PUBLIC Content
1 Scope

This section gives a high-level overview of the Operational Purchaser chatbot, including Microsoft Teams
integration.

The Operational Purchaser Chatbot for SAP S/4HANA is a sample chatbot created by SAP. It gives you a taste
of what you can do if you create your own chatbots for your SAP S/4HANA system using the SAP
Conversational AI service. This example bot is intended for users with the Operational Purchaser role, and
offers the following features:

● View details of purchase orders


You can ask the chatbot to show you information about purchase orders without you having to navigate to
the Manage Purchase Orders app. You can ask for details of, for example, all purchase orders from a
particular supplier, all overdue POs, and so on (you'll be able to see details of what the bot recognizes when
you look at the structure of the bot).
● Make calls using Microsoft Teams
You can use the chatbot as a convenient way to initiate an ad-hoc collaboration via Microsoft Teams (in this
initial version, this is done using deep links). So you can, for example, reach out to a supplier via the contact
data associated with them.
● Navigate to Fiori apps
The chatbot also enables you to navigate to Fiori apps, for example to show lists of purchase orders,
supplier information, and so on.

Operational Purchaser Chatbot for SAP S/4HANA


Scope PUBLIC 3
2 Prerequisites

The table below shows what you need to have in place before you can import and configure the bot:

Prerequisite Notes

SAP S/4HANA You need:

● SAP S/4HANA 1909 or higher.

SAP Business Technology Platform with SAP Conversational For details, see the documentation under SAP Conversa­
AI subscription
tional AI - Implement.

You need:

● An SAP Business Technology Platform (BTP) Cloud


Foundry global account and subaccount.
● SAP Conversational AI Enterprise Edition.
● Configuration of the SAP Conversational AI Web Client
(SAP S/4HANA Fiori Launchpad plugin).
● Familiarity with the Security Guide.
● A principal propagation destination via SAP Cloud Con­
nector to SAP S/4HANA client.
● Users in your SAP BTP account that are assigned to
SAP Conversational AI roles.

SAP Cloud Identity Services (IAS) You need:

● An SAP IAS tenant optionally configured as a proxy to


customer identity provider.
● SAML 2.0 configuration in S/4HANA client and BTP
subaccount for single sign-on.

SAP Cloud Connector

Microsoft Teams To enable communication with external suppliers via Micro­


soft Teams, both the purchaser side and the supplier side
need:

● Microsoft 365 Business accounts and users.


● Microsoft Teams set up to allow external access
(https://docs.microsoft.com/en-us/microsoftteams/
manage-external-access ).

Operational Purchaser Chatbot for SAP S/4HANA


4 PUBLIC Prerequisites
Architecture Details

Operational Purchaser Chatbot for SAP S/4HANA


Prerequisites PUBLIC 5
3 Importing the Bot

In order to use the bot, you need to download the zip archive from the SCN repository and import it into the
SAP Conversational AI tenant.

See SAP Conversational AI documentation for Export and Import your Bots across Tenants.

After importing the bot, ownership may be transferred to an existing organization. When you transfer the bot,
an approval email is sent to an SAP Conversational AI developer user who has an administrator role in the
target organization. The bot will be available after the transfer is approved.

Operational Purchaser Chatbot for SAP S/4HANA


6 PUBLIC Importing the Bot
4 Configuring the Bot

 Disclaimer

Note that the imported chatbot is an example. It is not intended for productive use. The example bot is only
intended to better explain and visualize the syntax and phrasing rules. SAP does not guarantee the
correctness and completeness of the example code. SAP shall not be liable for errors or damages caused
by the use of example code unless damages have been caused by SAP's gross negligence or willful
misconduct.

The OData Services used in the bot to access data from the SAP S/4HANA client are not released as public
and stable APIs. It is assumed that customer-based bots use their own customer-specific OData Services.

You need to take the following steps:

● Configure an environment for the bot, and set the destination for the S4 OData system alias that is defined
in the bot. This alias needs to be associated with a destination in the SAP BTP subaccount. The destination
should use principal propagation via SAP Cloud Connector so that it can call OData services on behalf of an
authenticated business user.
See System Alias Configuration and Versions and Environments.
● Create a channel for the SAP Conversational AI Web Client.
See How to Use the Web Client
● Configure the SAP Conversational AI Web Client as a plugin for the SAP S/4HANA Fiori Launchpad.
See Configuring the ABAP Front-End Server, and optionally Enabling Role Based Access to Bots.
● Assign the business roles (business role template SAP_BR_PURCHASER,
SAP_BR_BUPA_MASTER_SPECIALIST) to end users.

Operational Purchaser Chatbot for SAP S/4HANA


Configuring the Bot PUBLIC 7
5 Building your own Chatbots

If you're new to SAP Conversational AI, you can find everything you need to know, including a range of tutorials,
here: SAP Conversational AI.

A good starting point is: SAP Conversational AI Basics

Operational Purchaser Chatbot for SAP S/4HANA


8 PUBLIC Building your own Chatbots
6 Feedback

Feedback may be provided using SAP Customer Influence Session: https://influence.sap.com/sap/ino/#/


campaign/1177

Please tag your improvement request with Digital Assistant for S/4HANA

Operational Purchaser Chatbot for SAP S/4HANA


Feedback PUBLIC 9
Important Disclaimers and Legal Information

Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:

● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:

● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.

● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.

Videos Hosted on External Platforms


Some videos may point to third-party video hosting platforms. SAP cannot guarantee the future availability of videos stored on these platforms. Furthermore, any
advertisements or other content hosted on these platforms (for example, suggested videos or by navigating to other videos hosted on the same site), are not within
the control or responsibility of SAP.

Beta and Other Experimental Features


Experimental features are not part of the officially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by
SAP at any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use
the experimental features in a live operating environment or with data that has not been sufficiently backed up.
The purpose of experimental features is to get feedback early on, allowing customers and partners to influence the future product accordingly. By providing your
feedback (e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.

Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.

Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.

Operational Purchaser Chatbot for SAP S/4HANA


10 PUBLIC Important Disclaimers and Legal Information
Operational Purchaser Chatbot for SAP S/4HANA
Important Disclaimers and Legal Information PUBLIC 11
www.sap.com/contactsap

© 2021 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form


or for any purpose without the express permission of SAP SE or an SAP
affiliate company. The information contained herein may be changed
without prior notice.

Some software products marketed by SAP SE and its distributors


contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for


informational purposes only, without representation or warranty of any
kind, and SAP or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP or
SAP affiliate company products and services are those that are set forth
in the express warranty statements accompanying such products and
services, if any. Nothing herein should be construed as constituting an
additional warranty.

SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.

Please see https://www.sap.com/about/legal/trademark.html for


additional trademark information and notices.

THE BEST RUN

You might also like