Odata
Odata
In case of SAP ABAP apps, almost all the functionalities are executed under "Server"
_________________________________________________________________________________
In case of SAP UI5/FIORI apps, almost 95% functionalities are executed under "Client"( BROWSER )
IN Stateless apps, server will be free and not overloaded , so we can expect "BEST PERFORMANCE"
____________________________________________________________________________________
________________________________________________________________________
ABAP screens are "heavy weight screens" UI5/FIORI screens are "LIGHT Weight
Screens"
( they consume more memory , more time to load ) ( they consume less memory , less time to load )
ABAP screens are poor in appearance UI5/FIORI screen are high class in appearance
ABAP Apps are mainly suitable for INTRANET UI5/FIORI apps are suitable for INTRANET +
INTERNET
Architecture:
1. OData ABAP Service -> performs Database operations with SAP ECC/CRM/SRM/SCM
2. Odata HANA service -> performs Database operations with SAP HANA
3. odata External Service->performs Database operations with non-SAP
SAP UI5: is a framework used for developing Custom Front-end apps with website features
and these SAP Ui5 Apps can consume/access all types of ODATA Services
SAP FIORI: is a package with collection of standard front-end apps for "common business activities"
approve/reject Purchase order -----> SAP FIORI app -> internally developed using UI5 + ODATA
approve/reject Timesheet -----> SAP FIORI app -> internally developed using UI5 + ODATA
approve/reject Leave REquest -----> SAP FIORI app -> internally developed using UI5 + ODATA
check price & availability -----> SAP FIORI app -> internally developed using UI5 + ODATA
create sales order -----> SAP FIORI app -> internally developed using UI5 + ODATA
change sales order -----> SAP FIORI app -> internally developed using UI5 + ODATA
Tracking sales Order -----> SAP FIORI App -> internally developed using UI5 + ODATA
Tracking Purchase Order -----> SAP FIORI APP -> internally developed using UI5 + ODATA
etc...etc...
There are more than 500 standard FIORI apps ( developed internally using SAP Ui5 + ODATA )
Note: As developer, we can develop custom Front-end Apps and we can enhance standard Front-end
Apps and we can develop OData services
_____________________________________________________________________________________
SAP UI5 custom Front-end apps can consume all types of OData services
SAP FIORI standard front-end app can consume all types of Odata Services bcoz SAP FIORI is internally
based on SAP UI5
SAP OData Services:
1. OData ABAP service -> interact with Backend systems ( SAP ECC/CRM/SRM/SCM )
2. Odata HANA service -> interact with Backend System ( SAP HANA )
3. Odata External Service -> interact with Backend System ( non-SAP )
OData ABAP services are mainly executed under SAP NetWeaver Gateway Component with Database
operation ( SELECT, INSERT , DELETE , UPDATE )
a) XML FORMAT
b) JSON FORMAT ( prefered bcoz it is light weight format )
SAP NetWeaver Gateway component will hold the data under ENTITYSET in XML format
<age> 34 </age>
<name> suman</name>
<age> 35 </age>
<age> 36 </age>
__________________________________________________________________
from front-end if we indicate format with json , then
SAP netweaver Gateway will hold data under ENTITYSET in JSON format
{ empid : 1001,
name : vijay,
age : 34
{ empid : 1002,
name : suman,
age : 35
{ empid : 1003,
name : ajay,
age : 36
____________________________________________________________________
i,e
ODATA Services can be accessed in various front-end app's like SAP Ui5 , SAP FIORI, .NET , PHP ,etc...
_____________________________________________________________________
ODATA ABAP services will be developed under SEGW Tcode ( TRANSACTIOn CODE )
______________________________________________________________________
ODATA ABAP service Project
1. Data Model
2. Service Implementation
3. Runtime Artifacts
4. Service Maintenance
Data Model
Entity Type: is an option to maintain collection of fields with data Type and length
Note: under Single Odata Project, we can create any Number of Entity TYpes, ENTITYSETs
_____________________________________________________________________________________
_____________
RUNTIME Artifacts:
__________________________________________________________________________
Service Maintainence
_____________________
Error log -> to trace/find out errors occured during service execution
_______________________________________________________________________________
______________________________________________________________