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

Now that I finished the course development of the GW100 (again), I thought it is time to summarize all the new and updated topics in a central place. I decided that a blog post here would be a good way to share this to fellow ABAP developers. So welcome to my first blog post about the customer training GW100 (SAP Gateway – Building OData Services).

If you are more interested in a digital learning for SAP Gateway, please read my blog post:
SAP Learning Journey – Building OData Services with SAP Gateway

Introduction

Starting in 2014, this is now the seventh incarnation of how to develop OData services with SAP Gateway. The course shows all parts of SAP Gateway, which are available since SAP NetWeaver Application Server 7.0 (SAP Gateway 2.0), as well as parts added up to SAP S/4HANA 2021. The whole bandwidth of SAP Gateway covering all releases is shown.

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
  7. SAP Gateway Hub Functionalities
  8. Advanced OData Options
  9. SAP Gateway Security
  10. Further Information

If customers are interested, they can order a customer specific version of the course including only those topics suitable for their release or purpose.

System Landscape

Let’s start with the system release: SAP S/4HANA 2021 FPS02. Our system landscape – we call it universal target – is used in many technology courses and offers full access for the participants from the SAP Fiori launchpad (FLP) in the browser down to SAP HANA on the SUSE Linux Enterprise server (SLES). Everything is set up following the newest guidelines of SAP so that it can really act as a template for customers.GW100 System Landscape (Screenshot from System Setup Guide)GW100 System Landscape (Screenshot from System Setup Guide)

In addition, we offer an instance of the SAP Business Application Studio (BAS) to show the consumption of OData services. If you want to know more about this topic, check out our courses for SAP Fiori development.

OData

The unit explaining the OData foundation was greatly increased to cover all aspects of the protocol including OData V4. Many more slides were added to visualize the structure of an OData service. Here is an example about function and action imports:Function and Action Imports (Screenshot from GW100)Function and Action Imports (Screenshot from GW100)A new section covering ?sap-ds-debug=true was added to explain the features of this debugging query option. Although it was always part of exercises, there was only one slide showing it. Now the following one is just the first one:SAP Debugging Query Option for Any Browser (Screenshot from GW100)SAP Debugging Query Option for Any Browser (Screenshot from GW100)The lesson about performing OData requests was enhanced in its visualization and some additional slides were added like this one for batch processing:OData Option $batch (Screenshot from GW100)OData Option $batch (Screenshot from GW100)

Implementation

The structure of the units covering code-based implementation got refined to better fit the current state of development. This includes more graphical explanations of how the source code is structured in the system like this one:Data Provider Base Class – Source Code (Screenshot from GW100)Data Provider Base Class – Source Code (Screenshot from GW100)Other slides were enhanced using semantical colors consistently throughout the material. In this example, you see blue used for ABAP code, gold for HTTP requests, and green for (successful) HTTP responses:Create Operation Essentials (Screenshot from GW100)Create Operation Essentials (Screenshot from GW100)But of course, at the end of the day, it is all about source code. There are now more code snippets outside of exercises and the code is explained in more detail on slides:Implement Paging (Screenshot from GW100)Implement Paging (Screenshot from GW100)

CDS Views

The evolution of CDS views was driving SAP Gateway from the beginning. That is why there is an own unit keeping track of all possibilities to generate SAP Gateway services based on CDS views:OData Service Development with CDS – Comparison (Screenshot from GW100)OData Service Development with CDS – Comparison (Screenshot from GW100)The decision, which generator is the right one for your project, does not only depend on the release you are using. Especially in a brown field approach, the data source reference in the SAP Gateway Service Builder (SEGW) is still a viable option for reusing existing source code in SAP Gateway services based on CDS views: How to Reference a Data Source (Screenshot from GW100)How to Reference a Data Source (Screenshot from GW100)The newest generators are Business Services, which are part of the ABAP RESTful Application Programming Model (RAP). They are recommended by SAP as soon as they are available in your system and include the generation of OData V4 services:How to Create a Service Definition and Binding (Screenshot from GW100)How to Create a Service Definition and Binding (Screenshot from GW100)

Summary

If you have read so far, it seems that you are really thinking about attending the course. Don’t hesitate and check out the physical and virtual events we offer:

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

If you are more interested in a digital learning, please visit https://learning.sap.com. Some parts of the GW100 are already available free-of-charge:

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

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

I hope even if you won’t attend the GW100 in any kind, you found some useful information around SAP Gateway in this blog post.

Happy learning
Stefan