Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

XSOData service on Analytical View

$
0
0

Hi Hana Gurus

 

Could someone help here.

 

 

Acutally , i would like to expose my Analytical view as OData service.

 

Within my XS Project , i have created blank xsapp file along with  xsaccess with  below content

 

  • xsapp -- Blank file
  • Profiles1.png

===========================

  • xsaccess -

Profiles2.png

===========================

  • index.html

<html><head> </head>

<body>

Testing dummy file

</body>

</html>

===========================

  • Order,xsodata.

//To define the XS OData service use the following syntax:

 

service  namespace "MyData"{

  

"sandbox.ecc.xxxxx.Open_Orders/ZAN_SALESORDER_DETAILS_BKUP2.analyticview" as "ORDER" keys generate local "ID";

 

 

}

 

Profiles3.png

 

 

After validate and activating the project.


I am able to access the index.html but On accessing the Odata service , i get ERROR :403


Same happens even if i try to expose simple ADRC table as ODATA service.


 

403 - Forbidden

The server refused to fulfill the request.



Profiles4.png


, any pointer are highly appreciated.

 

Thanks

Kumar


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>