Hi Every One,
We are working on creating Odata services for consuming the views inside the HANA.
But here facing the challenges.
We created xsproject --> share the project --> folder services --> created a file data.xsodata
Script in xsodata file
service namespace "servicename" {
"SAP_BW::AN_BW" as "Analyticalview" keys generate local "ID";
}
SAP_BW is the package name and AN_BW is analytical view inside the package.
After that we created two files .xsaccess and .xsapp
.xsaccess code is
{
"exposed" : true
}
.xsapp code is
{ }
Activated the project successfully.
When ever we ran in browser with following url : http://173.11.159.101:8000/SAP_BW/Odata_Anv/services/data.xsodata
It showed the following the error
This XML file does not appear to have any style information associated with it. The document tree is shown below.