0% found this document useful (0 votes)
12 views4 pages

Properties of OData Services

OData services operate primarily under the SAP NetWeaver gateway, supporting XML and JSON formats, with a preference for the lightweight JSON. Each OData service consists of four main folders: Data Model, Service Implementation, Runtime Artifacts, and Service Maintenance, which include components for managing entity types, CRUD operations, and runtime classes. The document outlines the structure and functionality of OData services, emphasizing their reusability and the relationships between various data entities.

Uploaded by

yoyope1783
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)
12 views4 pages

Properties of OData Services

OData services operate primarily under the SAP NetWeaver gateway, supporting XML and JSON formats, with a preference for the lightweight JSON. Each OData service consists of four main folders: Data Model, Service Implementation, Runtime Artifacts, and Service Maintenance, which include components for managing entity types, CRUD operations, and runtime classes. The document outlines the structure and functionality of OData services, emphasizing their reusability and the relationships between various data entities.

Uploaded by

yoyope1783
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
You are on page 1/ 4

2️⃣

Properties of OData Services


1. Introduction
OData acts as a backend for Frontend Applications.

OData Services are mainly executed under SAP NetWeaver gateway component with
database operations ( Select, Insert, Delete, Update ).

SAP NetWeaver gateway support two formats mainly

1. XML format

2. JSON format ( preferred because it is a light weight format ).

ODATA services are reusable.

OData ABAP services will be developed under SEGW transaction code.

2. Properties of OData Services


Every OData service contains mainly 4 folders :-

1. Data Model

2. Service Implementation

Properties of OData Services 1


Mob No :- +916261538504
3. Runtime Artifacts

4. Service Maintenance

3. Data Model
1. Entity Type
It is an option to maintain the collection of fields with data type and length.

Entity Type is similar to structure in normal ABAP.

2. Entity
Entity is an option to hold a single record at a time.

Entity is similar to work area in normal ABAP.

3. Entity Set
Entity Set is an option to hold the collection of records.

Entity Set is similar to internal table in normal ABAP.

4. Association
Association is the relationship between two entity types.

5. Association Set

Properties of OData Services 2


Mob No :- +916261538504
Association set is a relationship between two entity sets.

Note :-
Under single ODATA project we can have n number of entity type and entity sets.

4. Service Implementation
It mainly contains CRUD methods.

i.e. It will contain all the methods that will be responsible for performing CRUD
operations

Methods in Service Implementation (1)

SAP Ui5 / FIORI ODATA Services

Create ————————————> CREATE_ENTITY( )


-> Create
method

Bind element ———>>>>>>> GET_ENTITY( ) method -> Read Select Query (0 1)

Bind rows/bind items ——————>>>>>>>


-> Read Select Query (0/1/N)
GET_ENTITYSET( ) method

Update —————————>>>>>>> UPDATE_ENTITY( )


----------->> U Update Statement
method

Remove ———————>>>>> DELETE_ENTITY( )


----------> D Delete Statement
method

5. Runtime Artifacts
Runtime artifacts mainly contains runtime classes ( which are auto generated ).

Whenever you will click on generate button, then these custom classes will be generated on
the runtime automatically.

1. _MPC → Model Provider Class

Properties of OData Services 3


Mob No :- +916261538504
2. _MPC_EXT → Model Provider Extension Class

3. _DPC → Data Provide Class

4. _DPC_EXT → Data Provider Extension Class

5. _SRV → Registered Service

6. _MDL → Registered Model

6. Service Maintenance
Error Log :- It is used to trace / find out the error occurred during service execution.

Gateway Client :- Temporary screen to test ODATA service functionality.

Properties of OData Services 4


Mob No :- +916261538504

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy