
Explore creating a project with SAP OData services by modeling data in a custom table, mapping fields, and performing read and create operations across frontend and backend systems.
Learn how to register a service in SAP OData, create a data model, and manage local data objects across multiple backend systems, configuring the default host and port for testing.
learn how to use SAP OData query parameters in OData services to refine rest api calls, including $filter, $select, $count, and $expand, with examples of entities and related data.
Explore two options for implementing the $filter method in SAP OData services, comparing performance and complexity when filtering by date ranges and/or multiple conditions, and when to use class-based filtering.
learn to use the $orderby option in SAP OData services to sort by key and multiple fields in ascending or descending order, including a static utility method.
Learn how to test a post operation from Postman against SAP OData services and Salesforce API, including building the request body, managing CSRF tokens, and validating the 201 created response.
Define a deep structure using local and global extensions, then implement the deep entity with an expanded entity. Deploy and test data flow from backend SAP OData to the frontend.
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
•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