Reading data from Real-time Infocube

Is it possible to read data from the Real-Time Infocube by using the function module
RSDRI_INFOPROV_READ

Hi,
If records from both the request should be read ie Request under processing(which is in yellow) and Request which is processed(Which is in Green) at a time. What should be done.
Is there any function module which returns the records of both requests.
Rgds,
Ganesha

Similar Messages

  • Read data in real time and save as an excel file

    Hi,
    I want to write a LabVIEW progarmme which able to read data in real time and save it as an excel file from Varian Vacuum muli-gauge.
    It is using RS232 port.
    Can anyone give me some examples or point me in the right direction?
    I am a beginner of LabVIEW. Hope anyone can help me.
    Thank you very much!!
    Joanne

    Thanks for your reply.
    I just use MAX to verify that the rs232 port is operational.
    However, there is an error (please refer to the attachment).
    One possible reason is in MAX I am trying to do the default command *idn? ...but it doesn't work.
    I read the vacuum multi-gauge manual but I don't know which command should I use...
    I attached the manual and can you tell me which command should I use?
    Or can you tell me other possible reason for this error code?
    Thank you very much. 
    Joan
    Attachments:
    Varian Multi-Gauge Controller.pdf ‏2747 KB
    error1.JPG ‏111 KB

  • How to read data from clusters ( Time Management )

    Hi All,
       How can we read data from cluster tables related to Time Management in different ways?
       Can somebody help me please..
    Thanks,
    Sankar.

    Hi
    Kindly check the following thread:
    Cluster database
    It has a sample code to read from & to store data in a cluster table
    Hope you are looking for cluster tables in HR
    Some useful HR tables:
    HRP1000 - Infotype 1000 DB Table
    HRP1001 - Infotype 1001 DB Table
    HRP1028 - Infotype 1028 DB Table
    Paxxxx - transparent tables for infotypes
    PCL1 - HR Cluster 1
    PCL2 - HR Cluster 2
    PCL3 - HR Cluster 3
    PCL4 - HR Cluster 4
    PCL5 - HR/RP Cluster 5; HR Planning Usage
    PERNR - Standard Selections for HR Master Data Reporting (Structure)
    kindly check the following link for some useful HR tables:
    http://www.atomhr.com/know_preview/SAP_HR_tables.htm
    Hope this helps!
    best regards,
    Thangesh

  • Hi, I would like to ask about how to capture data from real time loop.

    Hi,
    Here is some overvier of my project:
    I have done real time control using labview 9.0. I used PID controller.
    In order to optimise this controller, I need to capture data from my sensor(input) and actuator (output).
    1. For example while real time control is running. I need to capture 1000 sample data (sensor(input) and actuator (output)).
    Then I will used these data for PID optimisation on the other loop without intefere my real time loop.
    2. When PID optimisation is completed, I will sent its PID parameter to real time control loop.
    3. These operation is done in parallel.
    Anybody can help me to solve these. Your idea may solve my problem.
    TQ

    Typically you will have to use RT FIFO or Queue communication to avoid any impact to your time critical loop.
    Best regards
    Christian

  • Reading data from the Real-Time Infocube

    Hi,
        I am using the FM RSDRI_INFOPROV_READ_RFC to read the data from the Real time Infocube..
    But it reads only the Closed request. Is there anyway to read the open request data from real-time infocube via program.
    Please suggest.
    Regards,
    Meiy

    Hi,
    I would assume that the function module can read the data only if its available for reporting.
    May be you can try the following: You can close the request during the function module execution time and then reopen it. Not sure if this is possible.
    Bye
    Dinesh

  • Gurus..need help in reading data from virtual infocube

    Gurus,
    I have to read data from an virtual infocube...I am trying to use FM RSDRI_INFOPROV_READ to read data but it doesn't work..
    I am doing exactly what has been done in the demo program RSDRi_INFOPROV_READ_DEMO...
    Please help me...its really URGENT...
    Thanks
    sam

    Check out this thread....
    must be helpful
    Re: Read data from 0BWTC_C02 via ABAP

  • Error reading data from an infocube

    Hello,
    I want to read data from a remote infocube in tcode listcube, and I get this 2 error messages: "Error reading the data of InfoProvider IC_SNP_DR" and "Error when generating program". This is a remote cube reading data from a SNP Planning Area.
    I´ve already activated Plng Object Strucuture 9ASNPBAS and repair all infoobject but in tcode /SAPAPO/MSDP_ADMIN in 9ASNPBAS I get message "Not All InfoObjects Can Be Read". Is this why I get the error in reading the infocube?
    Does anyone know why I get this errors and how to solve them?
    Thanks and Regards,
    Teresa Lopes

    Teresa
      From   /SAPAPO/MSDP_ADMIN go to extras/data extraction tools.  This gives you all the things you need to manage the extractors on the snp planning areas.  you can use RSA3 to test the extractor and pull data to a list.  Are you sure you want to extract using the total POS  (9SNPBAS).  Based on the data you need you might want to extract based on one of the standard SNP aggregates.  MALO  (material location) for example.
    You mention that the POS was active.  Make sure you Planning area is also initialized
    George

  • How to copy data from a Input query to real time Infocube

    Hi All, I need some help on IP related stuff. The details are as below:
    I am using two real time infocubes and one Multiprovider on them.
    First Infocube u2018PRODUCTu2019  with the following Objects:
    Product Group ,Product,Region ,Fiscal Year , Fiscal Year Varient ,0currency
    Gross Sales
    Second Infocube u2018C_PRODUCT u2018 with the following Objects:
    Product Group ,Product,Region ,Fiscal Year , Fiscal Year Varient ,0currency
    Gross Sales and Forecast Sales
    ( u2018Forecast Salesu2019 in the extra object in the second Infocube. Remaining objects are same in the both the cubes)
    First Infocube  u2018Productu2019 has data but the second cube does not have any data.
    I have created a Multiprovider ZMulti and in that I have included these two cubes. On this Multi Provider, I have created a Aggrigation Level(The details of the aggregation level is provided in the next page).
    On this Aggrigation level  I have built a Input Query by which I run the report.
    (In the Rows area, I have taken Product Group, Product, Region and Fical year.
    In the Key Figure section, I have taken Gross Sales and Forecast Sales( which is part of the second Infocube C_Product). These two Key Figures are made Input as Input ready. And the Query is Input ready query. In the Filter, I have taken Fiscal Year Variant. )
    Data available in the first cube and no data currently in the second cube. Now executed the report and report displayed information from the first cube.
    EX:
    Product     Product     Region          Year     Gross Sales     Forecast Sales
    Group
    PG01           Beer           North           2008            10000           u2026u2026u2026
    PG01           Beer          South          2008          20000           u2026u2026u2026
    PG01          Beer          East          2008          15000           u2026u2026u2026
    The second column is empty and there is no data for the Forecast sales Key Figure in the column.
    Things look OK till the above.
    Now based on the Gross Sales, I am entering  forecast Sales values and I need to save the entire record to the second cube.
    For this in the report, I have given the Forecast sales values in the second column and right clicked the mouse and form the menu which I got, selected the u2018SAVEu2019 Option to save the data. For some time, I can see u2018Processingu2019 message and later values at u2018Forecast Salesu2019 are disappearing.
    Data is not saving to the cube second cube.
    ====================================================
    Am I missing any thing?
    In the Query, Do I need to provide InfoProvider and restrict it to specific value?
    In the query, Do I need to include, 0currency object?
    Could you please guide me on this?
    =============================================
    Details of the Aggrigation level.
                I have created an Aggrigation Level ZAL_Prod  on MultiProvider.
                Selected all the objects and activated.
                In the Filter, I have taken 0Fiscal Year Variant  and saved it.

    Restrict Forecast sales to the Plan cube in the Query.
    that should fix it.

  • Error reading data from Infocube using shell script.

    Dear all ,
    I am facing a problem while reading data from an infocube using a shell script.
    The details are as follows.
    One of the shell script reads the data from the infocube to extract files with the values.
    The tables used for extraction by the shell script are :
    from   SAPR3."/BIC/F&PAR_CUBE.COPA"     FCOPA,
           SAPR3."/BIC/D&PAR_CUBE.COPAU"    COPAU,
           SAPR3."/BIC/D&PAR_CUBE.COPAP"    COPAP,
           SAPR3."/BIC/D&PAR_CUBE.COPA1"    CCPROD,
           SAPR3."/BIC/D&PAR_CUBE.COPA2"    CCCUST,
           SAPR3."/BIC/D&PAR_CUBE.COPA3"    COPA3,
           SAPR3."/BIC/D&PAR_CUBE.COPA4"    COPA4,
           SAPR3."/BIC/D&PAR_CUBE.COPA5"    COPA5,
           SAPR3."/BIC/MCCPROD"      MCCPROD,
           SAPR3."/BIC/SCCPROD"      SCCPROD,
           SAPR3."/BIC/MCCCUSTOM"    MCCCUSTOM,
           SAPR3."/BIC/SCCCUSTOM"    SCCCUSTOM,
           SAPR3."/BIC/SORGUNIT"     SORGUNIT,
           SAPR3."/BIC/SUNIMOYEAR"   SUNIMOYEAR,
    /*     SAPR3."/BI0/SFISCPER"     SFISCPER, */
           SAPR3."/BI0/SREQUID"      SREQUID,
           SAPR3."/BI0/SCURRENCY"    SCURRENCY,
           SAPR3."/BIC/SSCENARIO"    SSCENARIO,
           SAPR3."/BIC/SSOURCE"      SSOURCE
    The problem is that the file generation by this script (after reading the data from teh infocube) is taking an unexpected time of 2 hours which needs to be maximum 10 mins only.
    I used RSRV to get the info about these tables for the infocube:
    Entry '00046174', SID = 37 in SID table is missing in master data table /BIC/MCUSLEVEL2
    Entry '00081450', SID = 38 in SID table is missing in master data table /BIC/MCUSLEVEL2
    and so on for SID = 39  and SID = 35 .
    Checking of SID table /BIC/SCUSLEVEL2 produced errors
    Checking of SID table /BIC/SCUSLEVEL3 produced errors
    Can you please let me know if this can be a reason of delay in file generation (or reading of data from the infocube).
    Also , Please let me know how to proceed with this issue.
    Kindly let me know for more information, if required.
    Thanks in advance for your help.
    -Shalabh

    Hi ,
    In continuation with searching the solution to the problem , I could manage to note a difference in the partition of the Fact table of the infocube.
    Using SE14 -> Storage Parameters, I could find the partition done for the fact table as :
    PARTITION BY: RANGE
    COLUMN_LIST: KEY_ABACOPA
    and subsequently there are partitions with data in it.
    I need to understand the details of these partitions .
    Do they correspond to each requests in the infocube(which may not be possible as there are 13 requests in infocube and much more partitions).
    Most importantly, since this partition is observed for this onfocube only and not for other infocubes, it is possible that it can be a reason for SLOW RETRIEVAL of data from this ionfocube( not sure since the partition is used to help in fast retreival of data from the infocubes).
    Kindly help.
    Thanks for your co-operation in advance.
    -Shalabh

  • How to Read data from Infocube

    Dear Friends,
    I have requirement to read data from Infocube.
    I know the Function module(FM) which SAP provided. The FM name is RSDRI_INFOPROV_READ.
    But when i am trying to execute this FM in SE37, it giving "Error generating the test frame" message.
    I called this FM in start routine, it giving error while loading.
    If any using this please let me know, how to use this. If any have sample code, please share.
    Thx
    Raj

    Hi,
    i used to check documentation all time, but this time I forgot to check.
    It is well documented. thx for igniting my mind.
    bye
    Raj

  • Reading data from infocube

    Hi all,
    We have an infocube which contains some figures like number of days, number of hours etc. We should calculate some indicators on them, something like:
    Ind = Hours1 * 100 / Hours1 + Hours2
    where Hours1 and Hours2 are figures which come from two different records, with codes 1 and 2.
    We are not using BEx, but some other reporting tool which takes quite a long time over it. So we were asked to write an ABAP program which should read the data out of the InfoCube and calculate these indicators on basis of such fomulas.  Writing a Transfer Rule with the InfoCube as DataSource proved not to be such a good idea because data is split in packages for the upload, so a subroutine within the transfer rule might not be able to find the records with codes 1 and 2 within the same package and that gives errors.
    The question is: does anyone know of programs/functions/classes which could do the job? so read data from the infocube and eventually update it back into the infocube after the calculations?
    Thanks in advance,
    Ioana

    Hi Ioana,
    maybe Analysis Process Designer (APD) can solve your problem. In an APD process you can read the data from any InfoProvider, calculate your key figures in an ABAP routine and write the result to an ODS. This ODS has to be transactional and can't be directly reported, but you can report the ODS data by defining an InfoSet on it; you can also write the ODS data to any cube via the data mart interface. The data package split shouldn't be a problem in the APD process because you can define a partitioning characteristic in the APD routine.
    The APD is available in BW 3.x via transaction RSANWB.
    Martin

  • Read data from an Infocube

    Hi,
    I'm writing a program to read data from an infocube, usfin FM RSDPL_CUBE_DATA_READ, but I can't get a result.
    This are the parameters I'm using:
    I_INFOCUBE                                = 'ZGE_CUB10'
    I_REFERENCE_DATE                  = sy-datum
    I_S_RFCMODE-ID                        = BIDCLNT100
    I_S_RFCMODE-RFC_RECEIVER  = RSDPL_CUBE_DATA_READ                
    I_S_RFCMODE-PACKAGESIZE    = 100
    I_S_DELTAMODE-SYSID             = BID
    I_S_DELTAMODE-DELTAMODE   =''
    I_T_CHA-chanm    = 'ZGE_KPI'
    I_T_CHA-chaalias  = 'ZGE_KPI'
    I_T_CHA-orderby    = 0
    I_T_KYF-kyfnm   = 'ZGE_VALOR'
    I_T_KYF-kyfalias = 'ZGE_VALOR'
    I_T_KYF-aggr      = 'SUM'
    i_t_range-chanm       = 'ZGE_KPI'.
    i_t_range-sign           = 'I'.
    i_t_range-compop     = 'EQ'.
    i_t_range-low            = 'FTL_GLC10_0331'.
    i_t_range-high          = 'FTL_GLC10_0331'.
    E_T_COLUMN-colname   = 'salida_zge_valor'
    E_T_COLUMN-iobjname  = 'salida_zge_Valor'
    E_T_COLUMN-keyflag    = 'X'
    but I keep getting DELTAMODE_ERROR.
    any help??? any sample-code you may share??
    thanks
    MAuricio

    found some sample code...
    http://www.web-dreamer.de/blog/2009/04/reading-on-sap-bi-infocubes-via-rsdri_infoprov_read.html.
    SAP also gives you sample programs on how to use the same...
    RSDRI_INFOPROV_READ_DEMO
    from thread :
    Re: RSDRI_INFOPROV_READ and compound selection conditions
    Edited by: Arun Varadarajan on Jun 5, 2009 7:24 PM

  • Reading data from 2 infocubes in same start routine - RSDRI_INFOPROV_READ

    Hi guys,
    Is it possible to read data from 2 Infocubes via RSDRI_INFOPROV_READ FM in same start routine of Infosource.
    Both infocube have different KF's.
    my one Infocube reading is working fine but now need to another infocube in same strat routine.
    Help will be appreciated and full points will be assigned.
    Thanks in advance,
    Harry

    Hi,
    1.It means I have to call FM twice
    2. Can I use same internal table to store data of both infocubes
    3. both cubes have got different KF
    Can you please explain in detail?
    Thanks,
    Harry

  • Reading data from an infocube into wd application

    Hi,
    How can we read data from an infocube.I have to read data from two infocubes and then display it in table in an wd application.
    I have found an FM RSDRI_INFOPROV_READ to read , but how to use the same in wd application.

    Hi Sanjeev,
    Use CALL FUNCTION To use FM in WD.
    something like this..
    Declarations for BAPI_HU_DELETE_FROM_DEL
      DATA : Del     TYPE BAPIDELICIOUSDELIVERY-DELIVERY_NUMBER,
             Return1 TYPE TABLE OF BAPIRET2.
      del = lv_imp_outdel.
      DATA : HUKEY    TYPE BAPIHUKEY-HU_EXID,
             wa_hukey TYPE BAPIHUKEY-HU_EXID.
    loop at lt_pack_mat into ls_pack_mat.
      wa_hukey = ls_pack_mat-HANDLING_UNIT.
      MOVE wa_hukey TO hukey.
    endloop.
    Calling BAPI_HU_DELETE_FROM_DEL
      CALL FUNCTION 'BAPI_HU_DELETE_FROM_DEL'
        EXPORTING
          DELIVERY = del
          HUKEY    = HUKEY
        TABLES
          RETURN   = Return1.
    Commit Work
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
    Chers,
    Kris.

  • Error reading data from infocube using RSDRI_INFOPROV_READ

    hi,
    I am trying to write a Function module to read data from an Infocube.
    This is a remote enabled Function module and is working fine if I make a few minor changes and customize it to read data from a  case of a DSO.
    However, for cube, code is showing no syntax errors, but on execution is not returning any data also.
    I have tried defining E_T_data as E/F/V tables of the cube, but still not getting any output.
    Probably this is related to structure of E_T_data only. . . .
    Can anyone please guide me on this.
    regards
    Parikshit.

    Hello,
    E_T_DATA needs to defined as an internal table with all the fields you need as an O/P from the infocube you are trying to fetch data from. Just make sure, you keep the name of the fields same as Name of the infoobjects in the Cube. So just define e_t_data Standard internal table with all fields you want to fetch from Infocube (name of fields same as infoobject name).
    Also fill in the g_th_sfc, g_th_sfk internal tables with the list of characteristics and Keyfigues you wanna o/p with chanm/kyfnm field populated with exact name of infoobject and chaalias/kyfalias same as defined in g_t_data (good to keep both same).
    Thanks
    Edited by: Sandesh Shetty on Jul 29, 2008 2:26 PM

Maybe you are looking for