Beruflich Dokumente
Kultur Dokumente
Netweaver
Gateway
(OData)
Topics to cover
DAY1
History of OData, Introduction, Need of OData
When to use OData? How it is different than the Web services?
Which is better SOAP or REST?
Entity data model, complex type, association, navigation
NW architecture, Essential components of NW GW, Where to
get from SAP service market place
Create Model and Data class, show till metadata fetch
SPRO Configuration.SM59 configuration
Assign hands-on exercise
Topics to cover
DAY2
Doubts session
Model provider class, Data class in details.
Get entity set and get entity method.
How to install rest client and testing using Advance rest client.
DAY3
Doubts Session
Create entity method
Topics to cover
DAY4
Doubts Session
Create deep-entity method
DAY5
Doubt Session
Service builder Navigation, association.
10
OData
ODATA Stands for Open Data Protocol
It is based on the Atom Publishing and Atom Syndication standards, which in turn, are
based on XML and HTTP(S).
It was designed to provide a standardised implementation of a RESTful API. In doing so, it
offers database-like access to server-side resources.
ODBC for the web
OData is also extensible. This allows SAP to supplement the data types used by OData
with extra information from the ABAP Data Dictionary.
Specifies how data should be encoded within feed
OData can be used to access table like structures similar to the way SQL does
Entity Data Model (EDM) to describe OData Services
Each entity can support Create, Retrieve, Update, and Delete operations
11
OData Cont.
12
OData Cont.
Atom Syndication
-
TheAtom Syndication Formatis a XML-based format used for web feeds (or news
feeds). Its
13
OData Cont.
ODATA
-Simple Types
-Complex Types
operations
14
15
16
Entity Type : Data model definitions, structure types consist of list of properties
Complex Type : Structure types also consist of list of properties but with no key
Entity Set : Collection of Entity
Association : Defines the relationship between two or more entity type
Navigation Property : Special property on entity type which are bound to a specific
association and can be used to refer association of an entity
17
18
Prerequisites
19
20
Gateway Service
21
22