• Post category:StudyBullet-15
  • Reading time:5 mins read


Learn How to Create OData Service, Rest API and Consumes Salesforce API in SAP with Real time scenario Examples

What you will learn

SAP OData basics to advance level

odata crud operations

odata query parameters

Association and Navigation , $expand and Create Deep Entity

S/4 HANA Business Partner Creation using Odata

Excel Integration with Odata

Odata service creation using search help

odata test, debug and exceptional Handling

SAP DMS document creation using Odata service

Rest API create sales order scenario

Rest API with Deep Structure to display FBL5N Leader

Learn How to consume Third party API ( Salesforce API )

Description

                OData ( open data protocol ) service is a web protocol and one of the common way for communicating with sap backend system with SAP UI5/Fiori or any other third party software’s as front end, which works on HTTP(s), e.g salesforce, SAP C4C, CRM, or any other software’s , portal.

OData is use to expose the SAP data with any other customer software’s which works on HTTP(S) as well it is use for updating the data into SAP system using ABAP.

Using Odata help us to access sap data from anywhere and from any device. With odata concept, client and server component can be developed independently . It is based on the REST architecture.

Prior to odata developer were using different SAP connectors like java connector , .net, php based connectors to established and communication channel between SAP and other software’s. Because of the flexibility of odata service as we can consume it from any application which works on web Odata becomes a preferred way of communication over other methods like, IDOC, REST API, RFC/BAPI etc.

Advantages of OData :

•Odata light in weight

•It is very easy and relatively fast to access data


Get Instant Notification of New Courses on our Telegram channel.


•We can get output in xml and json

•We can perform all web based methods like, GET, PUT, POST, DELETE and Query.

•Odata known for its stateless functionality, it means for every request from frontend system it gives the response , and server does not save any data. It treats every OData call as a new call.

•We can develop and test OData in sap OData gateway frame work, before giving it to front end developer.

•Due to advantage of complete framework in SAP for odata , compare to normal rest api development with which we do using resource handler class, the coding part is less in Odata

Rest API – Create Sales order with Rest API

Consume Salesforce API in SAP

English
language

Content

Introduction – Theory

odata introduction
CRUD operations
SEGW – SAP Gateway service builder

Practice CRUD Operations

Create Project
create data model (entity types)
service registration
implement get entity method
Implement get entity set
implement create method
Implement update method
Implement delete method

Query Parameters

Query Parameters
$filter select options method 1