Skip to Content
0

Cloud Platform & HANA Service Layer

Jan 30 at 04:38 AM

99

avatar image
Former Member

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

10 |10000 characters needed characters left 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)
0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Ralph Oliveira
Jan 31 at 09:17 AM
0

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)

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for the feedback Ralph,

I have cloned the git projects, but am a bit confused, is there any other place I can access the the training vids for the created projects in the link above as I do not have access the the SAP Learning hub. I want to see how the destinations is configured for the samples and how I need to change the configs in the web ide to use my own Service Layer.

Kind Regards,

Brenden Draper

0
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

0