How to get DIMENSION and CUBE data into JDeveloper???

i have build cube and dimension using oracle analytical workspace manager (AWM),
how i can get the cube and dimension data using jdeveloper 11gR2??
does anybody know?
any extension? or what??

The simplest thing is to use JDBC (java.sql package) to access the cube and dimension views through SQL. Something like this (with appropriate error handling).
String sql = "SELECT dim_key FROM product_view";
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery(sql);
while (rs.next())
  // Process row here
rs.close();
statement.close();  If your requirements are more complicated or you feel adventurous, then you can use the Java OLAP API. This is the code used by the data viewer in AWM. (Look for olap_api.jar in your database installation -- olap\api\lib\olap_api.jar my windows instance.)

Similar Messages

  • How to get new and updated data into LO Excel in Xcelsius

    Dear Experts,
    I have created dashboard on top of webi report by using Live-Office connection. Latest data of webi report is imported into excel and mapped data with components and generated SWF file and exported into server.
    To day my webi report has latest instance with new and updated data. But until unless by clicking "Refresh All Objects" i am not getting updated data into excel.
    When i am trying to open dashboard in BI Launch Pad/CMC it is showing data whatever exist in excel(i.e yesterday data). But here we need to show data of latest instance of webi report.(i.e New and updated data as of now).
    I have selected option "Latest instance: From latest instance scheduled by" in "refresh options".
    My Question & Doubts:
    1) Is it mandatory to open dashboard every day and need to click on "Refresh All Objects" to get updated data into excel or dashboard.
    2) Is there any option to automate this process.
    Regards,
    PRK.

    Hi,
    Schedule the webi report to get the latest data from the source. To answer your query no is doesn't require to open the dashboard every time to refresh the excel to get the latest data.
    Please use the Refresh Before Components are Loaded: Select this option to refresh the data each time the model loads and to use that data as the initial data for the model (using a Reset Button component, it will reset the data to the values from the last time the model was loaded).
    You are using the Live Office  so here automatic refresh is not possible without touch the swf file, you need to use the refresh but to get the latest data. If you are using QAAWS, Web Service & XML then automatic refresh is possible.
    For more information please check the below document for in-depth idea on the design pattern.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02e31fb-3568-2e10-e78f-92412c3c0a96?overridelayout=t…
    Kindly revert for more clarification!!!
    --SumanT

  • How to get the plsql table data into output cursor

    Hi,
    Could anybody please help me.
    Below is an example of the scenario..
    CREATE OR REPLACE PACKAGE chck IS
    PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR);
    TYPE get_rec is record (ename varchar2(20),
    eno number(12));
    TYPE t_recs IS TABLE OF get_rec INDEX BY BINARY_INTEGER;
    emp_tab t_recs;
    END chck;
    CREATE OR REPLACE PACKAGE BODY chck AS
    PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR)
    is
    BEGIN
    select ename, eno
    bulk collect into emp_tab
    from emp;
    open oc_result_cursor for select * from table(emp_tab); -- I believe something is wrong here ....
    END;
    END chck;
    the above package is giving me an error:
    LINE/COL ERROR
    10/29 PL/SQL: SQL Statement ignored
    10/43 PL/SQL: ORA-22905: cannot access rows from a non-nested table
    item
    let me know what needs to be changed
    Thanks
    Manju

    manjukn wrote:
    once i get the data into a plsql table, how to get this plsql table data into the cursor?There is no such thing as a PL/SQL table - it is an array.
    It is nothing at all like a table. It cannot be indexed, partitioned, cluster, etc. It does not exist in the SQL engine as an object that can be referenced. It resides in expensive PGA memory and needs to be copied (lock, stock and barrel) to the SQL engine as a bind variable.
    It is an extremely primitive structure - and should never be confused as being just like a table.
    Its use in SQL statements is also an exception to the rule. Sound and valid technical reasons need to justify why one want to push a PL/SQL array to the SQL engine to run SELECT 's against it.

  • How to get header and item data in ME_PROCESS_PO_CUST ?

    Hi all,
    How can I get header and item data in me_process_po_cust~process_account ? I have to do some validation for account assignment catagory in item overview.

    Hi ,,
    Further make the following  changes in method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
    Get Line item data using method:
    CALL METHOD IM_ITEM->GET_DATA    
      RECEIVING
          RE_DATA = W_ITM_DATA.
    and then validate the item data from structure  W_ITM_DATA..
    Same as follows for Header Records:
    In method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_Header.
    Thanks
    Shambhu

  • How to Get the Previous Transactional Data into Special Purpose Ledger

    Hi,
    1). We have implemented Special Purpose Ledger. After implementing SPL, we are generating documents and getting the postings into SPL. Now I need to bring the previous postings which were entered before Special Purpose Ledger Setup. Please Help me on how to bring the transacctional data into Special Purpose Ledger.
    2).  Is it possible to define A/R Aging by Customers? in  Special Purpose Ledger by using Report Painter?
    3). What is the use of Allocation Cycles like Assessment and Distribution in Special Purpose Ledger?
    Please clarify me on above 3 points.
    Thanks
    Yadayya
    Edited by: Dogdays on Aug 5, 2011 8:02 AM
    Edited by: Dogdays on Aug 5, 2011 8:03 AM

    I have experience in intergrating project accounting to the general ledger in a data warehouse using discoverer to show the results.
    The solution I developed for my compnay is to ensure all entries from all sub-ledgers including manual journal entries are moved to the data warehouse tables have project information based on PA autoaccounting rules.
    The company I work for was interested in viewing reports that cubed cost centers (dept's.) to projects and to translate all entries (not just account balances) to USD for thier foriegn set of books. So, projects can be seen company wide in USD at lowest entry level. The solution I gave them solved the problem and they are able to view reports and evaluate costs by cost centers and projects on an enterprise wide application.
    If this is what you are looking for let me know.
    about my self : I have a B.S. in Computer Science (Theoretical Track) and 17 yrs of accounting and book keeping experience including consolidation and multi-currency sets of books.

  • How can we read and write data into plist using javascript in a html5 widget to be implemented into iBooks?

    I had been trying to read from a plist to get file names of data files and it works fine when i run it in safari but after making its widget and putting it into iBooks it doesnot works. Please tell me any new method to read p list or correct my function if there is any correction. my function is following.
    function plistread(n)
              if (window.XMLHttpRequest)
                   xhttp = new XMLHttpRequest();
               else
            xhttp = new ActiveXObject("Microsoft.XMLHTTP");
                   xhttp.open("GET", "Spell_Check_3.plist", false);
        xhttp.send();
        xmlDoc = xhttp.responseXML;
        var x = xmlDoc.getElementsByTagName("dict");
        var imgnamex = x[n].getElementsByTagName("string")[0].childNodes[0].nodeValue;
        xlength=x.length;
              return imgnamex;

    See i need to access a plist file in my html5 widget, i implemented it in java script but it's not working so is there any other way to take out values from a plist file.

  • How to get Filtered external list data into infopath form

    Hello , 
    Below I am adding issue about filtered external list .
    I Created a external list which contains columns like projectuid and project name , I am filtering the list by adding a custom webpart and after filtering it displays only the filtered rows .
    I created a infopath form and i am using the same external list as data source . I am using the data source for an drop down list/ text box  .My requirement is to display only the filtered values in the drop down list but its displaying all the values
    present is in the external list .
    Is there any possibility to get only the filtered values into the drop down list ? 
    Indresh

    Actually, after thinking about it some more, you can filter the dropdown in InfoPath, but it depends on what you're filtering and whether that changes. If you want to filter it, you can go to the "control properties," then under "Entries," you can click
    the button on the right. Then "filter data" in the popup.
    As far as sending the information to a new list, you would have to use the "content organizer" under "manage site features" in your "site actions," or you would have to create a workflow in SP Designer.
    cameron rautmann

  • How to get first and last date of previous month

    To set default values in selection screen,I want first and last date of the previous month.
    Also I want the first and last dates of previous quarter.
    The quarters can be only january to march, apr to june, jul to sept, oct to dec.
    I want to run a program on beginning of each month by job scheduling having <b>selection screens</b> for the above monthly and quarterly dates.

    Hi Suhas,
    Use the below code.
    DATA: v_date LIKE sy-datum.
    DATA: v_month_begin_date TYPE sy-datum,
          v_month_end_date TYPE sy-datum,
          v_month(2) TYPE n,
          v_month1(2) TYPE n,
          v_quarter TYPE i,
          v_year(4) TYPE n,
          v_quarter_begda TYPE sy-datum,
          v_quarter_endda TYPE sy-datum.
    v_month =  sy-datum+4(2).
    IF v_month = '01'.
      v_month = '12'.
      v_year = sy-datum+0(4) - 1.
    ELSE.
      v_month = v_month - 1.
      v_year = sy-datum+0(4).
    ENDIF.
    CONCATENATE v_year v_month  '01' INTO v_date.
    CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
      EXPORTING
        iv_date             = v_date
      IMPORTING
        ev_month_begin_date = v_month_begin_date
        ev_month_end_date   = v_month_end_date.
    v_month1 = sy-datum+4(2).
    IF v_month1 = '01' OR
       v_month1 = '02' OR
       v_month1 = '03'.
      v_quarter = 1.
    ELSEIF v_month1 = '04' OR
           v_month1 = '05' OR
           v_month1 = '06'.
      v_quarter = 2.
    ELSEIF v_month1 = '07' OR
           v_month1 = '08' OR
           v_month1 = '09'.
      v_quarter = 3.
    ELSEIF v_month1 = '10' OR
           v_month1 = '11' OR
           v_month1 = '12'.
      v_quarter = 4.
    ENDIF.
    IF v_quarter = 1.
      v_quarter = 4.
      v_year = sy-datum+0(4) - 1.
    ELSE.
      v_quarter = v_quarter - 1.
      v_year = sy-datum+0(4).
    ENDIF.
    CALL FUNCTION 'HR_99S_GET_DATES_QUARTER'
      EXPORTING
        im_quarter = v_quarter
        im_year    = v_year
      IMPORTING
        ex_begda   = v_quarter_begda
        ex_endda   = v_quarter_endda.
    WRITE:/5 'previous month begin date : ', v_month_begin_date.
    WRITE:/5 'previous month end date   : ', v_month_end_date.
    WRITE:/5 'previous quarter begin date : ', v_quarter_begda.
    WRITE:/5 'previous quarter end date : ', v_quarter_endda.
    Message was edited by:
            Velangini Showry Maria Kumar Bandanadham

  • How to get Start and End date

    Hi All,
    I need to get the start date and end date of a month by passing parameter like 'MAy-2011'
    Result should be start date - 01-MAY-2011 and end date - 31-MAY-2011
    thnxs

    I did the documentation drill down for you :
    http://tahiti.oracle.com/
    http://www.oracle.com/pls/db112/homepage?remark=tahiti
    http://www.oracle.com/pls/db112/portal.all_books
    http://www.oracle.com/pls/db112/portal.all_books#index-SQL
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/toc.htm
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions.htm#i1482196
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions002.htm#i88891
    from here on you should be able to find a solution on yout own.

  • JSP/BC4J app: How to get view object row data into a scriplet variable?

    I have a JSP application using BC4J data tags. Within a rowsetiterate tag, how can I get the data value of an attribute for the current row into a scriplet variable?
    Thanks,
    Steve

    Using the <jbo:Row> tag like this:
      <jbo:RowsetIterate .... >
        <%--
         | Establish a scriptable variable "curRow" for the current row
         +-->
        <jbo:Row id="curRow" action="current"/>
        <%
          String foo = (String)curRow.getAttribute("YourAttrName");
        %>

  • How to get header and item data.

    Hi All,
    I want to take for each FG material how much RAW material consum for that perticular FG material.
    for eg.
    for this fg mat     20000881  200.00 qty
    raw material used for this 40000334    50.00
    40000335    100.00
    40000336    50.00
    so how i can take in internal table and how do i link them.
    thanks,
    ashish.

    create an internal table it_fin with FG material and qty.
    Then use avalable data as follows
    " fg is the variable of type wa-fg.
    " qty is the variable of type wa-qty
    loop at itab into wa.
      if wa-fg eq fg.
        qty = qty + wa-qty.
      else.
        wa_fin-mat = wa-mat.
        wa_fin-fg = wa-fg.
        wa_fin-qty = qty.
        append wa_fin into it_fin.
        clear: qty,fg.
      endif
      fg = wa-fg.
    endloop.
    Regards,
    Lalit Mohan Gupta

  • How to add attachment and export data into MS Access

    Let's say that I use PDF file to capture data from users and import the data to MS Access database (via XML). I wonder if there is a way to let user add attachments in Acrobat Reader and when the data is exported, the attachments are kept separately in a new column in MS Access.

    If you are trying to do this with script from within the PDF ...I do not think so. You woudl not be able to get the stream of bits that make up the attachment to be able to write it to the DB.
    Paul

  • To get evt_creation_date and _evt_creation_time data in a function module

    Hi gurus,
    How do we get evtcreation_date and evtcreation_time data into check function module or implementation of object type? I am using cdhdr and cdpos and able to write my own logic.
    Thanks in advance!!!
    Xevi G.

    I think check FM's contain these value in any paramters.
    Otherwise check CDHDR/CDPOS with appropriate OBJECT number etc.
    This question can more appropriately answered in WORKFLOW forum.
    Try [this|http://www.*******************/2007/09/work-flow-2.html] link also.

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How to do reconcilization of ODS data and CUBE data

    Hi All,
    How to do reconciliation of ODS data and CUBE data,I know how to do reconciliation of R/3  data and BW data.
    Regards.
    hari

    Hi,
    create a multicube based on your ODS and cube, identify commen characteristics and perform the key figure selections; create then a query showing both information from the cube and ODS with perhaps some formula showing differences between key figures.
    hope this helps...
    Olivier.

Maybe you are looking for