Skip to Content

Impacts of OData v4 support on SEGW projects

Dear Experts,

soon or later SAP Netweaver GateWay will support OData v4. From backend developer perspective, is there any adjustment requirement of the services of type "SAP Standard Annotations" implemented in SEGW ? Does something special needed, when for example the UI5 (sap/ui/model/odata/v4/ODataModel or other REST clients start sending request using protocol version 4 ?
I'm interested in the backend aspects, because the UI5 implementation is known different already.
Thank you, Attila

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 07, 2016 at 04:55 PM

    Hi Attila,

    SAP Gateway has started to support OData v4 with SAP NetWeaver 750 SP04.

    OData v2 services cannot be "adjusted" so that they support OData v4.

    Instead you would have to perform a Code based implementation as described in my folllowing blog

    https://blogs.sap.com/2017/12/12/odata-v4-code-based-implementation-i-basic-interface-read-access/

    You may be able to reuse parts of your coding that you have created but it will not be possible to perform a simple "cut and paste" since the interfaces of the OData v4 runtime have changed compared to the OData v2 framework.

    In contrast to my earlier answer I cannot recommend to use the SAP Gateway Service Builder for OData V4 Development.

    https://launchpad.support.sap.com/#/notes/2485370

    Best Regards,

    Andre

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 25 at 10:31 PM

    updated my answer from 2016 since another customer found it and asked why I recommended to use the Service Builder in the past for OData V4 Development which I do not do any more.

    Add comment
    10|10000 characters needed characters exceeded