Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Simple Info Access - Column Store Error

$
0
0

Hi,


I am trying to use SINA API in one of my projects, As per the guide, I have created full text index for the required columns, I have built an attribute view for the same, assigned the sap.bc.ina.service.v2.userRole::INA_USER.

 

In my XS project I have created a html page with foll code:

 

<!doctypehtml>

<html>

   <head>

   <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > 

    <script src="/sap/bc/ina/api/release/sap.bc.ina.api.sina.min.js" type="text/javascript"></script>

        <script>

            varsina = sap.bc.ina.api.sina;

            var dataSource = {

                "packageName" : "GetBKPF",

                "objectName"  : "SEARCHKNA"

            };

            var query = sina.createSearchQuery()

            .dataSource(dataSource)

            .top(50);

 

            query.addResponseAttribute("KUNNR")

            query.addResponseAttribute("NAME1")

            query.addResponseAttribute("NAME2")

            .setSearchTerms("inc");

 

            query.getResultSet(function (rs){

                console.log(rs);

            }, function (jqxhr){

                console.log(jqxhr);

            });

        </script>

    </head>

    <body>

        <!-- do something -->

    </body>

</html>

 

When I open the page in browser, I get the foll error:

400 Bad Request

http://blri4w1012.blrl.sap.corp:8000/sap/bc/ina/service/v2/GetResponse


{"error":{"code":200,"message":"column store error"}}



 

However the sample code provided in the developer guide works correctly.

Kindly let me know if I am missing something.

 

Regards,

Bharath


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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