Query Data cached? (Virtual Cube)

Hi folks,
I have some problems with a Query-Objekt which gets data out of an Virtual Cube. The Virtual Cube is based on a 3.X Infosource an gets data out of a table in the ERP.
When i call the Query from VC everything works fine and current data is shown. But if i manipulate data of the table which the Virtual Cube points to and send a refresh event to the Query-Objekt, the manipulated data is not shown. It always returns the data which it fetched at the first call. If i refresh the whole application in the browser (via F5), the manipulated data is shown. I disabled cachmode in rsrt for this query but it doesn't work.
Any chance to get the current data by just sending a refresh action and call the Query-Objekt again without reloading the whole application? Any Idea?
Points will be awarded for usefull information.

Hello,
The reason why the data manipulated is not showing up in the query even after refresh is sent is because the cache for the virtual provider does not get reset as it would for a normal InfoCube.
So, it does not know when to reset the cache for itself even when data is manipulated.
The way we have worked around this is have a temporary process chain which runs on a frequent basis and executes the function module RSDMD_SET_DTA_TIMESTAMP for the virtual cube in consideration.
Thanks
Dharma.

Similar Messages

  • Can not find data in virtual cube

    Experts,
    I can not find data in virtual cube with services function module (copying Z_RS_BCT_FIGL_DATA_GET_VC10 from RS_BCT_FIGL_DATA_GET_VC10).The standard cube is maintained with data.
    Can anybody tell me what could be the reasons the data is coming through Virtua cube.
    Thanks,
    AK

    Hi,
    i_basic_infoprov is the name of the provider where the data is selected from. This must be a basic provider that contains data. What I meant was, create a copy of fm RS_BCT_FIGL_DATA_GET_VC,1 maybe as Z_BCT_FIGL_DATA_GET_VC1, and enter the name of this fm in the properties of your virtual cube. For that fm it might also be a good idea to enter a default value for i_infoprov. And this should be the name of your virtual cube.
    regards
    Siggi

  • Query ID in Virtual Cube with services-Function module

    Hi,
    I am using virtual cube with services linked to a function module.
    The function module has fixed parameters(such as infoprovider name). None of these parameters consists of query information such as query  ID OR queryname .
    Do any one know how to determine query which was executed this function module?
    Best Regards,
    Anil

    Hi Claudio,
    I never implemented Virtual InfoCube with services with a FM, but I know there is a couple of How To Documents about named:
    - How to Reporting from External Data via Virtual InfoProvider
    -How to Implement a Virtual InfoCube with Services
    both with some code samples: did you read it?
    Hope it helps
    GFV

  • Not able to fetch the data by Virtual Cube

    Hi Experts,
    My requirement is I need to fetch the data from Source System (From Data base table) by using Virtual Cube.
    What I have done is I have created Virtual Cube and created corresponding Function Module in Source System.
    That Function MOdule is working fine, if Data base table is small in Source System.But If data base table contains huge amount of data (millions of record), I am not able to fetch the data.
    Below is the code I have incorporated in my function module.
    c_th_mapping TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
      DATA:
        l_s_map TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_S_IOBJ_FLD_MAPPING.
      l_s_map-iobjnm = '0PARTNER'.
      l_s_map-fldnm  = 'PARTNER'.
      insert l_s_map into table l_th_mapping.
    create object l_r_srv
        exporting
           i_tablnm              = '/SAPSLL/V_BLBP'
          i_th_iobj_fld_mapping = l_th_mapping.
      l_r_srv->open_cursor(
        i_t_characteristics = characteristics[]
        i_t_keyfigures      = keyfigures[]
        i_t_selection       = selection[] ).
       l_r_srv->fetch_pack_data(
        importing
          e_t_data = data[] ).
      return-type = 'S'.
    In the above function Module,Internal table L_TH_MAPPING contains Info Objects from Virtual Cube and corresponding field from Underlying data base table.
    The problem where I am facing is, in the method FETCH_PACK_DATA, initially program is trying to fetch all the recordsfrom data base table to internal table.If Data base table so lagre, this logic is not working.
    So would you please help me how to handle these kind of issues.

    Hi Experts,
    My requirement is I need to fetch the data from Source System (From Data base table) by using Virtual Cube.
    What I have done is I have created Virtual Cube and created corresponding Function Module in Source System.
    That Function MOdule is working fine, if Data base table is small in Source System.But If data base table contains huge amount of data (millions of record), I am not able to fetch the data.
    Below is the code I have incorporated in my function module.
    c_th_mapping TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
      DATA:
        l_s_map TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_S_IOBJ_FLD_MAPPING.
      l_s_map-iobjnm = '0PARTNER'.
      l_s_map-fldnm  = 'PARTNER'.
      insert l_s_map into table l_th_mapping.
    create object l_r_srv
        exporting
           i_tablnm              = '/SAPSLL/V_BLBP'
          i_th_iobj_fld_mapping = l_th_mapping.
      l_r_srv->open_cursor(
        i_t_characteristics = characteristics[]
        i_t_keyfigures      = keyfigures[]
        i_t_selection       = selection[] ).
       l_r_srv->fetch_pack_data(
        importing
          e_t_data = data[] ).
      return-type = 'S'.
    In the above function Module,Internal table L_TH_MAPPING contains Info Objects from Virtual Cube and corresponding field from Underlying data base table.
    The problem where I am facing is, in the method FETCH_PACK_DATA, initially program is trying to fetch all the recordsfrom data base table to internal table.If Data base table so lagre, this logic is not working.
    So would you please help me how to handle these kind of issues.

  • BEx query based on virtual cube donu00B4t display a valid List of Value (LOV)

    Hello
    I have a problem with an invalid LOV. The scenario is the following; There´s a BEx query based on a virtual cube. The query has an exit variable on caracteristic that is based on 0CALMONTH.
    At Universe Designer I simply create a connection, a universe based on this query and export.
    At Web Intelligence (also at Live Office), when I try to execute de query, the prompt to fill my exit variable display a list of value that doesn´t match with the values of the caracteristic at the cube.
    Actually, the list at the prompt starts with 01.0000 and finishes with 05.0968.
    In Universe Designer, the option to edit the list of values is not available. But I think that editing the LOV is not the correct way.
    I´ve tried creating a new query based on the DSO that is the source of the virtual cube. In this case, I had a valid list. Unfortunately, I can´t use this DSO.
    Did anyone already have this problem?

    Hi James,
    can you explain what you mean with "input length for that filed" ?
    The field in the table is varchar2(120). I coudn't found options for the List of value.
    Thanks for your response
    Carsten
    null

  • Incorrect data with Virtual Cube 0FIGL_V10 when used in MultiProvider

    Hi All,
    I am using 0FIGL_V10 in a multiprovider with 0FIGL_O02 to solve a reporting requirment.
    My problem is that I am unable to get the same revenue figure from the multiprovider as I am from the virtual cube alone.
    In the multiprovider query I have filtered my revenue KYF's by:
    value type
    version
    currency type
    I have fiscal period across the top of the columns and filtered for example to 001.2009 - 006.2009
    This query returns double the revenue value that I get if I run an indentical query on the base cube 0FIGL_V10. 
    I have found that if i filter fiscal period directly in the KYF restriction it outputs the correct result which is confusing.
    Any ideas ? 
    help much appreciated.
    Mark

    Hi ..
    Thanks for the suggestion but this note has already been implemented into our system.
    Any other thoughts ?
    thanks and regards
    Mark

  • Query on BCS virtual cube is not using the aggregates on BCS basic cube

    Hi all,
    I have BCS Virtual cube which is linked to BCS Basic cube. I built aggregates on BCS Basic cube.
    I created simple query on BCS basic cube and ran in debug mode of rsrt, it showed the aggregates on bcs basic cube. But when I created the same query on BCS vitual cube and ran it rsrt debug mode the query did not show any aggregates, that was strange.
    So My questions is whether query built on virtual bcs can utilize the aggregates built BCS basic cube, if possible please let me knows the tweaks.
    Thanks,
    Raj.

    1. Goto se37. Enter RSDRI_INFOPROV_READ and choose Display.
    2. In line 82 (in a BW 3.5) there is a line that says:
      CLEAR: e_t_data, e_end_of_data, e_aggregate, e_split_occurred.
    Put the cursor in there and press the 'stop shield' or use CtrlShiftF12.
    3. In the same mode open transaction RSRT and choose your query. Execute it. If you stop at the breakpoint, enter I_TH_SFC into one of the fields in the lower left area and press Enter. You should see a table with the characteristics you need in the system.
    As I said I'm not quite sure if it works. I have access to a BCS system on monday. I'll try then to find out more.
    Best regards
    Dirk

  • Query Calculation on Virtual Cube

    Hi Gurus,
    I am using the virtual cube 0FIGL_C01 for my balance sheet and income statement queries and in one of the queries I am using one of the line item (ASSETS)from the Financial Statement Hierarchy(0GLACCEXT) on the rows which has nodes under it that are either line items or just normal nodes which are actually cummulated to get the value of the line item (ASSETS)and on the columns I have a CKF balance.
    So I am trying to create a formula in another column that will have the value of each of the line items under line item (ASSETS) as a percentage of the value of cummulated line item (ASSETS).
    Example: ASSETS-                               60000
                        Revenue-                 45000
                                     Sales         35000
                        Taxes-                    15000
                                    Income Tax 10000
    So I need to show in the column when the hierarchy is expanded the % of revenue(a node of ASSETS) over ASSETS,% of Sales(a node of revenue) over ASSETS,% of Taxes(a node of ASSETS) over ASSETS,% of Income tax(a node of Taxes)over ASSETS etc.
    Any help will be appreciated
    thanks
    Message was edited by:
            Jide

    I used cell definition for the calculation and it worked.

  • Query performance on virtual cube

    Hello,
    We have this requirement wherein we are switching a infocube with a virtual one to reduce BWA space. As part of this activity I am carrying out performance testing on existing queries. For most queries I can see an increase of around 20% which is acceptable. But for one query, we are running into issue where the query is getting timed out after hogging a lot of memory. On debugging I could see that this happens inside RSDRC_INFOPROV_READ ->run_query_handler wherein it ends up doing sequential read on SID table (0BILL_NUM). Strangely bill_num is neither part of the rows/free characteristics nor is it used anyplace else (filters,restrictions). Any pointers to what might be going wrong will be highly appreciated. Thanks.
    Regards,
    Dhrubo

    Hi,
    In this case try to find where more time is utilized by using the ST03.
    if there is more time consuming in front end, rearrange the query by using less in the row and using more free chars and filter areas. using the variable also will work.
    use reporting agent and schedule the query in background to fill the cache and rerun the query.
    Reg,
    Vishwa

  • Read Data from "virtual" Cube with different ConsUnit Hier. Version

    Dear all,
    I got a odd request.
    I need to load data from the virutal Reporting-Bapi Cube for a certain Data Version.
    This Version has been attached to a new consUnit Hierachy a few weeks ago.
    Now we get a request to read data in the past for units which are not present in the current hierarchy anymore.
    I know that this is a general issue... but does anyone got a workaround for this?
    Thanks in advance,
    regards
    Oliver

    Dear All,
    Restamtent functionality did not help at this issue.
    What we did a Copy of the Version and attached the "old" hierachy.
    This was the only solution.
    Regards
    Oliver

  • How to extract data from virtual cube..?

    Gurus,
    How can i read data from an virtual infocube thru an ABAP code..Is there any FM that i can use..
    Kindly Help me in this...
    Really URGENT..
    Thanks
    Sam

    Subray,
    Thanks for the reply..I have created a wrapper for this FM in the same way te DEMO program shows but still doesn't wrk.
    No data is returned in the Table.
    I also tried using the FM RSDRI_INFOPROV_READ_RFC and it does some processing but does nt return the results..
    I am attaching my code...Can u please help me with that...
    TYPES:
      BEGIN OF gt_s_data,
      cs_version(3) TYPE c,
      cs_chart(2) TYPE c,
      bcs_llob(4) TYPE c,
      bcs_lcus(3) TYPE c,
      bcs_ldch(2) TYPE c,
      bcs_lprg(5) TYPE c,
      curkey_lc TYPE /BI0/OICURKEY_LC,
      curkey_tc TYPE /BI0/OICURKEY_TC,
      bcs_lmay TYPE /BIC/OIBCS_LMAY,
      figlxref3 TYPE /BIC/OIFIGLXREF3,
      unit TYPE /BI0/OIUNIT,
      CS_TRN_LC TYPE /BI0/OICURKEY_GC,
      CS_TRN_TC TYPE /BI0/OICURKEY_GC,
      CS_TRN_QTY TYPE /BI0/OIUNIT,
      END OF gt_s_data.
      DATA:
      l_msg_text TYPE string,
      g_s_sfc    TYPE rsdri_s_sfc,
      g_th_sfc   TYPE rsdri_th_sfc,
      g_s_sfk         TYPE rsdri_s_sfk,
      g_th_sfk        TYPE rsdri_th_sfk,
      g_s_range       TYPE rsdri_s_range,
      g_t_range       TYPE rsdri_t_range.
      DATA:
      g_s_data        TYPE gt_s_data,
      g_t_data        TYPE STANDARD TABLE OF gt_s_data,
      g_t_rfcdata     TYPE rsdri_t_rfcdata,
      g_t_sfc         TYPE rsdri_t_sfc,
      g_t_sfk         TYPE rsdri_t_sfk,
      g_t_field       TYPE rsdp0_t_field.
      DATA:
      g_first_call   TYPE rs_bool.
      g_first_call  = rs_c_true.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CS_VERSION'.
    g_s_sfc-chaalias = 'cs_version'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CS_CHART'.
    g_s_sfc-chaalias = 'CS_CHART'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LLOB'.
    g_s_sfc-chaalias = 'BCS_LLOB'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LCUS'.
    g_s_sfc-chaalias = 'BCS_LCUS'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LDCH'.
    g_s_sfc-chaalias = 'BCS_LDCH'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LPRG'.
    g_s_sfc-chaalias = 'BCS_LPRG'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CURKEY_GC'.
    g_s_sfc-chaalias = 'CURKEY_LC'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CURKEY_GC'.
    g_s_sfc-chaalias = 'CURKEY_TC'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LMAY'.
    g_s_sfc-chaalias = 'BCS_LMAY'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'FIGLXREF3'.
    g_s_sfc-chaalias = 'FIGLXREF3'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0UNIT'.
    g_s_sfc-chaalias = 'UNIT'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    ***Fill up the key figures data.
    CLEAR g_s_sfk.
    g_s_sfk-kyfnm    = '0CS_TRN_GC'.
    g_s_sfk-kyfalias = 'CS_TRN_LC'.
    g_s_sfk-aggr     = 'SUM'.
    INSERT g_s_sfk INTO TABLE g_th_sfk.
    CLEAR g_s_sfk.
    g_s_sfk-kyfnm    = '0CS_TRN_GC'.
    g_s_sfk-kyfalias = 'CS_TRN_TC'.
    g_s_sfk-aggr     = 'SUM'.
    INSERT g_s_sfk INTO TABLE g_th_sfk.
    CLEAR g_s_sfk.
    g_s_sfk-kyfnm    = '0CS_TRN_QTY'.
    g_s_sfk-kyfalias = 'CS_TRN_QTY'.
    g_s_sfk-aggr     = 'SUM'.
    INSERT g_s_sfk INTO TABLE g_th_sfk.
    Fill up selection criteria.
    CLEAR g_s_range.
    g_s_range-chanm    = '0CS_VERSION'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = '100'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = 'BCS_VERS'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'ACT'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0CS_CHART'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'ZG'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0CO_AREA'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'AZ01'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0FISCVARNT'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'K2'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0FISCYEAR'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = '2007'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0FISCPER3'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = '003'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0SEM_CGCOMP'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'US0075'.
    APPEND g_s_range TO g_t_range.
    g_t_sfc = g_th_sfc.
    g_t_sfk = g_th_sfk.
    CALL FUNCTION 'RSDRI_INFOPROV_READ_RFC'
      EXPORTING
        I_INFOPROV                   = 'BCS_C1V11'
      I_REFERENCE_DATE             = SY-DATUM
      I_SAVE_IN_TABLE              = ' '
      I_TABLENAME                  =
      I_SAVE_IN_FILE               = ' '
      I_FILENAME                   =
      I_AUTHORITY_CHECK            = RSDRC_C_AUTHCHK-READ
      I_CURRENCY_CONVERSION        = 'X'
      I_S_RFCMODE                  =
      I_MAXROWS                    = 0
      I_USE_DB_AGGREGATION         = RS_C_TRUE
      I_USE_AGGREGATES             = RS_C_TRUE
      I_ROLLUP_ONLY                = RS_C_TRUE
      I_READ_ODS_DELTA             = RS_C_FALSE
      I_RESULTTYPE                 = ' '
      I_DEBUG                      = RS_C_FALSE
    IMPORTING
      E_END_OF_DATA                =
      E_AGGREGATE                  =
      E_RFCDATA_UC                 =
      E_SPLIT_OCCURRED             =
      TABLES
        I_T_SFC                      = g_t_sfc
        I_T_SFK                      = g_t_sfk
       I_T_RANGE                     = g_t_range
      I_T_TABLESEL                 =
      I_T_RTIME                    =
      I_T_REQUID                   =
       E_T_RFCDATA                   = g_t_rfcdata
      E_T_RFCDATAV                 =
       E_T_FIELD                     = g_t_field
    EXCEPTIONS
      ILLEGAL_INPUT                = 1
      ILLEGAL_INPUT_SFC            = 2
      ILLEGAL_INPUT_SFK            = 3
      ILLEGAL_INPUT_RANGE          = 4
      ILLEGAL_INPUT_TABLESEL       = 5
      NO_AUTHORIZATION             = 6
      GENERATION_ERROR             = 7
      ILLEGAL_DOWNLOAD             = 8
      ILLEGAL_TABLENAME            = 9
      ILLEGAL_RESULTTYPE           = 10
      X_MESSAGE                    = 11
      DATA_OVERFLOW                = 12
      OTHERS                       = 13
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'RSDRI_DATA_UNWRAP'
      EXPORTING
        i_t_rfcdata = g_t_rfcdata
      CHANGING
        c_t_data    = g_t_data.

  • Query on virtual cube showing incorrect values

    Experts,
    I have create a virtual cube on a base cube using services (info-source). both virtual as well base cube are z-development and are in BI.
    Base cube has 6 records, now when I check data in virtual cube using display data it shows correct values based on routine written in virtual cube transformation.
    Problem is when I created query on this virtual cube it doesnt show correct data or sometime no applicable data. After debugging I found, in end routine itself result package contains records with blank values in it on which I have written routine. But it does this only while executing query not when I display data in cube.
    Regards,
    Akshay

    Hi!!!
    And how do you solved it?

  • Data source on top of virtual cube s_r_infoprov  expection

    hi experts,
    i have generated a export datasource on virtual cube. The virtual cube is based on a function module.
    When I display data in virtual cube it shows all the data .When I extract the data from it through DTP , it works well.
    But when i am using data source(exported data source) to pull the data from the virtual cube it is not pulling the data.
    It is throwing an exception at the following place.
    CALL FUNCTION 'RSDRI_INFOPROV_READ'
           EXPORTING
                                                            "begin qyh030513
             i_infoprov             = l_infoprov  "'/CPMB/ASFIN'
    *        i_infoprov             = do_util->do_appl_info_m-MULTIPROV  "'/CPMB/ASFIN'
                                                              "end qyh030513
             i_th_sfc               = lth_sfc
             i_th_sfk               = lth_sfk
             i_t_range              = lt_range
             i_rollup_only          = space
             "i_use_db_aggregation   = abap_true "abap_true "RS_C_TRUE
             i_use_db_aggregation   = IF_DB_AGGREGATE "abap_true "RS_C_TRUE
             i_use_aggregates       = abap_true "abap_true "RS_C_TRUE
             i_packagesize          = i_packagesize
             i_authority_check      = space
             i_currency_conversion  = space
           IMPORTING
             e_t_data               = et_data
             e_split_occurred       = e_split_occurred
             e_end_of_data          = e_end_of_data
             e_stepuid              = l_stepuid
           CHANGING
             c_first_call           = c_first_call
           EXCEPTIONS
             illegal_input          = 1
             illegal_input_sfc      = 2
             illegal_input_sfk      = 3
             illegal_input_range    = 4
             illegal_input_tablesel = 5
             no_authorization       = 6
             illegal_download       = 8
             illegal_tablename      = 9
             OTHERS                 = 11.
    When we go inside this function module in debugging the below code will be there
    STATICS: s_r_infoprov   TYPE REF TO cl_rsdri_infoprov.
       CLEAR: e_t_msg.
       IF i_clear = rs_c_true.
         CLEAR s_r_infoprov.
         RETURN.
       ENDIF.
    IF s_r_infoprov IS NOT INITIAL AND c_first_call = rs_c_true.
    *   nested call of RSDRI_INFOPROV_READ
         MESSAGE e882(dbman) RAISING illegal_input.
       ENDIF.
    Problem is with the s_r_infoprov value.  When I execut with data source in RSA3 then  the value is {O:222*\CLASS=CL_RSDRI_INFOPROV}
    and when I executed directly the virtual cube the value for s_r_infoprov is initial.
    So because of this value {O:222*\CLASS=CL_RSDRI_INFOPROV} the following code got executed and throwing an exception.
    Experts please guide how to solve this. will data source on top of virtual cube wont work?
    thank you

    Hi Sander,
    Thank you for the reply.
    I am trying to understand why an virtual cube is not working if it is generated as an exported  data source and it is working perfectly if directly connected as a source to DSO or Cube?
    Problem is with the s_r_infoprov value. It is getting populated differently , that is why there is an exception which using data source(virtual cube generated as exported data source).
    If this functionality is not going to work then why SAP has given an option to generate an exported DS of virtual cube.
    thank you for all giving some valuable inputs on this. Some how some thing is missing it seems....

  • Virtual cube with services read from Multicube?

    Hello All.
    We have logically partitioned the Balance Sheet cube 0FIGL_C01 into 3 new cubes. Now I found that I also had to partition the Virtual cube 0FIGL_VC1 into 3 new virtual cubes( I have copied the standard function module to change the data origin).
    Then I have included 4 virtual cubes in one single multicube.
    When I run a query on the multicube, I get a short Dump.
    My questions are:
    1.- has anyone done the same logical partioning for balance sheet before?
    2.- Is it possible to use a multicube as source of data for a Virtual cube with services, using the balance sheet virtual cube function module?
    Thank you all for your help.
    Regards,
    Alfonso.

    a basic cube can only be a source of data for virtual cube or for  a multicube.
    all cubes should have atleast one char common when u add them in a multicube.
    check this

  • Chars & kf's related to virtual cube not get updated via multiprovider

    Hi Friends,
                  I've got one multiprovder, which has got two infocubes, one is 0CFM_C10 & ZRATES, in these one is basic infocube and the other one is virtual cube. So i've built the query on multiprovder which gets data from two infocubes basic and virtual, but when i'm trying to restrict in the query, the chars & kf's which are related to virtual infocube are not getting data, but the chars related to basic infocube getting data.
                   NOTE: i've checked virtual cube by choosing the "display data" option, here it is showing, bt via multiprovder it's getting updated, even i can't see the data for those chars in multiprovder also using "display data" option,
    what would be the problem? why virutal cube data isn't getting updated?
    any idea's
    awaiting for your responce

    Hi Siggi,
            Thanx for your replay, actually the chars & kf's related to virtualcube are not in basic cube know! and also the query requirement is to get data from two cubes, i think in that case, not required to restrict at infocube level using 0infoprovider,
                 i can be able to see the data in virtual cube, but it's getting vir multiprovider, the assignment in multiprovider is right,
    then what would be the problem?
    Regards,
    BalajiReddy

Maybe you are looking for

  • Time not stopping with while loop

    Hello, I've attached my VI.  I am having trouble with while loops. I want to turn on LEDs. The first LED should turn on after 3s.  The second LED should turn on after 5s.  The third LED will turn on later.  The LEDs turn on based on the following con

  • Signal c00 received by operating system

    Hi Experts, In the sytem error log, SM21 we got an error "Signal c00 received by operating system" with the following documentation. "Due to special circumstances (for example, memory overwritten), the current process has received a signal from the o

  • Doubt on Join Mapping documentation

    Dear all, Let me present the following case: I'm working against an Oracle database where I have two tables ASSET (id NUMBER, name VARCHAR2, asset_type_id NUMBER) and ASSET_TYPE (id NUMBER, type_name VARCHAR2). What I want to try is to build an Asset

  • NAPP convention complimentary 12 months access to CC won't work outside USA?

    I attended the NAPP Photoshop Convention in Las Vegas this year and was given a 12 month complimentary access to Adobe Creative Cloud.  However when I returned to New Zealand and tried to use the activation code it would not work because the code was

  • Youtube Subscriptions

    Once i updtaed my system with the either 10.6.7 combo or the lastes updates (i did both at the same time and not sure what did it) i have had issues with new vids showing on my youtube account from my youtube subscriptions. There is a delay of about