Skip to content

amitsahu01/cloud-extension-graph-sample

 
 

Repository files navigation

Build an Extension Application Using SAP Graph and SAP Event Mesh

Note: The content of this GitHub repository has been created as source for the SAP Discovery Center Mission Build an Extension Application Using SAP Graph and SAP Event Mesh. We recommend using directly the mission in the SAP Discovery Center.

REUSE status

Description

Extend SAP S/4HANA Cloud on the SAP Business Technology Platform (SAP BTP) using state-of-the-art methodologies and technologies. Put an event-driven architecture into action, use the SAP Cloud Application Programming Model (CAP) for building on SAP S/4HANA Cloud events, and use SAP Graph to consume unified APIs to retrieve all the required information.

The main intent of this scenario is to complement an existing business process in an SAP solution, which means, 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.

Business Scenario

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 designed and optimized for the task and that is supplied with relevant data in real time using an event-driven approach.

georel

Current Position - What is the challenge?

  • Business Partner data available only in SAP S/4HANA system
  • Call center employees need access to SAP S/4HANA for their work
  • No custom UI for specific geo marketing use case

Destination - What is the outcome?

  • Changes in SAP S/4HANA Cloud communicated via events in real time to extension application
  • Custom extension application works independently from SAP S/4HANA
  • Call center employees only need access to custom app

Development Challenges

  • Developing SAP extension apps that work with multiple SAP systems require mastering a broad set of skills for even the simplest data queries, and the applications you develop are sensitive to the smallest product and landscape configuration changes.

Solution

  • SAP Graph

Architecture

Solution Diagram

The extension application is developed using the CAP and runs on the SAP BTP. It consumes platform services like SAP Event Mesh and SAP Graph 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 Graph APIs to read Business Partner data from the SAP S/4HANA Cloud system.

Solution diagram

Focus Topics of the Mission

The tutorial focus on the following aspects:

Where to Start?

Known Issues

The tutorial is provided on the "as-is" basis. Currently, there are no known issues for the tutorial project.

How to Obtain Support

Create an issue to get support or to report a bug here.

License

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.

About

This sample showcases how to use SAP Graph service on SAP BTP to get data from different SAP systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.0%
  • HTML 29.0%