How SAP BW system read cube data?? - Important

Hi BW and database level gurus
I have very simple question . I want to know how SAP BW system read data from the cube.
If I write a simple BEx query and execute - how does system gets data from cube?
Here is what I wish to know -
1) Does it use SELECT statement after all to get data based on set of SID or DIM ids?
2) What is the backend data retrieval architecture look like . Can someone provide me some digram to explain ?
3) Data in cube is stored in ROLAP concept so then will I get same performance if I had simple transparent table? why should we use CUBE then?
4) What are the steps that happens in backend ABAP that get us the expected result?
Thanks and I will appreciate your reply
AG
Edited by: AM on Apr 10, 2008 2:48 AM

Hi,
Yes, it uses select statements to fetch data. It initially makes selection from the dimension tables for the necessary characteristics and then gets the corresponding key figures from the fact table.
say for example, to fetch the top sales vales and customers from a region say India. Then, the select statement will make all customers from customer dimension belongining to the region India from the region dimension and finally gets the corresponding values from the fact table.
If you use simple table, OLAP concept cannot be applied, and the way the master data is retirved for the corresponding transaction data is far more efficient in olap.
Thanks

Similar Messages

  • How to export the single cube data from SAP repository

    Hi ,
    I have a requirement to export the single cube data ( there was so many cubes in the SAP repository) as an XML file or a .csv file or a flat file.
    And also looking for how to do cube quering?
    Thanks in advance ,
    Ramakrishna Thota

    HI RK,
    1. You can use Open Hub service to export data into CSV or File Format.
    2. You can also use RSCRM_REPORT transaction to export data in to File, for this you need to create query first.
    3. You can also use APD to generate file of your cube data.
    thanks
    Ramesh Babu

  • How to get system time and date with PHP

    Dear Mr.Craig,
      Thanx a lot. We are running SRM 5.0 (RAMP - Implementation).
      My initial requirement is to write a server-side script to display server date and time. Could you give more inside on how to achieve it?
    Regards,
    Deva.

    Perhaps that will help.
    [code]
    <html>
    <h1>Access System time and date</h1>
    <?
         // saprfc-class-library     
         require_once("saprfc.php");
         $sap = new saprfc(array(
       "logindata"=>array(
       "ASHOST"=>"localhost"          // application server
       ,"SYSNR"=>"00"                    // system number
          ,"CLIENT"=>"000"               // client
          ,"USER"=>"bcuser"               // user
          ,"PASSWD"=>"minisap"          // password
         ,"show_errors"=>false               // let class printout errors
         ,"debug"=>false)) ;                     // detailed debugging information
         $result=$sap->callFunction("MSS_GET_SY_DATE_TIME",
            array(     array("EXPORT","SAPTIME",array()),
               array("EXPORT","SAPDATE",array())));
         if ($sap->getStatus() == SAPRFC_OK) {
        echo "Time: ".$result["SAPTIME"];
        echo "<br>Date: ".$result["SAPDATE"];
        echo "<br>or<br>";
        echo "Server is showing: "
             .substr($result["SAPDATE"], 0, 4)
             ."-".substr($result["SAPDATE"], 4, 2)
             ."-".substr($result["SAPDATE"], 6, 2)
             ." and "
             .substr($result["SAPTIME"], 0, 2)
             .":".substr($result["SAPTIME"], 2, 2)
             .":".substr($result["SAPTIME"], 4, 2);
         } else {
              $sap->printStatus();
         $sap->logoff();
    ?>
    [/code]

  • 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.)

  • How to get System Time and Date?

    Hi, may i know how do i get the System's current Time and Date?? And i need to format them into 2 separate String, that's Time is a String, Date is another String. Pls guide me. Thanks a lot!

    What's the problem? The previous example was pretty clear. Just adapt it to your purposes...
            Date currentDateAndTime = new Date();
            SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy");
            SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
            System.out.println(dateFormat.format(currentDateAndTime));
            System.out.println(timeFormat.format(currentDateAndTime));

  • BAPI to read cube data

    Hi friends !
    Could you please give me the std BAPI names to read data from an infocube (that returns a list of all records, or as a DB aggregation in some way, contained in a cube) ?
    Bye,
    Roberto

    Dirk,
    I think I'll use RSDRI_INFOPROV_READ_RFC FM...but (as I was afraid of) all parameters descriptions are in german and it's a real difficult undertaking to understand something...
    however, I wonder if there is some way to test the output of this FM, considering that:
    - at this moment I'm not able to create the RFC connection...
    - ...so, I think it's not possible to download the output on local on my machine
    - I can use RSDRI_INFOPROV_READ for this purpose...
    - ...but it isn't possible to run this FM on test mode (by SE37)
    Could you please give me some suggestion (insert RSDRI_INFOPROV_READ in an ABAP pgm to see the result of the extraction ?) and some explanation on parameters that I have to use (especially about tables section) ?
    Dirk, do what you can and thanks in advance !
    Grateful,
    Roberto

  • How SAP handles Child Idoc segment data insertion automatically

    Hello,
    We have some Infotypes with extra segments and IDocs are getting created with Parent and child segments.
    To fill the data into the parent/child segments, we are currently using User-Exits.
    Is there any settings/config in table level(e.g. T777D etc), or any other way, so that SAP handles the data filling into parent/child segments automatically.
    Thanks.

    No I dont want to change the value in WE19.... In runtime I am changing the value of schedule Line quantity and the same is getting update in SDSA also but when a new idoc is getting created that value is not getting reflected in that Idoc segment field.
    Kindly suggest.

  • How to stop system from freezing when importing into iTunes (version 7)?

    Since I have installed iTunes 7, I have been unable to import music into iTunes; my computer freezes after about 10 seconds and the only thing I can do is restart the entire computer. It is extremely frustrating and I can't seem to find anyone who can help me with this issue...I'm affraid that I'm not extremely technical-savvy when it comes to these things, so any help or suggestions would be greatly appreciated!

    I've found quite a few people in these discussions with this problem and I had the same one myself.
    The only thing I could do (the startup disc I have was an earlier version of iTunes - I downloaded iTunes 7 from the net) is uninstall iTunes and then reinstall using the earlier disc and don't upgrade it. Unfortunately this means if you have any music in iTunes 7 you won't be able to use it.

  • How does JDBC adapter reads or writes the data to DB

    Hi All,
             How does JDBC adapter read the data from a db, is it that it collects all the data in one go and sends to XI, or is it record by record.  And what if it writes to a db?
    Xier

    Hi,
    It collects all record at one time and while writing to DB you can push all data at one go...
    We are using receiver JDBC adapter to push data to DB and its one go..
    Nilesh

  • How to reliably move 540GB of data between drives? System hangs on attempt.

    Hello all,
    My boss came to me the other day for help with why his Mac Pro (2008 I believe) is running super-slow when it has 32GB of RAM and plenty of total storage. Turns out the main system drive of 640GB has over 540GB of JUST EMAILS. Despite my attempts to convince him that there is no reason to keep all these emails, he wants to keep them all.
    Current plan of attack is to move the email storage folder to one of the 3TB internal drives and create a symbolic link in Terminal to point Mail to the other drive for the mail folder. Of course, this requires I successfully move the 540GB of mail files to the other drive without the system freezing in the meantime... drive is currently at about 95% capacity.
    Is there a better way to do this than just dragging the folder from one drive to the other in Finder, so that the system does not hang? Or is there maybe a program that I can use to move the files in groups/sections?
    Any help would be greatly appreciated. Thanks all!

    Nope.
    Use a small fast SSD of just OS and apps on the boot  drive .
    Use 2TB for media and docments
    You can move the home folder to another device.
    I would move the system to "Drive A" and move the user account to "Drive B"
    Many / most 3TB drives are green and not your standard performance 7.2k drives which you want.
    Archive files.
    To move a drive or system use Carbon Copy Cloner.
      How to relocate system and user data to another drive:
    http://support.apple.com/kb/HT4337http://chris.pirillo.com/how-to-move-the-home-folder-in-os-x-and-why/To successfully relocate your operating system, user accounts and data from one storage device to another, meet the following conditions:
    The destination storage device (SSD drive or hard drive) you are migrating to should be physically located in the same computer.  Moving operating system files from one computer to another computer using software not specifically designed for that computer can cause issues due to software, hardware, and firmware version mismatches.
    Always back up your storage device with Time Machine or Disk Utility before you start.
    SSD: Samsung 840 120GB $96 (500GB $320)
    http://www.amazon.com/Samsung-Series-120GB-internal-MZ-7TD120BW/dp/B009NHAF06/
    There are also 750 and 1TB EVO Samsung models too
    Sonnet Tempo Pro
    http://www.sonnettech.com/product/tempossdpro.html
    http://eshop.macsales.com/item/Sonnet%20Technologies/TSATA6SSDPR/
    http://eshop.macsales.com/item/Sonnet%20Technologies/TSATA6SSDE/
    How to clone your system:
    http://macperformanceguide.com/Mac-HowToClone-backup.html
    http://macperformanceguide.com/Mac-HowToClone.html
    http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
    http://www.macperformanceguide.com/blog/2012/20120711_2-MacPro-internal-clone-ba ckup.html
    http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
    http://www.bombich.com/software/updates/ccc-3.5.html

  • Synchronize / interface 2 SAP HRM systems.

    Dear community, here at a customer in NL we would like to keep 2 seperate SAP HRM systems in sync. One of these HR systems is the source system and is called the parent. But there are a few infotypes where the child system is the source, this is related to Time infotypes. Both systems are equal in terms of release and patch level.
    My questions are:
    -Does anyone of you have experience with interfacing in a simular setup? If yes please let me know what your experiences were.
    -What type of interface would you suggest, if FTP is the method to send data across.
    (and what would you recommend, e.g. if FTP was not the mandatory method)
    -How to keep control ? How can we make sure all new and changed data is send and received correct in the child system?
    Much apprieciated if you can provide some input for this case!
    Many thanks,

    Hi,
    This kind integration is done using native SAP integration mechanism ALE "Application Link Enabling".
    It allows seamlessly integrate SAP systems.
    Please check SDN page about it: http://www.sdn.sap.com/irj/sdn/ale
    For your case there is a special scenario for integration of 2 SAP HR systems: HR Master data distribution.
    This document shed more light on it: http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEHR/CABFAALEHR_ALE_VERT.pdf
    Regarding your questions:
    -Does anyone of you have experience with interfacing in a simular setup? If yes please let me know what your experiences were.
    Yes, this is well known master data distribution scenario managed with ALE.
    -What type of interface would you suggest, if FTP is the method to send data across.
    (and what would you recommend, e.g. if FTP was not the mandatory method)
    This is standard SAP interface, no addition development is need if you use only standard infotypes and fields.
    -How to keep control ? How can we make sure all new and changed data is send and received correct in the child system?
    During interface set up you define what system is master for what infotypes, then these settings are used during data exchange. All changes are registered with change pointers what makes sure that all necessary changes are interfaced.
    Cheers

  • How SAP ECC interface with SAP SRM

    Hi all,
    I need to know how SAP ECC System interface with SAP SRM in management of Catalogs and Contracts: how can I upload, for example, Catalogs which are on SAP ECC to SAP SRM?
    Thanks, best regards,
    Maria

    Dear Maria Bonomo,
    I have gone thorugh the following link and it seems to answer your query: 
    www.sceis.sc.gov/content/dnld/agydir-1B.pps
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh

  • How to Reconcile Data Between SAP Source Systems and SAP NetWeaver BI

    Hi,
    I just read "How to Reconcile Data Between SAP Source Systems and SAP NetWeaver BI".  While I'm waiting for  more authorisation to r/3 to carry it out and test this functionality.
    I'd like to ask a question to anyone who has implemented this type solution.  On page 10 it talks about creating a view then setting up the datasource. The solution talks about runnig a query.  I suspect when we run a query I would run it for only a period(using variable) to reconcile.
    My question is this.  Will the datasource extractor on /r3 only select the period in our variable or will it do a full selection of the data which would then be passed to BW for filtering?
    Regards

    DEar Mark,
    There are several avenues where you can see and reconcile your data with source system, u can see data in by tcode RSA3 for a datasource, and compare the values with actual document posted into the R/3 system. Respective fuctional consultant canhelp you a lot to confirm the data.
    On BW side u can see the data in PSA and then check tranformations which subsequent change/update/reject data records based on the selective conditions.
    hope this helps.
    Kindly assign the points if it works.
    Revert back if u need futher help/information.

  • How to Import DaRT into SAP CRM System

    Hi Everybody,
    Can some body help me in knowing how to import DaRT ( Data Retention Tool) into SAP CRM system. This is an urgent requirement. Your early reply will ab appreicated.
    Thanks in Advance
    Sirfraz

    Hi Kaustubh,
    Use the FM ARCHIVFILE_CLIENT_TO_SERVER.
    Give Filename + path for both the source and destination and your file will get transferred to the specified directory in AL11.
    But I am not sure about creating your own directory in AL11.
    Reward if helpful.
    Regards
    Hemant Khemani

  • SYSTEM Copy with Data ( SAP Export/Import way)

    Hello ,
    There is requirement at my client site to build SAP system copy from Production System  without copying Data but
    should have Programs/ Structures / Repository/ Tables & views etc.
    Though We have thought of building SAP system with Export/ Import way and then deleting the Client from copied system
    after that running Remote client copy from Source to Target system with SAP_CUST profile
    But I have heard with SAP Export/Import way , We can have SAP data copy skipped and only structure to copy. If there is any way
    of such kind then Please help me in letting know the same
    Thanks
    Deepak Gosain    

    Hi Deepak
    Kindly refer the SCN link difference between the Client copy Export / import & Remote copy method
    Difference between remote client copy and client Import/Export- Remote client copy steps
    BR
    SS

Maybe you are looking for