Quantcast
Viewing all articles
Browse latest Browse all 6412

issue exposing table using OData service

Hello Everyone,

 

I'm a beginner to SAP HANA Studio. The current version of my HANA Studio is 1.0.48 with SP05. and I'm currently working on exposing a table using OData Services. 

 

Project Explorer view :

 

Image may be NSFW.
Clik here to view.
Project_view.png

 

The following is the content in the file "DemoTable.xsodata" :

 

Image may be NSFW.
Clik here to view.
DemoTable_content.png

 

Repositories view:

 

Image may be NSFW.
Clik here to view.
Repositories.png

 

 

Navigator view:

 

Image may be NSFW.
Clik here to view.
Navigator.png

 

I accessed this file via the browser. The URL is of the following format :

 

"host-id:80<instance#>/<package_path>/DemoTable.xsodata"

 

The following is the view, when I try the above URL:

 

Image may be NSFW.
Clik here to view.
DemoTable.png

 

Next, I tried the following URL:

 

"host-id:80<instance#>/<package_path>/DemoTable.xsodata/Test_Table"

 

The following is the view:

 

Image may be NSFW.
Clik here to view.
Test_Table.png

This is the error I'm getting.There are other tables which I tried to expose and it worked. But I'm having trouble with this one. I found a similar thread - http://scn.sap.com/thread/3336708 but I'm getting nowhere! Examples are very much appreciated.

 

Cheers.


Viewing all articles
Browse latest Browse all 6412

Trending Articles