0% found this document useful (0 votes)
344 views2 pages

Intro to ODATA Services in SAP

ODATA is an open data protocol used to expose SAP data to other platforms through RESTful APIs. It allows non-SAP users to access SAP data to build web, mobile, and other applications. ODATA services in SAP can connect to ECC, S4 HANA, or external backends and are represented by URIs that can be used to perform CRUD operations. SEGW is the transaction code used to create ODATA services in SAP.

Uploaded by

Nisha Nth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
344 views2 pages

Intro to ODATA Services in SAP

ODATA is an open data protocol used to expose SAP data to other platforms through RESTful APIs. It allows non-SAP users to access SAP data to build web, mobile, and other applications. ODATA services in SAP can connect to ECC, S4 HANA, or external backends and are represented by URIs that can be used to perform CRUD operations. SEGW is the transaction code used to create ODATA services in SAP.

Uploaded by

Nisha Nth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Basic Introduction ODATA Services.

Read Time – 5 Min


In this blog, we will discuss what is ODATA in SAP, what is need of ODATA services, Types of
ODATA Services.

What is ODATA in SAP?


ODATA is an open data protocol used in web technologies. ODATA is used by SAP make
SAP data accessible to other platforms so that the non-SAP users can also access this data to
develop web application, website, mobile app, etc.
ODATA first introduced by Microsoft now it is begin used for web application, mobile
application etc.
ODATA is an open standard that is both data format & protocol for consuming data in
uniform way.
It is also ISO approved and managed by the OASIS organization.
ODATA is communication between front end which is SAP UI5 FIORI and backend SAP
Systems.
ODATA represent DATA of collection of entities.

1 Data model -> 1 API -> Multiple End User Experience.

(If you plan to expose your SAP Data (Table or Query Data) to external environment like
UI5/Fiori or HANA, then you need to push your data in a form of API. By API we mean, using
OData. OData will generate a service link that can be accessed via internet and can be used
to perform CRUD operations. SAP OData in SAP ABAP environment is just like another ABAP
Class. We can access the methods of this class using SEGW transaction. We can write our
required code here for the data manipulation and once we activate the class, the service link
that we generate will act accordingly).

(SAPFRONTEND)
HTML /SAPUI5/FRONT END UI TECHONOGY

ODATA

ODATA SERVICES

ODATA
(SAPBACKEND)
SAP GATEWAY

SAP ECC/S4 HANA BW


ODATA used to create RESTful APIs.
ODATA fetches the data form one or many database and tables with the help of select,
insert or modify statement. it based on the HTTP framework.
Understanding ODATA.

Database layer Application layer HTTP Presentation layer

HTTP
OData

➢ Each OData service is represented by a URI (Uniform Resource Identifier) or URL


(Uniform Resource Locator). We will use URI term going forward.
➢ OData Service has two types of documents – Service and Metadata
➢ Atom format (xml) and JSON formats are supported Any web browser can be used
to explore OData Service

What is the need of ODATA Services in SAP?


OData service is used in the SAP gateway to connect with non-SAP platforms.

There are three types of OData services:


1. OData ABAP Services:
For OData services the backend server is SAP ECC / CRM / SRM.
2. OData HANA services:
For OData services the backend server is S4 HANA
3. OData External services:
For OData services the backend server is Non SAP server / external server.

Transaction code of OData Services:


➢ In SAP, we use SEGW Transaction code to create an OData services.
➢ SEGW Stand for services gateway.

You might also like