Skip to content

Collection of sample code to show how services based on OData V4 can be build using the SAP Gateway OData V4 framework.

License

Notifications You must be signed in to change notification settings

SAP-samples/gateway-odata-v4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

SAP Gateway Foundation - OData V4 Code-based Implementation Samples

REUSE status

Description

The gateway-odata-v4 repo is a collection of sample code to show how OData V4-based services can be built using the SAP Gateway OData V4 framework.

You find more information about this implementation in the following blog posts:

Caution:
Please note that in the latest release of SAP S/4HANA 2020 FSP1 you can build OData V4 services using the ABAP RESTful Programming Model, which is the recommended development approach in SAP S/4HANA.
As discussed in the blog post OData service development options the implementation of an OData V4 service using code-based implementation leveraging the SAP Gateway OData V4 framework is a valid approach if your need for an OData V4 service cannot wait, but you are on a release prior to SAP S/4HANA 2020 FSP1.

Requirements

This code is intended to run on:

  • SAP NetWeaver 7.52 SP05 or higher
  • SAP S/4HANA Foundation 1809 SP03 or later

Though a first implementation of the OData V4 SAP Gateway framework is available as of SAP NetWeaver 750 SP04 this SAP NetWeaver ABAP stack and also the SAP NetWeaver 751 do not receive any downports.

If you nevertheless try to install this package on SAP NetWeaver 750 or 751 you may find that certain features (for example deep insert) are not supported.

A workaround would then be to delete the implementations of the respective methods.

For an overview of the SAP Gateway Foundation Support Package Stack Definition see SAP Note 2512479.

Download and Installation

You can download this code and import it into an on premises system using ABAPGIT.

Known Issues

There are no known issues with this code.

For known constraints of the OData V4 protocol support in SAP Gateway (SAP_GWFND) see SAP Note 2322624.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

License

Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

Collection of sample code to show how services based on OData V4 can be build using the SAP Gateway OData V4 framework.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published