Unleash the power of unified APIs through SAP Graph
SAP Graph is the new unified and consolidated API for SAP-managed data. Developers use SAP Graph to build applications that access a connected business data graph of SAP-managed data of SAP Intelligent Enterprise. It provides an intuitive programming model that you can use to easily build new extensions and applications using SAP data. If you are new to SAP Graph, you can refer to this blog.
SAP Graph addresses API complexity and integration challenges by providing developers a single connected and unified view of all their business data, consolidating the data models of data sources like SAP S/4HANA, SAP Sales Cloud, and SAP SuccessFactors into one unified and connected data model, representing all the data in a landscape.
For using SAP Graph, the following steps need to be followed:
- SAP Graph needs to be added to the entitlement of subaccount
- Data sources(business systems) need to be added to the subaccount through destinations
- An instance of SAP Graph needs to be created and a service key needs to be downloaded. Please find the detailed steps here.
This service key is then used for configuring SAP Graph using SAP BTP Destinations.
SAP Graph provides a command-line tool called graphctl for configuring the SAP Graph tenant. Through this command-line tool, the SAP Graph tenant can be easily configured in a few easy steps.
Developing SAP extension apps that work with multiple SAP systems requires 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. This is where SAP Graph comes to play.
Here we have an SAP Discovery Center mission that implements an extension use case of SAP S/4HANA Cloud on the SAP Business Technology Platform (SAP BTP) using state-of-the-art methodologies and technologies. It puts an event-driven architecture into action using the SAP Cloud Application Programming Model (CAP) and SAP Graph to consume unified APIs to retrieve all the required information. In this extension application, 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.
Please try out this mission to see SAP Graph in action.
For the complete documentation of SAP Graph, please visit here.
It might be worth to point out, that SAP Graph is part of the BTP free tier. So it's possible to experiment and do a PoC without any cost.
Thanks, Morten for pointing this out !