Hana BOBI dashboard exposed as odata service

I am planning for a business case where I need to get the dashboard output as Odata service which can be consumed by WEBIDE from HCP for SAPUI5 development. Please guide me how i can do that

This leads to the folloing error: Invalid value: not supported type conversion.
The post is splitted as Ctrl+V blocks the editor....
Calling URL:
leads to:

Similar Messages

  • Binding to Odata Service with Input Parameters from HANA

    Hello,
    I'm developing a UI5 application that consumes a SAP HANA OData service to search a database (using fuzzy search). This service receives an Input Parameter, used to query the database.
    So every time the user searches for something I build a new binding path and refresh the model to show the search results in the sap.m.List.
    The Model:
    var hanaModel =  new sap.ui.model.odata.ODataModel("…/services/seed.xsodata");
    this.setModel(hanaModel);
    The search event handler from sap.m.SearchField:
    var listBinding = this.getView().byId("list").getBinding("items");
    listBinding.sPath = "/FoodstuffByNameValuesParameters(P_NAME='" + searchString + "')/Results";
    this.getView().getModel().refresh();
    My question is if this is the correct approach to create the model and bind the list when we have a service with an Input Parameter, or if there is a better way to do it.
    (This approach is actually working).
    Regards,
    Paulo

    i would do
    var       filter = [];
    var selectFilter = new sap.ui.model.Filter("name", sap.ui.model.FilterOperator.Contains, sVal);
          filter.push(selectFilter);
    listBinding .filter(filter);

  • How to expose odata service for input parameter based procedure.

    i have created one procedure in my schema.
    CREATE PROCEDURE TEST
    (in id varchar) AS
    BEGIN
    SELECT * FROM "table" WHERE "ID" = :id;
    END;
    and i am able to call the procedure from console.
    CALL "schema"."TEST"('1')
    my question is how to expose this procedure as odata service.
    is there any way to do it. ???

    hello Avinash. this is where i stuck in my code. i dont know how to wrap procedure in calculation view..
    My procedure code is below.
    create procedure "Get_User_for_Project"(in PROJECT_ID VARCHAR(255), out OUTPUT_TABLE "schema"."test_table")
    language SQLSCRIPT sql security definer  as
    BEGIN
    truncate table "schema"."test_table";
    OUTPUT_TABLE = SELECT "ID", "FIRST_NAME", "LAST_NAME" FROM "schema"."U_USER" WHERE "ID" IN (SELECT "USER_ID" FROM "schema"."U_USER_PROJECT" WHERE "PROJECT_ID" = :PROJECT_ID);
    END;
    my procedure is working fine. i just need help to wrap in calculation view with input parameter.

  • Expose stored procedure as Odata service?

    Hello expert,
    is it possible to expose a stored procedure as Odata service operation?

    Yes, you copy and paste your SQLScript code into a Scripted Calculation View or use WITH RESULT SET VIEW in your SQLScript Procedure. Then you can reference the view in OData.
    John

  • HANA odata service issue

    Hi,
    I've created at basic odata service on my AWS HANA Instance but I'm having issues when testing in the browser.
    Whenever I add the parameter "inlinecount=allpages" as a parameter to the service call I get the error -
    400 Bad Request Error - "Service exception: column store error."
    e.g. http://<hanaserver>:8000/com/kringas/temperature/services/tempService.xsodata/StationDetails?$top=3&$format=json&$inlinecount=allpages
    If I remove the parameter or have it set to "inlinecount=none" the service works correctly, returning the expected results.
    e.g. http://<hanaserver>:8000/com/kringas/temperature/services/tempService.xsodata/StationDetails?$top=3&$format=json&$inlinecount=none
    The reason I need it to work with the "inlinecount=allpages" set is the SAPUI5 app where I'm trying to bind the odata service to a table seems to append this parameter to the service call.
    Thanks,
    Stephen

    &$count=allpages works but
    $inlinecount=allpages gives the below error :
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code/> 
    <message xml:lang="en-US">
    Service exception: column store error. 
    </message>
    </error>
    I have the exact same situation that since it is internally placed by UI5 API.
    Were you able to find the solution / work around for that ?

  • How to build an oData Service to expose DBA Cockpit Monitoring data?

    Hi,
    i need to build an oData Service which exposes some DBA IBM DB2 Monitoring data. (Transaction: ST06 or ST04)
    Every tutorial is showing how to import an RFC, DDIC ...  but how can I find out which RFC, DDIC Structure I have to import to expose some data from the DBA Cockpit to generate an ODATA service.
    Please help...
    Thank you

    Many many thanks,
    i want to build an odata service which exposes some data from my IBM DB2 database.
    For example data like:
    Buffer Pools
    Number 
    Total Size
    KB
    Catalog Cache
    Size 
    KB
    Quality
    Lookups
    Inserts
    Overflows
    Data
    Logical Reads 
    Physical Reads
    Physical Writes
    Synchronous Reads
    Synchronous Writes
    Temporary Logical Reads
    Temporary Physical Reads
    Average Time
    Physical Reads 
    ms
    Physical Writes
    ms
    Buffer Quality
    Overall Buffer Quality 
    Data Hit Ratio
    Index Hit Ratio
    No Victim Buffers
    Index
    Logical Reads 
    Physical Reads
    Physical Writes
    Synchronous Reads
    Synchronous Writes
    Temporary Logical Reads
    Temporary Physical Reads

  • How to use Alias name in OData service in SAP HANA

    Hi,
         I need to change one column name with alias of another name in odata service definition or odata url running in rest client. I am trying to give alias name with as key in the service definition like sql query.
    ex:
    There is one table with column name of PRODUCT_ID. I exporting that table via odata service to SAP UI. In the UI i dont want the product id column as PRODUCT_ID. It should be ike "Prodcut". Like we are using in SQL example
    select "PRODUCT_ID" as "Product" from "producttab";
    But i can't use as key for alias name. So i am getting syntax error.
    I have tried in rest client also ie executing odata file in rest based service. But i got error only.
    If anyone knows about this alias name in odata service, Please help me to resolve this issue..

    Hi Thomas
         Thanks for your reply.
         Actually in odata service definition i am using attribute and calculation views only. But in some case from the model view itself i need to use some alias names to the UI through odata service.
         For example in attribute view i have some columns with name col1,col2... I am getting those columns in UI using  odata service, for particular col2 column i need to change column name as product. And i am using the same view as source of another odata service in that service i need to change that column name as productname.
         In that case i need alias name usage. So that only i am searching alias keyword in odata service.
         Is there any possibility to use alias names in odata service.

  • Is there a way to import large XML files into HANA efficiently are their any data services provided to do this?

    1. Is there a way to import large XML files into HANA efficiently?
    2. Will it process it node by node or the entire file at a time?
    3. Are there any data services provided to do this?
    This for a project use case i also have an requirement to process bulk XML files, suggest me to accomplish this task

    Hi Patrick,
         I am addressing the similar issue. "Getting data from huge XMLs into Hana."
    Using Odata services can we handle huge data (i.e create schema/load into Hana) On-the-fly ?
    In my scenario,
    I get a folder of different complex XML files which are to be loaded into Hana database.
    Then I gotta transform & cleanse the data.
    Can I use oData services to transform and cleanse the data ?
    If so, how can I create oData services dynamically ?
    Any help is highly appreciated.
    Thank you.
    Regards,
    Alekhya

  • How to restrict number of column exposed by xsoData service at runtime

    Hi All,
    I have created one xsoData service over calculation view (imported one BW cube).
    I want to expose few characteristics of cube and a key figure.
    I want to decide this key figure at run time,means if i have say three key figures say quantity, cost and revenue apart of my characteristics.
    when i run this service, i should be able to pass key figure name for which i want to see data.
    Can i have a variable for column name for this purpose and how i can pass it its value ?
    Please suggest.
    Regards,
    Rohit

    Hi Thomas,
    Thanks for the reply.
    I have already used to restrict the number of columns using 'WITH' keyword.
    Say there are 10 characteristics and 10 keyfigures in my calculation view.
    Out of which i have exposed 3 chars and 3 KFs using 'WITH' keyword, for keyfigures i want to have one variable or placeholder in my xS ODATA  service whose value i want to pass from UI( through XS service URL).
    So my service should fetch 3 Characteristics and a keyfigure say qty or cost or revenue.
    Please let me know if anything is still not clear.
    Regards,
    Rohit

  • Create a record using SAPUI5 and ODATA Service

    Hi there,
    since SPS6, SAP HANA should allow CRUD operations using an ODATA Service.
    That sounds nice and so I wanted to give it a try.
    I've started by creating a simple table and set up a tiny application that displays the data in a grid (using a JSON Model) and allows to insert new records by entering data into two textfields and save them as a new record to the databse. That works well, the grid shows the records which I have created using the SAP HANA Studio.
    So I wanted to create new records, and the documentation says very clearly how to create a new record.
    I've tried it this way, but when the request is send I get an 501 Not Implemented error.
    Thats the code I'm using in my SAVE-Button:
    btnSave.attachPress(function() {
       var entry = {};
       entry.id = tfUserId.getValue();
       entry.username = tfUserName.getValue();
       oData.create('/tbl_user', entry, null,
       function() {
          alert("Create successful");
       function() {
          alert("Create failed");
    After that I've tried to create a record using the POSTMAN extension for Chrome browser as mentioned in this cool video by Thomas Jung.
    Unfortunately, this also doesn't work for me. After sending the request I get as respone a sap hana xs login window with Status Code 200 instead of a status code "201 created".
    Here's a screenshot:
    I'm using SAP HANA Cloud Trial.
    Anybody got an idea what I'm doing wrong? Or does ODATA CRUD not work an SAP HANA Cloud Trial?
    Many thanks,
    ben

    Hi Jason,
    exactly, it's the logon page returned that is opened when I open the service URL in the browser. After logging on I can see the results of the ODATA service call.
    The URL must be correctly defined, the grid shows up the data from the ODATA Service.
    And yes, the URL looks OK when expecting in Chrome developer tools...
    Thanks,
    ben

  • Odata services in Design studio 1.2 ?

    Hello All,
    I am exploring Design studio at the moment and I know that we can do scripting along with drag and drop functionalities.
    But I would like to know if it also possible to consume Odata services or send Odata requests to HANA database to get data back and display on charts or tables and so on.
    Any help would be appreciated.
    Thanks

    Hi Sangamesh,
    Based on what you've described, I'd say it's most likely you will need to create a Calculation View.  For more general information about using HANA with Design Studio you may find the following posts useful:
    Using Design Studio with SAP HANA end to end-Part 1
    Using Design Studio with SAP HANA end to end-Part 2
    Regards,
    Mustafa.

  • Testing tools for OData services

    Hi all,
    I managed to get my oData services up and running on my local/Cloud HANA server, using Olingo libraries and JPA.
    Now I'd like to test my services. I can test the queries from the browser and from multiple clients found on the web.
    However PUT/POST requests require to type in manually the body, and this is really time-consuming.
    As a consequence, I'm looking for any tool which could generate POST/PUT request body for oData (much like XMLSpy/soapUI does for SOAP)
    There is no SAP NW Gateway in my landscape so it is not an option, I'd like a desktop tool or browser plugin
    Does anyone know whether such a tool exists?
    Thanks, Regards
    Vincenzo

    Hi Vicenzo,
    you can use the Chrome plugin Postman REST Client. There are two versions available, an extension and a packaged app. I've installed both, but only the extension is able to use the authentication cookie. Thus the packaged app is not suitable if you want to test service which require authentication.
    Regards, Mathias
    Message was edited by: Mathias Boettcher

  • Consuming External OData services from SAP

    Hi All,
    I am trying to sync up SAP to an external system. Using the SAP Netweaver Gateway I am able to expose the SAP Objects as OData service so that the external system can sync with SAP data.
    Now when SAP needs to consume the OData services of the external system can it do through Netweaver gateway ?
    How do we build a bi-directional interface keeping both the systems in sync.
    Thanks
    Ravijeet

    NW Gateway cannot do that. But you can do it with simple ABAP.
    check here.
    Implementing the REST Client - Connectivity - SAP Library

  • SEGW : Copy Project vs Redefine(OData Service)

    Dear Friends,
    This is regarding the differences between various modeling approaches in SEGW
    1. An Existing Project ( and Technical Service , say, Parent 1.0 ) is live
    2. A new Project ( and Technical Service , say, Child 1.0) is to be implemented.
    What is the real difference between
    (A) ... copying the existing project "Parent" to  "Child" and publishing the Technical service as "Child 1.0"
    (B) ...copying the existing project "Parent" to  "Child" and publishing the Technical service as "Parent 2.0"
    (C) ...Redefining the "Parent 1.0" in a new project "Child" and "Overwrite Base/Extend the Service" ...which publishes the Technical Service as "Parent 1.0"
    (D) ...Redefining the "Parent 1.0" in a new project "Child" ..without "Overwrite Base/Extend the Service" .. and publish the Technical Service as "Child 1.0"
    In other words, what really is the idea of "Redefine >OData Service (GW)" ...( with / without "Overwrite Base/Extend the Service" )
    Many thanks for your patience
    Suresh

    Hi Suresh,
    by copying the project you create a complete independent new project, which does not have any relation to the original project. The runtime objects (model provider classes and data provider classes) are independent from those of the first project.
    By redefining the project you can select which entities and which associations you want to use in your child project. Those redefined objects can't be changed in the child project, you only can redefine names and labels. On the other hand if you change any of the redefined object attributes in the parent project the changes will also be available in the child project.
    And the data provider class of the child project inherits from the one of the parent project.
    So you have a real parent-child relationship.
    Redefining with option "Extend" means to add objects of the parent project, which haven't been redefined before.
    Redefining with option "Overwrite" means to redo the redefinition. All redefinitions done earlier will be overwritten. Objects which had been redefined before, but are not selected in the new redefinition will be deleted from the child project.
    Hope that makes it a little bit clearer.
    Regards,
    Juergen

  • Error while running an Odata service in Advanced Rest Client

    Hi Experts,
    We have created one simple OData model (using Integration gateway) with datasource as SOAP web service. We are able to test the SOAP Web service in STORM tool and getting desired response. But when we run the converted OData URL in Advanced REST Client we are getting the following exceptions/errors.
    Could not send message
    Also, while looking at SMP3 server log, we came across below error logs:
    +0530#ERROR#com.sap.gateway.core.ip.odata.ODataErrorCallbackImpl##anonymous#http-bio-8080-exec-1###handleError(): failed to serve request for URI http://<ip>:8080/gateway/odata/sap/REL2;v=1/GetUserDets(Applid='****',Applpwd='****',Fund='***',Userid='****.***@gmail.com',Password='***@1234'), message = Could not instantiate data provider based on class null |
    +0530#ERROR#com.sap.gateway.core.ip.runtime.PathInfoExtractor##anonymous#http-bio-8080-exec-1###null java.lang.IllegalArgumentException: null
    Any help?
    Regards,
    JK

    Jitendra Kansal
    After updating my DB and do the ODATA service after completion of that hit the server in chrome it shows error like
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code/> 
    <message xml:lang="en"> 
    Could not instantiate data provider based on class null
    </message>
    </error>
    expet that service i did another one it is working fine using the same server with out set the proxy

Maybe you are looking for

  • Error while loading data from EXCEL to OWB

    Hi Marcos, Thank you. I got way. I did in the following steps... 1. I created system dsn odbc_excel. 2. I created initSID.ora 3. I updated in the listener.ora. 4. I created a soure module in odbc in owb. 5. I created destination module in oracle wher

  • Satellite Pro A300 PSAGDE re-booting when plugged in

    I have had this laptop put away for a while as I couldn't work through this problem, but I'm having another try. The laptop is a Satellite Pro A300 PSAGDE. The problem I am haiving is that the laptop would re-boot whenever I connect the PSU, but not

  • Viruses and PCs within a Network

    I am the only Mac person in a network of PCs in an office with a server and a number of PCs. I don't really use the network except to access the internet through an ethernet cable from a DSL line, but with the Ethernet cable hooked up to my computer

  • Compiler error "oracle.xml.parser.v2.XMLElement" not found in class com.ora

    Compiler error "oracle.xml.parser.v2.XMLElement" not found in class com.oracle.demos......? I am currently testing a simple sample application with a java code similar to the one shown at the bottom of this post. However during deployment/compilation

  • Errors in Transfer Routine for 0MATERIAL_ATTR

    I created a transfer routine on the 0Material_attr upload that needs to populate an attribute called Z_CPFX. Problem is, I need to look at the material number, material group, and the Material Description, and then populate the result based on what I