Extend SAP S/4HANA Cloud on the SAP Business Technology Platform using state of the art methodologies and technologies. Put an event-driven architecture into action and use the Cloud Application Programming Model (CAP) building on S/4 events and SAP Event Mesh as event broker.
The main intent of this scenario is to complement an existing business process in an SAP solution, i.e. enhancing SAP S/4HANA Cloud with additional business process steps. This involves adding major logic and/or additional data and goes beyond simple UI changes.
This scenario showcases:
- Building a side-by-side extension to SAP S/4HANA Cloud
- Setting up Eventing and consuming events from SAP S/4HANA Cloud via SAP Event Mesh
- Consuming data via API calls from SAP S/4HANA Cloud
- Developing an application on SAP Business Technology Platform using the SAP Cloud Application Programming Model(CAP)
- Implementing a SAP Fiori Elements UI
In specific focus regions, we would like to follow up with newly created customers or existing customers that have had their data updated in our SAP S/4HANA Cloud backend. External call center employees should do this follow up for us by contacting relevant customers by phone. At the same time, the call center employees have no access to our SAP S/4HANA system. We therefore provide a custom built extension application that is specifically designed and optimized for the task and that is supplied with relevant data in real time using an event-driven approach.
Current Position - What is the challenge?
- Business Partner data available only in SAP S/4HANA system
- Call center personnel needs SAP S/4HANA access for their work
- No custom UI for specific geo marketing use case
Destination - What is the outcome?
- Changes in S/4HANA communicated via events in real time to extension application
- Custom extension application works independently from SAP S/4HANA
- Call center personnel only needs access to custom app
The extension application is developed using the SAP Cloud Application programming Model (CAP) and runs on the SAP Business Technology Platform. It consumes platform services like SAP Event Mesh and the Connectivity Services. The events generated in SAP S/4HANA Cloud are inserted into an SAP Event Mesh queue created by CAP. The application consumes these events and inserts relevant business partners into the local database. The extensions application uses SAP S/4HANA APIs to read Business Partner data from the SAP S/4HANA Cloud system.
- SAP S/4HANA Cloud system (release 1905 or newer)
- SAP Business Technology Platform Cloud Foundry global account (trial accounts are not supported)
- Node js
- Cloud Foundry Command Line Interface (CLI)
- Visual Studio Code or another suitable IDE or editor of your choice
- SQLite
The application requires below set of SAP BTP Entitlements/Quota
Service | Plan | Number of Instances |
---|---|---|
SAP Event Mesh | default | 1 |
Cloud Foundry Runtime | 1 | |
SAP S/4HANA Cloud Extensibility | api-access | 1 |
Step 1: Check Prerequisites
Step 4: Configure and Run Application
Step 5: Demo Script
No known issues.
In case you find a bug, or you need additional support, please open an issue here in GitHub.
Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.