Accessing SAP HANA table via Lumira

Hi folks,
I just tried to access a table in HANA via SAP Lumira. Unfortunately I´m just able to access Analytic Views and Calc Views with SYSTEM user per default. Which rights are necessary to grant to the user to get access. It worked with PA on another client before.
Regards, Christoph.

Hi,
the Help docu suggests (page 27)http://help.sap.com/businessobject/product_guides/vi01/en/lum_117_user_en.pdf
With SAP Lumira you can create charts on data available as:
Analytic views
Calculation views
Yes, I believe the PA jdbc HANA 'reader/writer' component has different capabilities.
Regards,
H

Similar Messages

  • Access SAP database table from different SAP server

    Hi,
    May i know is that possible to access the SAP database table from server A to server B without write a program on server A? Is it possible for direct access the SAP database table.
    Best regards,
    Gan

    Hello,
    you could use the RFC-Modules RFC_READ_TABLE or RFC_GET_TABLE_ENTRIES on server A.
    Precondition: you need a RFC-Destination from B to A.
    And a little drawback: you get only the first 512 byte of each table entry.
    Regards Wolfgang

  • Accessing MySQL InnoDB tables via JDBC using Oracle SQL Developer

    I had posted a problem in the Oracle SQL Developer forum with how that application (v1.1) accesses MySQL InnoDB tables and someone replied that the "[data migration] team created the integration with MySQL", so I am posting here in hopes of learning more about the problem.
    Here's a summary:
    When I use Oracle SQL Developer to query MySQL InnoDB tables, I need to issue a "commit" before I do each query to ensure that I am getting current results. Otherwise, it appears to be using a snapshot as-of the last commit. Is this a problem with SQL Developer, or a JDBC configuration, or MySQL problem even?
    The full details are here:
    Re: MySQL InnoDB tables

    Hi,
    I've posted a response to your original thread.
    Regards,
    Dermot.

  • UNABLE TO Connect to a Trial SAP HANA Instance via the Eclipse IDE

    As per the procedure explained  on SAP HANA Cloud Platform
    Go to Window Open Perspective Other , select SAP HANA Administration Console and choose OK.
    From the Systems context menu, choose Add Cloud System.
    in my eclipse id unable to find SYSTEM context menu..
    Would anyone help to resolve what to type in Instance no and why my system context menu different from the one in tutorial

    As described in the Prerequisites section, you need to install SAP HANA Cloud Platform Tools for Connecting to SAP HANA Systems: SAP HANA Cloud Platform Documentation, then use Add Cloud System.

  • How to access SAP database tables with Java (Jco)

    Hi!
    I need to develop a Java Client for SAP with access to the SAP database. Is there a way to do this directly in Java (the db access) or do I have to use some ABAP logic in between to get the information to the java client? If so, are there any existing ABAP functions to read AND write db tables? Or do I have to create my own wrappers for each table I need to read and write?
    Thanks,
    Konrad

    hi,
    i am sending code .i think it will help u
         try {
                   // Add a connection pool to the specified system
                   //    The pool will be saved in the pool list to be used
                   //    from other threads by JCO.getClient(SID).
                   //    The pool must be explicitely removed by JCO.removeClientPool(SID)
                        this.objClient = JCO.createClient(strClient, // SAP client
                        strUserID, // userid
                        strPwd, // password
                        strLang, // language
                        strHost, // host name
                        strSysNr);
                   this.objClient.connect();
                   // Create a new repository
                   //    The repository caches the function and structure definitions
                   //    to be used for all calls to the system SID. The creation of
                   //    redundant instances cause performance and memory waste.
                   this.objIRepository =
                        JCO.createRepository("MYRepository", this.objClient);
              } catch (JCO.Exception ex) {
                   System.out.println("Caught an exception: \n" + ex);
              JCO.Function objFunction =
                   this
                        .objIRepository
                        .getFunctionTemplate("BAPI_MATERIAL_AVAILABILITY")
                        .getFunction();
              objFunction.getImportParameterList().setValue(strPlant, "PLANT");
              objFunction.getImportParameterList().setValue(strMaterial, "MATERIAL");
              objFunction.getImportParameterList().setValue(strQuantity, "UNIT");
              this.objClient.execute(objFunction);
              JCO.Structure ret =
                   objFunction.getExportParameterList().getStructure("RETURN");
              String strRetMsg = ret.getString("MESSAGE");
              if (strRetMsg.equals("Unit  is not created in language")) {
                   arrResult.add("error");
                   return arrResult;
              } else {
                   String strQty1 =
                        objFunction.getExportParameterList().getString("AV_QTY_PLT");
                   if (strQty1.equals("0"))
                        result = "no";
                   else
                        result = "yes";
                   arrResult.add(result);
                   return arrResult;

  • Create MBO(SUP) of SAP HANA table

    Hi Experts,
    I am getting error while creating Mobile Business Object using SUP of HANA database's tables,anybody can guess me,what  am doing mistake.
    Thanks,
    Shambhu Nath

    Hi Shambhu,
    Please share the steps what you have done after deploying mbo to server? How did you create menuitem? What all settings you have provided for this? Please share screenshot for better understanding.
    BTW:
    Not sure if you get a chance to see this thread, please check
    Connecting SUP with HANA DB
    Rgrds,
    Jitendra

  • How to access rows in table via script

    I have a floating numerical field in a table that's populated by a database. When previewing it uses a sample XML file. The path to the field is:
    topmostSubform.Page.Content.Repeater.Table1.Row1.F11a
    That was obtained by copying the path from the script window. I have a numerical field which I hope to get the total into someday, but for debug purposes, in the calculate event I used the following:
    var row = topmostSubform.Page.Content.Repeater.Table1.Row1;
    row.all.length;
    This displays 28 which is the correct number of rows on the page. To try and sum all F11a fields I tried the following:
    var row = topmostSubform.Page.Content.Repeater.Table1.Row1;
    var sum = 0;
    for (var j=0;j<row.all.length;j++) sum += row[j].F11a.rawValue;
    sum;
    I don't get anything with that. Probably there's a script error. Could someone tell me what to do. Thanks

    Weird, I replied to this this afternoon from work but my reply doesn't seem to exist!
    Search in the help under "Calculating sums of fields", there are Javascript examples of calculating sums from within repeating subforms which is what table rows are.
    If you use Formcalc it's quite easy to do with wildcards. In the help search for "to perform calculations in a table" and there's a picture that shows how to use wildcards for calculating in tables. Basically it's along the lines of "sum (Table.Row[*].Field[*])
    So in your case the following might work:
    sum (topmostSubform.Page.Content.Repeater.Table1.Row1[*].F11a[*])

  • Writing a java program to access SAP tables using SAP JCO

    Hi all,
           I have a requirement where I need to access the VBAK table and get some values out of it based on a query on some of it fields. I would like to know how this can be done via a Java program by utilising the SAP JCo library. Has anyone done this before? A sample program would be very helpful.
    Thanks in advance!

    Hi SAM,
    Welcome to SDN!!!!!!
    Chk this help doc.
    http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm
    Also chk these thread.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8798be90-0201-0010-d093-85f728778d37
    Re: How to access SAP database tables with Java (Jco)
    Regards.
    Maha

  • Crystal Reports: access to SAP BW tables in own namespace

    Hi BO experts
    we are running XI3.1 SP2 including reporting tools, integration kit and so on. The installation and the integration to SAP BW is working properly for most szenarios.
    Starting from Crystal Reports we would like to access a SAP BW table which was generated in an own namespace. By starting the database assistant we are connecting with the driver "SAP-tables,-clusters,or -functions" and see some tables in "DD (data lexicon)". But we can not find the self generated table in there. It is only possible to access the tables in namespace "/1CPMB/", "/B28/" and "/BI0/".
    How can we access tables from another namespace? Are there any restrictions for accessing SAP BW tables, e.g. namespace, configuration, settings etc.to stick to?
    Thank you very much for your suport in advance.
    Kind regards.
    Markus

    Hi Markus,
    just go to the Database Expert, select the connection to your BW server on the left window, press the right mouse button and choose Options from the context menu. In the field Table name LIKE: you can restrict the names of the displayed tables:
    eg. assuming your namespace is /ZMYNSP then just give there /ZMYNSP% ( % is a wildcard)
    Close then the Options window and choose Refresh using again the context menu (or just press F5)
    CR can only display a limited number of tables when you expand your BW System and by using the Options panel as described above you can let the system display exaclty the tables you need.
    Regards,
    Stratos

  • Universe based on SAP HANA OLAP connection

    Can I create universe based on SAP HANA OLAP connection ?
    How can i access SAP HANA view which was created using OLAP connection in WEBI and Dashboard? It does not allow creating Universe on top of SAP HANA OLAP connection and give an error.
    SAP BusinessObjects query and reporting applications can directly connect to OLAP SAP HANA connections. No universe is required, only a published OLAP SAP HANA connection.
    Thanks

    OLAP connection are only meant for tools that make use of OLAP connectivity only like BEx ..and HANA analytic views and calculated views are also treated as OLAP cubes for them..
    So these connection is only available with analysis product like Analysis Office (which is meant to be used with Bex or OLAP cubes ) and Design studio which is again mainly built around OLAP paradigm..
    You can not create a universe or Webi on Olap connection on HANA as of now.. However it could be like exposed in a future release of BO which is not public yet...

  • Read SAP XI table

    Hi everybody,
    in BLOG:
    Pipeline Approach in SAP XI Implementations.
    writes about reading a SAP XI table via RFC-Lookup in UDF.
    The speciality is, that the table is osted an XI.
    Does anybody know, how to set up a RFC connection/communication channel from SAP XI integration engine to XI-ABAP Stack to make a RFC-Lookup?
    Thanks, Regards
    Mario

    Hi,
    >>Does anybody know, how to set up a RFC connection/communication channel from SAP XI integration engine to XI-ABAP Stack to make a RFC-Lookup?
    Add the XI business system to the ID and create an RFC channel to it. Specify the XI server URL and the logon crediantial in it.
    In my blog Impede Duplicate Files a table is created in XI ABAP Stack and every time a look is made to this table using the RFC channel that has been configured in the way that I have specified above.
    Thanks
    SaNv...

  • SAP Hana FAQ Frequently Asked Questions

    Hi All,
    SAP have published a fantastic Knowledge Base Article containing an extremely detailed
    SAP Hana FAQ - Frequently Asked Questions
    Go and download it now, it's here:
         2000003 - FAQ: SAP HANA
    And then come back to it from time to time, because not everything in there is released yet.
    Best regards,
    Andy.

    For the sake of completeness, there are now a number of very useful Hana FAQ OSS Notes, here's the list so far:
    . OSS 2000003 - FAQ: SAP HANA
    . OSS 2000000 - FAQ: SAP HANA Performance Optimization
    . OSS 1640741 - FAQ: "DB users for the DBA Cockpit for SAP HANA"
    . OSS 2039883 - FAQ: SAP HANA database and storage snapshots
    . OSS 2044468 - FAQ: SAP HANA Partitioning
    . OSS 2057595 - FAQ: SAP HANA High Availability
    . OSS 1999997 - FAQ: SAP HANA Memory
    . OSS 1999880 - FAQ: SAP HANA System Replication
    . OSS 2044468 - FAQ: SAP HANA Partitioning
    . OSS 2000002 - FAQ: SAP HANA SQL Optimization
    . OSS 2073112 - FAQ: SAP HANA Studio
    . OSS 1999998 - FAQ: SAP HANA Lock Analysis
    . OSS 1905137 - FAQ: SAP HANA - Obsolete tables
    . OSS 1999930 - FAQ: SAP HANA I/O Analysis
    . OSS 1914584 - SAP HANA Live Browser FAQ
    . OSS 2057046 - FAQ: SAP HANA Delta Merges
    . OSS 1642148 - FAQ: SAP HANA Database Backup & Recovery
    . OSS 2104291 - FAQ - SAP HANA multitenant database containers
    . OSS 2100009 - FAQ SAP HANA Savepoints
    . OSS 2082286 - FAQ: SAP HANA Graph
    . OSS 2081591 - FAQ: SAP HANA Table Distribution
    . OSS  2053330 - FAQ: Operations Recommendation on SAP HANA Alerts
    If you are interested in Hana Basis related OSS Notes, then the longest list of Hana OSS Notes publicly available on the internet is over here.
    Best regards,
    Andy

  • Updating database table via program

    Hi,
    I am updating a DB table (Sap standard table) via my program.
    I have few doubts with regard to same. They are given below,
    1.  I came to know that it is not best practise to update the sap standard table via program using "update" statement. Why so? Is there any other way or statement in doing the same?
    2.  The sap standard table which i update via my program is BDRGIN. Now my question is, when my  program is modifying the values of the table, if some other user also modifies the value at the same time via SE16 then conflict occurs. How to resolve it? Is SAP uses any automatic handling for such conflicts?
    kindly help me out.
    Regards,
    Raghavendraprasad.N

    Hi,
    Its not a good practise to modify the Standards tables through programs, because most of the standard tables will be interdependant with forign key relation ships (check table relations). So incase we create an irrelavant entry, then it will cause a lot of confusions.
    For example we create entries in MARA/MAKT table using MM01/02 transactions.
    There are a few standard tables like TVSA (containing customising data), these have to be maintained through the SPRO transaction. You can open SPRO transaction and search for the node to maintain entries in it or you can go to the transaction SM30 and you can give the table name and click on customizng to go the SPRO node.
    Still if you are trying to create entries in your table, Enque/Lock the table do the updations and then Deque/Unlock the table, so that there will be no conflicts happening during that time.
    Regards,
    S.Dakshna Nagaratnam.

  • Error using sap.m.SegmentedButton in sap.ui.table.Table

    Hey,
    I'm trying to place SegmentedButtons in a SAP mobile table via DataBinding.
    Everything is fine until I click on the SegmentedButton. Then the console shows the following error:
    Uncaught TypeError: Cannot read property '$' of undefined           SegmentedButton-dbg.js:714
    → The variable "sLastSelBtnId" is null when the error occurs!
    var oTable = new sap.ui.table.Table({
        selectionMode: sap.ui.table.SelectionMode.None,
        columns: [
                 new sap.ui.table.Column({
                      label: new sap.ui.commons.Label({
                           text: "Description"
                      template: new sap.m.Label({
                           text: "{status}"
                 new sap.ui.table.Column({
                      label: new sap.m.SegmentedButton({
                           buttons: [
                                          new sap.m.Button({ text: "on" }),
                                          new sap.m.Button({ text: "off" }),
                                          new sap.m.Button({ text: "unkown" }),
                      template: new sap.m.SegmentedButton({
                           buttons: [
                                          new sap.m.Button({ text: "on" }),
                                          new sap.m.Button({ text: "off" }),
                                          new sap.m.Button({ text: "unkown" }),
    Does anyone know the problem?
    Regards
    Robin

    No, sorry! The Segmented-Button in the header of the table still works.
    But if you you DataBinding to generate some rows, these generated buttons will not work:
    var oTable = new sap.ui.table.Table({ 
      selectionMode: sap.ui.table.SelectionMode.None, 
      columns: [ 
        new sap.ui.table.Column({ 
          label: new sap.m.Label({ 
            text: "Description" 
          template: new sap.m.Label({ 
            text: "{status}" 
        new sap.ui.table.Column({ 
          label: new sap.m.SegmentedButton({ 
            buttons: [ 
              new sap.m.Button({ text: "on" }), 
              new sap.m.Button({ text: "off" }), 
              new sap.m.Button({ text: "unkown" }), 
              template: new sap.m.SegmentedButton({ 
              buttons: [ 
              new sap.m.Button({ text: "on" }), 
              new sap.m.Button({ text: "off" }), 
              new sap.m.Button({ text: "unkown" }), 
    var model = new sap.ui.model.json.JSONModel({ "states": [ { "status" : "on" }, { "status" : "off" },{ "status" : "on" },{ "status" : "off" },{ "status" : "unkown" },{ "status" : "unkown" },{ "status" : "on" },{ "status" : "on" },]});
    oTable.setModel(model);
    oTable.bindRows("/states");
    oTable.placeAt('content');
    Tested on JSBin.
    Regards
    Robin

  • Can't use filter when accessing hana table through link from another table in sapui5

    Hi all,
    Have a strange one and I was wondering if someone had come across this before.
    Hana table structure
          entity SalesOrder {
        key element name : String;
        element contact : Association[0..*] to Contact via backlink order;
    entity Contact {
    element location: Location;
        element order : Association to SalesOrder;
    ==
    each sales order has a number of contacts.
    In javascript, if I bind on list of contacts directly then I can use the filter
    oRowRepeater.bindRows("/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    and if I enter link i returns the number of entries
    Contact/$count?$filter=location eq 'Germany'
    But if I get contacts through the sales order it doesn't allow me to use the filter,
    oRowRepeater.bindRows("/SalesOrder('mike')/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    I can return the contacts same as accessing them directly and i can get the information such as
    new sap.ui.commons.TextView({text: "{location}"}) same as before but only difference is that i can't filter.
    When I try the following I get error
    /SalesOrder('mike')/Contact/$count?$filter=location eq 'Germany'
    Error
    "message": {
                "lang": "en-US",
                "value": {
                    "type": "ODataInputError",
                    "message": "Bad Request URL: U"
    When I open Chrome Developer Tools I see the following error
    SalesOrder/contact/$count?$filter=location%20eq%20%27EMEA%27 400 (Bad Request)
    Basically the $count doesn't work if you access contacts indirectly even though the link is there.
    Is this a bug or am I doing something wrong?
    Hana is sp8, I am up to date with almost everything.
    Many thanks,
    Matthew

    for the reading/writing from oracle to access, you could do something like this:
    for table in oracle/access with fields of id(number), name(varchar/text):
    Connection oconn = //connect to Oracle
    Connection aconn =  //connect to access
    //create the insert statement into access table
    PreparedStatement apstmt = aconn.prepareStatement("INSERT INTO accesstable (id, name) values (?,?)");
    //select all the results neeed from oracle table
    Statement ostmt = oconn.createStatement();
    ResultSet rs = ostmt.executeQuery("select id, name from oracletable where...");
    while ( rs.next() )
         apstmt.setLong(1, rs.getLong(1));
         apstmt.setString(2, rs.getString(2));
         apstmt.addBatch();
         //if your driver doesn't support batching, just use this:
         //apstmt.executeUpdate();
    //use this only if you use batch statements
    apstmt.executeBatch();
    rs.close();
    stmt.close();
    apstmt.close();
    oconn.close();
    aconn.close();

Maybe you are looking for