Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
StefanFell
Associate
Associate
2,922

Since it was announced at SAP TechEd 2021, SAP offers digital learnings free of charge to everybody interested in SAP products on https://learning.sap.com. In this blog post, I want to present to you the learning journey Building OData Services with SAP Gateway and keep you up to date on the latest additions.

If you are more interested in a customer course for SAP Gateway, please read my blog post:
Customer course GW100 (SAP Gateway – Building OData Services) available for SAP S/4HANA 2023

 

Latest Additions

2024-07 Unit 3-5 available, former unit 3 now unit 6
              Business service binding for OData V4 in unit 6 available
2023-11 Learning journey available

Introduction

This learning journey is based on the customer course GW100 (SAP Gateway – Building OData Services). The course structure was reworked to provide a clear path following the learning goals of each unit. Many animations and videos support the digital learning experience inviting you to interact with the material.

Nearly every lesson provides at least one exercise showing steps in a written form. Some can be performed directly by using some public resource like the SAP Gateway Demo System, but most exercises are based on SAP S/4HANA 2021 FPS02. In addition to the written form, these exercises provide a simulation of the steps in an SAP Learning system.

The units in the current version are the following:

  1. SAP Gateway Overview
  2. OData Overview
  3. SAP Gateway Service Implementation
  4. SAP Gateway Service Generation
  5. SAP Gateway Service Redefinition
  6. SAP Gateway and CDS Views

Content

1. SAP Gateway Overview

Unit 1 first describes SAP Gateway in general showing examples of where and how it is used in todays SAP solutions. The second lesson digs deeper in the releases and the components of SAP Gateway culminating in the deployment options for on-premise and SAP Business Technology Platform (BTP).

The following is exercised:

2. OData Overview

Unit 2 covers the OData standard from the perspective of SAP Gateway. A short introduction to REST is followed by a comprehensive explanation of the OData protocol, how to perform OData operations and how to handle OData queries.  

The following is exercised:

3. SAP Gateway Service Implementation

Unit 3 provides the essentials of handling and developing SAP Gateway services in an ABAP system. Before you can start developing, you should know, how to manage an SAP Gateway service. Having all those tools up your sleeve, you can start with defining a data model in the SAP Gateway Service Builder (SEGW). After that, implementing read operations, navigation, query options, and change operations lead to a fully functioning SAP Gateway service.

The following is exercised:

4. SAP Gateway Service Generation

Unit 4 explains the generators in the SAP Gateway Service Builder (SEGW). The first and mightiest one is the RFC/BOR generator. As the name implies, the well-known function modules are mapped to OData operations allowing the reuse of legacy code in SAP Gateway. The second generator maps search helps to read operations providing data for value helps via OData.

The following is exercised:

5. SAP Gateway Service Redefinition

Unit 5 imparts the concept of redefining a data service. It was introduced in the SAP Business Suite and replaced by Core Data Services (CDS) in SAP S/4HANA – except redefining an SAP Gateway service itself. This is still today the way to enhance an SAP Gateway project delivered by SAP in the customer namespace.

The following is exercised:

6. SAP Gateway and CDS Views

Unit 6 jumps to the world of Core Data Services (CDS) and shows the four ways an SAP Gateway service can be generated based on CDS views. This includes a short excursion to the ABAP RESTful Application Programming Model (RAP) but without getting into the details. The focus is to provide SAP Gateway services first by mapping or referencing a CDS view as data source in the SAP Gateway Service Builder (SEGW). Publishing a CDS view as SAP Gateway service or defining business services are performed in the ABAP Development Tools (ADT). Beside OData V2, business services allow the creation of OData V4 services.

The following is exercised:

Summary

If you have read so far, it seems that you are really thinking about consuming the learning journey. Don’t hesitate and jump right in:

https://learning.sap.com/learning-journeys/building-odata-services-with-sap-gateway

If you are more interested in a customer course for SAP Fiori, please visit https://training.sap.com. The GW100 (SAP Gateway – Building OData Services) is a 5-day-course offered as physical and virtual event:

https://training.sap.com/course/GW100

For any other questions around the offerings of SAP Learning Services, please jump to our community page and get in contact with us:

https://pages.community.sap.com/topics/training-certification

Happy learning
Stefan