SAP Gateway

SAP Gateway, an integral part of SAP NetWeaver, lets you connect devices, environments, and platforms to SAP systems. It uses the Open Data Protocol (OData) so you can use any programming language or model to connect to SAP and non-SAP applications. SAP S/4HANA uses SAP Gateway and OData services to bring business data to compelling SAP Fiori apps.

Featured Content

SAP Community Call: OData service development options - Be prepared for the ABAP RESTful Programming Model

In this replay the following topics are covered: - OData V2 development options - Introduction to the ABAP RESTful Programming Model - What is the difference between managed and un-managed scenarios? - OData V4 development options - Where is it safe to invest now?

Watch the recordingGet the slidesVisit SAP Community to learn more about Community Calls

Trial version

If you want to get a test system to develop your own OData services With SAP Gateway, you can use a trial version of SAP Application Server ABAP.

Get the latest of SAP NetWeaver AS ABAP Developer Edition 7.52 SP01 (Part 1,2 and 3)SAP ABAP Platform 1909, Developer Edition

Classroom training GW100

The course GW100 "SAP Gateway - Building OData Services" is designed for developers, architects, and other technical professionals responsible for creating OData services using SAP Gateway. The 5-day course is also available virtually.

Visit the training shop

SAP Gateway Book (New 3rd Edition)

Learn how to create, develop, and generate OData services using the SAP Gateway toolset and the ABAP Development Tools. Learn about the ABAP Programming Model and the new ABAP RESTful programming model and SAP Gateway deployment, administration, security and architecture.

SAP Gateway and OData (3rd edition, English)SAP Gateway und OData (3.Auflage, Deutsch)

Expert content

ABAP Code based service implementation

The first OData service implementations used the Service Builder to design the OData Model and a code based implementation of the methods of the data provider extension class. Using the SAP Gateway AddOns this kind of service implementation is available for all SAP Business Suite Releases that run on top of SAP NetWeaver 7.0 SP18 and later

OData service development with SAP Gateway – code-based service development – Part IOData service development with SAP Gateway – code-based service development – Part IIHow to add annotations to an OData service using code based implementationHow to handle etags in SAP Gateway using code based implementation

Referenced and Mapped Datasource

Starting with SAP NetWeaver 740 OData Services read and query methods can leverage CDS views. Whereas in 740 the Mapped Data Source approach has be used with 750 the Referenced Datasource approach became available that is more flexible and does not require manual creation and mapping of entity types.

OData service development with SAP Gateway using CDS via Referenced Data SourcesOData service development with SAP Gateway using CDS via Referenced Data Sources – How to implement updates

ABAP Programming Model for SAP Fiori

If you are building an application using the ABAP programming model for SAP Fiori in S/4HANA for building state-of-the-art, intrinsically SAP HANA-optimized Fiori apps you can leverage an out-of-the-box OData V2 support

How to develop a transactional app using the new ABAP Programming Model for SAP Fiori

RESTful ABAP Programming Model

The ABAP RESTful Programming Model which is available with the SAP Cloud Platform ABAP Environment and which is planned to be available with an upcoming version of SAP S/4HANA on premise offers additional benefits. It is planned to provide a migation for developments that have been performed using the ABAP Programming Model for SAP Fiori which is still the state of the art approach to develop applications in Greenfield scenarios

Evolution of the ABAP Programming ModelSAP Cloud Platform, ABAP environment - Tutorials

OData V4 development

If you must create OData V4 services now and cannot wait until an end-2-end support for OData V4 will be available through the new ABAP RESTful Programming Model you will find here information how this development can be performed using code based implementation

OData V4 code based implementation – OverviewOData V4 code based implementation I (basic interface, read access)OData V4 code based implementation II (basic interface, create & update)

Deployment options

Gateway can be configured in different deployment options that also encompass the deployment of the SAP Gateway Server component in SAP Cloud.

SAP Gateway deployment options in a nutshellHow to take advantage of the performance improvements in SAP Gateway in SAP NetWeaver 7.50 SP04SAP Fiori Deployment Options and Recommendations

Troubleshooting, Debugging, Special topics

When you run into performance problems it is important to know which tools can be used and how their results can be understood.

Understanding SAP Performance Statistics for SAP Gateway serviceGateway OData Service – troubleshooting and detailed tracing in ABAP