Skip to Content
avatar image
Former Member

Cloud Platform & HANA Service Layer

Hi All,

I am trying to setup the the HANA Service Layer in the Cloud platform using the Cloud connector service. I am having some trouble regarding OData versions. The Connection in the cloud is successful but when I am trying to retrieve the metadata for the HANA Service Layer, it pops up an error that says: "OData version 3 is not supported".

Is there any work around for this, or a way to use HANA Service Layer in the cloud with OData version 2.

Kind Regards,

Brenden Draper

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Hi All,

    Please see the printscreen of the issue I am facing below:

    I have replicated the issue with the Northwind external OData service with higher OData versions 2.

    Kind Regards,

    Brenden Draper

    odata-version.png (69.9 kB)
  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 31 at 09:17 AM

    Hi Breden, this is a known issue regarding Service Layer as most of the SAP Fiori templates are OData V2 while Service Layer is OData V3.

    There are some good news coming, you will find there is a new Fiori Template OData V4 and SL should adopt this version soon.

    In the meanwhile SL can be consumed as a simple REST service, similar from what we did in the workshop exercises.

    Important to emphasize that this limitation is only on Fiori app Templates, you can still develop your app with SL using other UI frameworks or with SAPUI5 (using the rest approach as mentioned before)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ralph,

      I have managed to work with the XS Engine doing xsjs calls to the Service Layer. Because I am using SAP 9.2 PL04, the Service Layer OData version 4 is not exposed yet. Is it possible, to host the the xsjs Service Layer calls on the XS Engine and still have a project in Cloud Web IDE and still use the Destination and Cloud Connector to make the calls to the Service Layer. In example, to have the SL xs engine project same as the xsodata service to be called from Web IDE project ?

      I managed to access my xsodata service via the web ide and the cloud connector but how would I go about it to call the Service Layer xsjs files hosted in the xs engine without exposing it with a external ip.

      Kind Regards,

      Brenden Draper