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

Similar Messages

  • FM or BAPI for reading invoice data from backend

    Hi Experts,
    We use SRM 4.0 and need to read invoice data from Back end (creation time and number).
    Which FM I can use?
    Thanks in advance
    Evgeniy Vazhev

    Hi,
    look at the below BAPI's
    BAPI_CUSTOMER_DISPLAY
    BAPI_CUSTOMER_GETDETAIL2
    Regards
    Sudheer

  • BAPI to read material data

    Hello,
    I am looking for a function modul to read material data.
    We want to export the data so we can import it into an WebShop Software.
    We need material infos like text, price, sales text and so on.
    Thanks
    A. Dötsch

    Hi A. Dötsch,
    You can use BAPI_MATERIAL_GET_ALL
    Regards,
    ASA

  • 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

  • Error reading the data from the remote cube

    Hi all,
    When we try to get the data for remote cube from LISTCUBE, we are getting the following msg.
    1) Messages for DataSource 9AUPA_DP_HK_01 from source system AD1CLNT100
    2) 224(/SAPAPO/TSM): No planning version selected
    3) Errors have occurred while extracting data from DataSource 9AUPA_DP_HK_01
    4) Error reading the data of InfoProvider UICHKRMTC.
    Any Inputs?

    Hi,
    Check whether the sourcesystem is responding.
    And also in the error mesg: 224(/SAPAPO/TSM): No planning version selected
    It seems you have not selected any planning version. Give any planning version in the listcube selection screen and execute.
    Regards,
    Ravi Kanth

  • Reading aggregated data from a cube/multiprovider

    Hi BI people
    My project is currently looking for a functionmodule that reads aggregated data from a cube/multiprovider.
    I already have a functionmodule that reads data from a cube and returns it in a flat format. I have debugged this, but have not found any flags that can enable the OLAP functionality needed to perform the aggregation. The functionmodule is "RSDRI_INFOPROV_READ_RFC".
    The situation is that I need to apply the aggregation logic of a profit center hierrarchy to the data I read from RSDRI_INFOPROV_READ_RFC, this means manually replicating the the OLAP engine functionality (keyfigure aggregation exception, ect.) and this is not an option with the available time/budget.
    Please have a look at the example below:
    Say that I have a profit center hierarchy as displayed below (with postable nodes).
    PC1 - $10
         |---- PC2  - $30
         |---- PC3  - $20
    The data I'm getting back from the functionmodule RSDRI_INFOPROV_READ_RFC looks like this:
    PC1 $10
    PC2 $30
    PC3 $20
    But I need the data aggregated. An aggregation utilizing the hierarchy above will make the data look like this:
    PC1 $60
    PC2 $30
    PC3 $20
    Instead of building an aggregation program, it would be usefull if it was possible to extract aggregated data.
    Any comments appreciated.
    Regards
    Martin

    Thx Olivier,
    The problem is that I need a functionmodule that can apply the OLAP aggregation for a hierarchy to the data outpu from RSDRI_INFOPROV_READ_RFC.
    ... or the best alternative would be if there were a fm/class that could provide me with the hierarchy aggregation of the data.
    /Martin

  • Function Module to read Info cube data

    Hi Guys,
              Is there any function module which is used to read the data in the info cube and collect the data to an internal table?
    Thanks
    Kumar

    Reading data from ODS is the best choice provided (1) you have full key, (2) there is an index on ODS for the search fields, or (3) ODS doesn't have too many records.
    If performance starts becoming an issue (due to the lack of one of the three conditions mentioned above), you have no other choice but to read from the cube and only reliable way to query a cube is to use the function module mentioned earlier.

  • How to reduce the run time of ABAP code (BADI) when it is reading huge data from BPC Cube and thus writing  back huge data to the cube.

    Hi All ,
    In Case of reading huge amount of record from BPC Cube  from BADI code , performing calculations and writing back huge amount of data into the cube , It takes lot of time . If there is any suggestion to read the data  from Cube  or writing data into the cube using some Parallel Processing  methods , Then Please suggest .
    Regards,
    SHUBHAM

    Hi Gersh ,
    If we have a specific server say 10.10.10.10 (abc.co.in) on which we are working, Then under RZ12 we make the following entry  as :
    LOGON GROUP          INSTANCE
    parallel_generators        abc.co.in_10         ( Lets assume : The instance number is 10 )
    Now in SM59 under ABAP Connections , I am giving the following technical settings:
    TARGET HOST          abc.co.in
    IP address                  10.10.10.10
    Instance number          10
    Now if we have a scenario of load balancing servers with following server details (with all servers on different instance numbers ) :
    10.10.10.11   
    10.10.10.13
    10.1010.10
    10.10.10.15
    In this case how can we make the RZ12 settings and SM59 settings such that we don't have to hardcode any IP Address.
    If the request is redirected to 10.10.10.11 and not to 10.10.10.10 , in that case how will the settings be.
    I have raised this question on the below thread :
    How to configure RZ12  and SM59 ABAP connection settings when we have work with Load Balancing servers rather than a specific server .
    Regards,
    SHUBHAM

  • How to Avoid reading Processing cube data (incomplete data from the cell )

    Hi All
    we have ssis package which we will run for every 5 minutes to get latest data , the cube also refreshed every 5 minutes .
    i will take the latest value specific to the measure . Here cube processing and SSIS schedular are asynchromous . some times the cube processing may take more time by that time the ssis package starts pulling the value . in this case the values are coming
    in correct , here my question is  when i am using Tail function specific to the measure how come i am getting incorrect value instead of NULL ot Previous LatestTimesample  value.   How to Avoid this issue .
    For latest timesample we are using this set
    WITH
     SET LastSample AS TAIL(NONEMPTY([Date].[Year - Month - Date].members *[Time].[Twelfth Of Hour].members,([Measures].[VS LicenseSCSCFConcurRegistCur],{[Source 2013].[LOCALDN].&[PMES1]&[LSM]})))
    Surendra Thota

    Hi Surendra,
    We need to consider how many data of the cube is going to grow over time. I don't think it's the best practices to process the cube every 5 minutes, as the number of cube data increases, the cube processing time increases.  
    In addition, we can implement Analysis Services scale-out querying architecture solution to increase the frequency of cube updates. Here is the article for your reference, please see:
    SQL Server Best Practices Article:
    http://technet.microsoft.com/en-us/library/cc966449.aspx
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Short dump while displaying cube data in production

    Hi Folks,
    I'm getting a short dump while displaying cube data in production, please suggest
    Thanks and Regards
    Santhosh

    Hi Santosh,
    I'd suggest to follow as per SAP Note: 568768 - Analysis of SQL Errors causing Shortdumps or Error messages. The Note contains precise steps to analyze such an ABAP dump.
    cheers
    m./

  • Error while assigning infoobject to the read master data in rule type

    Hi sdns,
    I want to read the zwostd info object data from zemployee master infoobject attribute list. For that i have selected  rule details of zwostd infoobject in transformation of info cube, then i am tring to select the read master data rule type. It is taking more time and then it displayed error like permitted time was  exceeded. Could any one please give me  the solution for this problem.
    thanks
    karun

    Sometimes directly typing the infoobject name in the field helps - otherwise it tries to fetch all the infoobjects available which is possibly why the time out occurs..?
    Enter the Master Data infoobject directly and then you will get the fields assigned.
    However my experience with read master data has been that whenever you change the master data IOBJ by way of adding / removing Nav Attributes / attributes etc - all the transformations using the read master data for the IOBJ that is being changed will get deactivated and it is a pain reactivating and transporting them again - particularly so when you are developing something on them and the changes are stuck across multiple requests ...
    IMHO use a routine instead to do the same - it involves lesser maintenance. SAP is anyway going to run a similar SQL...

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

  • How can I  extract non-cumulative cube data to another cubes ?

    Dear Expert,
             I copied inventory cube 0ic_c03 to  a new cube : ZIC_C03  , then I loaded the data of 0ic_c03 to the new cube ZIC_C03 . 
    the loading was sucessful, but  the result of  report of the ZIC_C03 was not correct. After looking into the problem, I found out
    the new cube can successfully extract data related with "Goods movement" & "Revaluation", yet the extract of "Open Balance" does not seems to work.
             I have read through Note:375098, in which I could not find (InfoObject 0RECORDTP) in my start routine as mentioned in the solution
    ,and the note was not mentioned valid for BW 3.5 release.
             How can I  extract non-cumulative cube data to another cubes correctly in BW3.5 release SP20? 
       Thanks !

    Hi,
    Check Routines in Update rules wether same code is wrriten in  new cube
    cheers,
    Satya

  • BAPI not returning the data

    Hi,
    I have developed the BAPI which gets the data from few tables and puts them in one structure. But when I am running I am not getting the output. When I am debugging the same the structure is getting populated but it is not getting returned. Please let me know what could be the issue.
    Regards,
    Ashutosh

    Dear Aushutosh ,
                              Please check whether You have created structure of table in which you are taking values
        Do as Such
    Create Structure
    through se11
    Data Type : zname .
    having field which you required
    such as
    name1
    waers
    klimk
    skfor
    cskfor
    Then assign this Structure to your RFC i.e BAPi
    in TAbles Tab
    such as
    Result   like zname .
    and then you use your code
    to append data in  result table
    whit proper import parameter and Export parameter if any .
    Regards
    Deepak .

  • DBMAN350 Error reading MultiCube data over aggregate

    Hi, I have handed down multicube over a Cube, DSO, and IP Aggregate.  When I try to display the data using a LISTCUBE I get errors.  I just noticed I get the same error in my development box.
    1. Error reading the data of InfoProvider Z_C017_A8    Message no. DBMAN305
    Diagnosis - Errors occurred while reading a VirtualProvider outside the BI system. Check whether the previous error messages contain any information about the possible cause of this error.
    It is possible that the error message cannot be displayed because the error message class does not exist in the BI system. If this is the case, only the name of the error class and the message number are displayed. View the error message text in the specified error class in the source system of the VirtualProvider.
    Procedure - Since the error is not necessarily in the BI system, there is no specific procedure for resolving it. With VirtualProviders, problems often occur with the connection to the remote system; these can lead to system termination. If the code for the VirtualProvider is not from SAP, contact the relevant contact person to help resolve the issue.
    If an SQL error is listed in the previous message, see the procedure for SQL errors.
    2. Reading from InfoProvider Z_C017_A8 is not permitted    Message no. RSPLS801
    Diagnosis - Cannot read data from InfoProvider Z_C017_A8 here.
    System Response - The system has cancelled the read operation.
    Procedure - Use InfoProvider Z_P_C017 for the read operation here
    I am suspecting this is why data from the planning aggregate is not showing up on my query, but the query doesn't return an error like listcube does.  It is OK to have planning aggregates in a multiprovider I am assuming because it allows it.
    Any ideas why this error is appearing? 
    I already searched SDN and OSS, but nothing relevant appears.

    Hi Kenneth,
    I found this notes which could be relevant for you:
    Error when reading RemoteCubes in MultiProviders
    SAP Note Number: [1011321|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
    DBMAN 305: Error when reading data of InfoProvider ...$N
    SAP Note Number: [1051291|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler]
    Additional this thread:
    Remote cube - uncaught exception
    Regards
    Andreas

Maybe you are looking for

  • Shutdown directive bundle doesn't allow windows updates

    I have a directive bundle to shutdown a machine. The bundle works fine in terms of shutting down the machine at the appointed time, however, what it does not seem to do, at least on Windows 7, is to apply any updates. If you have pending updates to a

  • Document library items are not displaying in sorted order in sharepoint 2013

    Hi, I have a document library , I am storing document sets on it. 28326 items are there in the library. I have configured sort on Name columns. Initially items are displaying in sorted order like (A,B,C,D,E...) Now Items are not displaying in a sorte

  • Table Component and Row Height

    I am using XCelsius 4.5 and using the table component.  Is there anyway the row height on the table component can be linked to the Excel file?  It is not dynamically changing or wrapping text based on the amount of data that is imported in.

  • SQL* Loader Parameters in Concurrent Programs

    Dear All, I have used an Execution file type of SQL*Loader. So, I put the execution file name as my .ctl file. I put that .ctl file in my ../bin directory in my custom application tree. Can any one tell, how a parameter for datafile, bad file and log

  • Syncing phone to itunes

    I just recently reinstalled my OS because I was having problems. I couldn't do an archive and install because I didn't have enough space on my hard disk. But that's not my problem. My problem is since I lost all my itunes settings and had to re-downl