Note: The non-productive translations files are no longer required and have been deprecated. SAP Graph now provides translations automatically for SAP One Domain Model entities.
The SAP Graph API is the single interface for unified access to interconnected data across SAP products.
SAP Graph is a network of connected data objects that are stored and owned across different SAP solutions and technologies. The data objects that are made accessible through SAP Graph in an interconnected data model can be consumed through an HTTP-based API, which exposes data from multiple SAP systems in a unified schema.
SAP Graph’s API exposes a unified graph-like model of business objects (entities) and relationships. SAP Graph uses open standards, such as OData v.4 and OAuth, thus allowing you to easily build applications and extensions for the SAP Intelligent Enterprise. In short, SAP Graph API handles the connectivity to the correct data in the correct systems through a single interface.
You can determine the shape of the model that will be exposed by your SAP Graph tenant. SAP provides a starting point, the SAP One Domain Model, and a set of corresponding translations, which is how SAP Graph implements SAP One Domain Model on top of the dataSources
that you activated when you configured your landscape
.
The model
contains translation files that define the entities exposed in the SAP Graph API. SAP Graph provides a sample model pack
that include the following six translation files of SAP One Domain Model entities:
Note: In this beta release, non-productive translation files are provided.
ODM Entity | Corresponding Source Entity | |
---|---|---|
SAP S/4HANA Cloud | SAP Sales Cloud | |
BusinessPartner | A_BusinessPartner | |
Customer | A_BusinessPartner | |
CustomerOrder | A_SalesOrder | |
CustomerQuote | SalesQuoteCollection | |
Product | A_Product | |
Supplier | A_BusinessPartner |
In addition, the sample model pack
contains templates to extend the SAP Graph model.
- A template to extend the model by a custom entity (see translations/template/CustomEntity.1.0.0.ext.jsonc.template)
- Templates to extend ODM entities by custom attributes (see for example, s4/sap/odm/product/Product.0.75.0.ext.jsonc)
For more information, see Configure the SAP Graph Tenant.
The samples are provided on an "as-is" basis. Currently, there are no known issues for the sample model pack
.
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
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.