Query on a virtual provider (nearlined) locks indexing

Hi,
We have a few queries that are on the virtual providers. These are nearlined (SAND) data. When a user execute this query, a lock is established in SM12 on the RSDDTREXDIRTABL table with the virtual provider name as the argument. Due to this lock, any SIDs that are part of the virtual provider are not able to index in BWA. Since the queries on the virtual providers are usually long running ones, the indexing waits and finally fails. We plan to increase the wait time settings in the RSDDTREXADMIN table.
Why does a virtual provider query locks the SID? Is it because, the queries simulate a realtime data load from the nearline storage and in the process simulate SID generation (eventhough these SIDs are existing in BW and not yet archived).
Anyone dealt with a similar issue? Any suggestions?
Thanks,
Murali

Hello Murali,
I don't think this scenario has been tested much. Please open a customer message so SAP support can analyze the issue.
Regards,
Marc
SAP Customer Solution Adoption (CSA)

Similar Messages

  • 0BWTC_C08 cube, virtual provider Query Problem

    Hi Gurus,
    Has anyone worked on 0BWTC_C08 cube. it is statistics virtual provider. i have installed it in BW and ran a query on it without any selections, 0TCTIFCUBE in rows and frequency in columns it is returning null data for all the cubes.

    Hi amarri9:
    Take a look a t the SAP Note 309955 - "BW statistics - Questions, answers and errors".
    Regards,
    Francisco Milán.

  • Virtual provider with services

    Hi experts,
    we have the same query on virtual cube(with services) and BW loacal cube.Both local cube and virtual cube contains the same data. But both are showing different query results.
    that is virtual provider query is not displaying all the values in master data table.
    for example we have 10 brands under one company code, the virtual cube query is only showing 5 among them. I would like to see all the values without any restrictions, so can you please guide me.
    when i checked from tcode /listcube it is displaying all the values without any restriction.
    Thanks for your time.

    Hi Anupama,
    My question is if u have same data in the both cubes ( virtal&Basic) u can create querry on u r basic cube only. But this not answer.
    R u using same conditions on both cubes. Means In querry designer.
    When u r using the virtual cube(with services) it is generally create on function module, this module properly maintainning the complete master data or not? Check it.
    Hope this will help
    HARI GUPTA

  • How build where clause in select statement in FM for Virtual provider

    Hi
    I looking for example of FM for Virtual provider where I find code how assign to select statement "where" clause value from query variable.
    In following code how build t_r_custtype range and how assign value to it.
    CODE********************************
    TYPE-POOLS: abap.
    initialize
      CLEAR: e_t_data, e_t_msg.
    this is specific to infoprovider VIRTPROV
      CHECK i_infoprov = 'VIRTPROV'.
      FIELD-SYMBOLS: <l_s_sbook> TYPE sbook,
                     <l_s_data>  TYPE ANY.
      DATA: l_t_component TYPE abap_compdescr_tab,
            l_t_sbook     TYPE TABLE OF sbook.
    initialize
      CLEAR e_t_data.
    Data selection / only Business Customer
      SELECT * FROM sbook
        INTO CORRESPONDING FIELDS OF TABLE l_t_sbook
        WHERE custtype in t_r_custtype.
    ENDCODE********************************
    Thanks a lot
    Adam

    Hello,
    Would you like fill the ranges in Customer exit for BEx..? 
    If Yes. please refer the attachment for the whole code...
    "Sample code in Customer Exit in BEx"
    IF i_step = 2.
    CASE i_vnam.
    WHEN 'ZDAY_CX'.
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZDAY_IN'.
    CLEAR: l_s_range.
    ZT_DT1 = loc_var_range-low.
    ZT_DT2 = loc_var_range-HIGH.
    CALL FUNCTION 'DATE_CREATE'
    EXPORTING
    ANZAHL_JAHRE = 0
    ANZAHL_KALTAGE = 0
    ANZAHL_MONATE = '-1'
    ANZAHL_TAGE = 0
    DATUM_EIN = ZT_DT1
    DATUM_EIN_ULT = ' '
    ULTIMO_SETZEN = ' '
    IMPORTING
    DATUM_AUS = ZFIDAY .
    E_TT =
    E_ULTKZ =
    CALL FUNCTION 'DATE_CREATE'
    EXPORTING
    ANZAHL_JAHRE = 0
    ANZAHL_KALTAGE = 0
    ANZAHL_MONATE = '-1'
    ANZAHL_TAGE = 0
    DATUM_EIN = ZT_DT2
    DATUM_EIN_ULT = ' '
    ULTIMO_SETZEN = ' '
    IMPORTING
    DATUM_AUS = ZLSDAY.
    E_TT =
    E_ULTKZ =
    l_s_range-low = ZFIDAY .
    l_s_range-high = ZLSDAY .
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDLOOP.
    *****************************************End*************************************
    **To get the From date (For Text Variable) as per the user input date interval range**
    WHEN 'ZR_S'.
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZDAY_IN'.
    CLEAR: l_s_range.
    ZT_DT1 = loc_var_range-low.
    ZT_DT2 = loc_var_range-HIGH.
    CALL FUNCTION 'DATE_CREATE'
    EXPORTING
    ANZAHL_JAHRE = 0
    ANZAHL_KALTAGE = 0
    ANZAHL_MONATE = 0
    ANZAHL_TAGE = 0
    DATUM_EIN = ZT_DT1
    DATUM_EIN_ULT = ' '
    ULTIMO_SETZEN = ' '
    IMPORTING
    DATUM_AUS = ZFIDAY .
    E_TT =
    E_ULTKZ =
    l_s_range-low0(2) = ZFIDAY6(2).
    l_s_range-low+2(1) = '.'.
    l_s_range-low3(2) = ZFIDAY4(2).
    l_s_range-low+5(1) ='.'.
    l_s_range-low6(4) = ZFIDAY0(4).
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDLOOP.
    *****************************************End*************************************
    Please let me know if any clarification required..
    Rinku..

  • Issue with Query on a virtual infoprovider

    Hello,
    I am getting the following error message while executing a query on a virtual infoprovider. We have recently gone through upgrade from BI 3.5 to BI 7.0 EHP1 (SP5) and from SEM BCS 4.0 to BCS 6.0.
    EVersion not specified or not unique                                                             UCR0                006                   
    EError reading the data of InfoProvider ZBCS_CV11                                    DBMAN             305ZBCS_CV11          
    EError while reading data; navigation is possible                                          BRAIN               289                   
    I>> Row: 11 Inc: RAISE_READ_ERROR Prog: CL_RSDRV_VPROV_BASE   RS_EXCEPTION        301CL_RSDRV_VPROV_BASE
    this query has been running fine before the upgrade. In the selection screen there are two fields - version1 and version2, if I am specifying same value in both the fields then the query runs fine and if I am providing different values then the above stated error message appears.
    I have tried different settings with properties - Read mode: H,A,X and also different combination from the properties of the virtual infoprovider - with and w/o hierarchies; with and w/o navigation attributes but it did not workout.
    the only thing which has changed on this virtual provider is that I had enabled delta caching as this was supposed to be used in a multiprovider.
    Has anyone experienced similar issue or have an idea as to what is going wrong here. Please advice.
    Regards,
    Manish

    Hi Manish,
    I have exactly the same issue with a query on a virtual infoprovider after upgrading from BI 3.5 to BI 7.0 EHP1 (SP5) and from SEM BCS 4.0 to BCS 6.0.
    Would you be so kind to tell me how you fixed this. (other queries seem to be working)
    Kind regards,
    Jamie Flaxman

  • BI: Virtual Provider for ECC Report with same selection parameters

    Dear all,
    I have attached screen shot of ECC report selection screen with contain Material, Plant and Dates. As report is bit complex and I need to use just ITAB (internal table) of it for further use in BEx Query and for Dashboard purposes.
    Problem: I need to call this report by creating Virtual Provider in BI so that I get data from ECC at runtime as it is shares report so I can't able to save any data in transparent table as report calculated opening balances at runtime.
    It is possible for me by using function module i can get itab by submit return and then create Data Source for it ?
    As i make copy of FM ZZRSAX_BIW_GET_SIMPLE i cannot use submit there due to OPEN CURSOR mechanism there.
    Kindly anyone suggest how it is possible to call report with same selection parameters for creation of virtual provider.
    Please mention if i miss any point in explaining problem.
    Feel free to ask for any query.
    Many thanks.
    Hoping for positive and quick responses.

    please create 2 reports as given below.-
    REPORT  ZSZP_00007.
    parameters a(5) .
    parameters b(5) .
    parameters c(5) .
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF screen-name = 'A' or screen-name = 'B' .
      get parameter id 'aaaaaaaaaaa' field a.
      get parameter id 'bbbbbbbbbbb' field B.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    start-of-selection.
    your logic
    REPORT  zszp_00005.
    PARAMETERS a(5).
    PARAMETERS b(5).
    START-OF-SELECTION.
      SET PARAMETER ID 'aaaaaaaaaaa' FIELD a.
      SET PARAMETER ID 'bbbbbbbbbbb' FIELD b.
    your logic
    SUBMIT zszp_00007 VIA SELECTION-SCREEN.
    i hope this approach will solve your problem.
    thanks
    Swanand

  • Virtual Provider not getting executed in LISTCUBE

    Hi,
    Initially, my virtual provider was not transported successfully, but now it is transported after I transported by unlocking my objects in QA system.
    But when I execute the Virtual provider in listcube, I am getting the following errors:
    Error reading the data of InfoProvider ZIP_RC_01
    System error: Syntax error in program SAPLZBW_IP
    Error in substep
    How to go about solving these issues.
    Thanks & Regards.

    Hi,
    I have just tried to transport the following:
    InfoCube                                    
    Data Transfer Process: Active Version       
    DataSource in BW                            
    Communication Structure for Transformation  
    Transformation                              
    And no program was included in the transport request.
    Note: I am trying to execute a Virtual Provider in LISTCUBE T.Code and I am getting this error when I do it.
    And I tried to transport with the following options:
    The object was locked in a request in BW Qual system and hence we were getting an error when re-transporting. So, we have released the same in BW QUAL and then transported with the options 'Overwrite Objects in Unconfirmed Repairs', 'Import Transport Request Again' and 'Overwrite Originals' when importing the request.
    Please advise.

  • Virtual provider 0TCT_VC01 - ST03N Gives Dump

    Hi,
    Have installed BI7.0 Technical contents and have loaded query statistics data using process chain. Everything is working fine except for one scenario.
    In one of SAP docs its specified that 0TCT_VC01 is used to take delta statistic records from database view RSDDSTAT_OLAP. When there are no new delta statistics available in this view (i.e, once all data are loaded into basic cube), a dump is seen in ST03N transaction when BI workload for the current day is selected. Dump says "SAPSQL_SQLS_INVALID_CURSOR"
    Has anyone faced this issue?
    Regards,
    Vidhya.A

    Hi Chetan,
    Thanks for the reply!
    Have already done all the steps specified like "activating the direct access". I am able to see the correct values in ST03.
    The only problem happens in one scenario where,
    Scenarion1 : Load the process chain TCT* to get all report statistics - this gets all delta records from database view and hence no delta record is available for the virtual cube to read and hence we get a dump in st03n transaction.
    If a execute a report then new statistics data would be available in Database view and virtual provider can read those. In this case there wouldn't be any dump. My issue is with the first scenario only.
    Hope the issue is clear.
    Regards,
    Vidhya.A

  • Virtual provider cube ABAP Code to read the Characteristics

    Hello Friends.  We have a virtual provider cube that is connected to the basic real cube for the GL. We want to populate three Characteristics in the virtual provider which are Material Codes, Code1 Code2 Code3 which change very frequently, every alternate day in ECC.
    I want to write the Code in Func Module of Virtual Prov Infocube
    that read the Mapping DSO for the Values of Material Codes, Code1 Code2 Code3 and Populate it in the Virtual Cube at RUNTIME of the execution of the Query built on the virtual provider.
    If you have implemented this functionality can you pls. provide the step by step details.
    Thanks
    Soniya

    Hi,
    I have used ABAP for hierarchy but it is in BPS. I have used some of the CLASS given by SAP.
    For your requirement, you can use the CLASS CL_RSR_HIERARCHY
    Rgds,
    Shailesh

  • Error in virtual provider?( is it possible from flat file)

    hi friends,
    this step i am using my flat file extraction.
    i created DS and  under extraction tab i gave direct access allowed, i didnt create infopackage.
    i created virtual provider and applied transformations , i created DTP and activate it.
    but i didnt execute it . right click my virtual provider activate direct access. now i am tryning to see data in virtual provider, i am getting this error.
    please let me know what i done is correct or not, if correct how can i solve this problem
    <b>errors:</b>
    <b>error in bw
    operation generate count not be carried out for request 8
    object data transfer process dtp_diel1003lx0biivvkp  is locked</b>

    hi,
    please answer if possible or not>

  • Virtual Provider with function Module

    Hi,
    I have one Querry which is built on Virtual Provider.But due to huge amount of data , it goes to dump.The Query fetches only one single record , summation of all the key figures.
    Currently Virtual Provider is built on DTP Based on DTP/3.x InfoSource.
    If i create Virtual Provider on Function Module,which will calculate the sum of key figures , will it solve my problem.Or is there any other option.
    I dont wnat to do any analysis on it , just for Reconcilation purpose
    Regards,
    Anita

    The query execution will be fast if your code to get the data is tight and the SQl is tuned - same as anythign else really
    Step by step -
    create a generic datasource on BW using FM
    code the FM to get data from the cubes/ODS objects
    replicate the datasoruce on the BW box on itself
    create a virtual provider that uses the datasource
    create a transformation between the datasource and the virtual cube
    create a direct access DTP between the virtual cube and datasource
    create a query
    however - you may still have response time problems using the virtual cube
    Can you use aggregates to get the response time down without using a virtual cube?
    When you analyse the SQL and check the query execution path in RSRT - are the stats up to date?
    If you could SQL against the tables better than the OLAP processor does - then you use a virtual cube
    This should be a last resort - you ned to go through all the normal options first

  • Error when using RSDRI_INFOPROV_READ in Virtual Provider

    Hello,
    I Have a Virtual Provider built using a function Module. In that function module i am reading data from an infocube using RSDRI_INFOPROV_READ.
    When i execute a query built on the virtual provider, i have an error telling me a nested query is not allowed.
    I am trying this on BI3.5. I have this working on BI7.0.
    Is this not possible in BI3.5? Is there a workaround or a Sapnote?
    Thanx

    Take a look at OSS Notes 832019 & 918131.

  • Virtual provider and Inverse routine

    Hi guys,
    I have a strange problem.
    I've implemented a virtual provider over data source in ECC
    and it works fine when I filter the query.
    I get the filters in my inverse routine.
    But when I try to restrict the data via restricted key figure,
    I cannot get the restriction in my Inverse routine.
    Any ideas?
    Regards
    Shlomi

    Hi,
    You create inversion routines for virtual provider in order to pass query selection criteria to the source system. This helps to improve your performance.
    In case of restricted Key figures the restrictions will not be passed to the source system, but will be applied to the dataset fetched from the source system for selections given in query selection criteria. Hence you will not see the restrictions in transformations.
    Note:
    Inversion routines are used to pass only the selections provided in query.
    - Geetanjali

  • Creating OHD for Virtual Provider

    Hi,
    I want to read data from SAP BW using OHD and Third party tool.
    I am using SAP BW 7.4
    My question is can we create OHD for Virtual Provider in BW 7.4
    Thanks in advance
    Poornima

    Hi,
    thanks for the guidance.
    Yes, I tried to implement exactly as in the article.
    Yes, I defined the filter for the Infoprovider, as ZV*
    Are you suggesting that at this point, if in the method  if_ex_rsr_olap_badi~define, I change the value of
    "ZV_ZIPER" to my DSO or Cube, I should now see the virtual key figure in my query?
    Based on this understanding, I modified the method as follows, (my cube name is 2LIS_11_VASCL):
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      DATA: l_s_chanm TYPE rrke_s_chanm,
      l_kyfnm TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
      <l_s_chanm> TYPE rrke_s_chanm.
    Insert Code
      CASE i_s_rkb1d-infocube.
    CASE i_s_rkb1d-2LIS_11_VASCL.
          WHEN '2LIS_11_VASCL'.
          l_s_chanm-chanm = 'ZVAR_SHPR'.
          l_s_chanm-mode = rrke_c_mode-read.
          APPEND l_s_chanm TO c_t_chanm.
          l_s_chanm-chanm = 'ZVARDT'.
          l_s_chanm-mode = rrke_c_mode-read.
          APPEND l_s_chanm TO c_t_chanm.
          APPEND 'ZV_20DV' TO c_t_kyfnm.
      ENDCASE.
    endmethod. "if_ex_rsr_olap_badi~define
    After activation, I checked the query and still I am not seeing the virtual key figure in the query for selection.
    Any more ideas?
    Thanks
    Edited by: Amanda Baah on May 24, 2009 8:01 AM

  • Use of Virtual Provider

    Hi friends,
    what is  virtual provider? when we use this ?  please tell me any instance where we use virtual provider in realtime scenario?.
    regards
    Milu

    Hi Milu,
    A Virtual provider is a logical definition of an object which does'nt exist at the data base level.
    Virtual provider does'nt have a physical data base table they extract the data innstantly from the source at the query execution time.
    A Virtual provider is mostly used when there is little amount of data to extract and this is mainly operational data i.e showcasing real time data very frequently can be made possible with virtual providers.
    For ex : You can have a virtual provider to depict the daily sales orders on a hourly basis.
    Regards,

Maybe you are looking for