Querying on aggregates created on Virtual Cube

Hello,
I have implemented a virtual InfoProvider with Services.When I create queries directly on the Virtual Infoprovider the query runs fine and I see the report.
As per my requirement I create an aggregate on the Virtual Infoprovider .Then I define a query on the aggregate .But when I execute this query I get the following errors :
Error reading the data of InfoProvider AG4
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
Dereferencing of the NULL reference.
Would appreciate any assistance on this topic.
Thanks
Priyadarshi

Yes it is possible to create aggregates on Virtual cubes.
I will be grateful if hope anybody who is aware of the method of aggreagate creation and who has faced similar issues comes forward and throws some light on what could be the error.
Thanks

Similar Messages

  • Error while executing BEx query made on Multiprovider having Virtual cube

    Hi All,
    We are getting an error message while executing a BEX query made on Multiprovide which consist of a Virtual Infocube infocube which extracts data from APO Live Cache, the error which we get is as below
    ''Error Reading the data of the infoprovider ZSS_R054
    Error in Substep
    Errors have occured while extracting data from datasource 9A_E2E_FC2
    Errors occured during parallel processing of query 4, RC:3
    Error while reading data; navigation is possible''
    And also when tried to execute from RSRT , it gets executed in debug mode in TRY and CATCHE
    Please let us know if anyone faced a similar situation or can suggest me what to do.
    Please suggest.
    Thanking you in advance.
    regards,
    ajay

    Hi Ajay,
    Try RSRV transaction, Select All Elementary Tests, Select query, now drag both these items on the right hand pane, select your query from this popup. and execute.
    Let us know what the result is.
    regards,
    Sree.

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

  • 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

  • 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

  • What are the naming conventions used for aggregates created from Query?

    What are the naming conventions used for aggregates created from Query?

    Hi Reddy,
    As you know aggregates are baby cubes right.
    Aggregate names by default system has given as 6 digit number like 100831 but write the description by yourself.
    Here you have to remember fact table is created with the name
    like for ex: /BIC/F100831.
    while creating aggregates you can observe all options carefully till complete the creation process then after I am sure about
    your can get idea .
    If problem still persists with you let me know the same until
    get out of that.
    else assign points if this is sufficient.
    Thanks,
    Ramki

  • 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

  • Query on Virtual cube 0FIGL_V10 show old "Last Data Updated:" on Portal

    Hello all,
    We are using the SAP delivered virtual cube for G/L financial statements reporting. We are running these queries on Portal (BI 7.0) we are using the 0ANALYSIS_PATTERN template. Now since we are not actually loading data in this cube the template show "Last Data updated" as long time back, I am guessing when the cube was last activated or transported.
    The template and time stamp is working perfect for queries on all other cubes or Multiproviders.
    The business users are asking can we have the actual time stamp there (when actually the data was last loaded),
    Does anyone have any idea how we can do it without actually rewriting the queries on standard cube.
    Thanks in advance,

    Hi Kiran,
    Always last update data status only will see in our reports on last data updated date. It may be activation of data in cube. please check is there any option of activate data in data flow level.
    Try to create one record in remote data source  and load it again. It may be find the latest status.
    Thanks,
    Chandra

  • Query performance on remote/virtual cube

    All:
    We are on BW 3.5.
    Can anyone suggest anything about improving query performance on remote/virtual cubes? Analysis shows query performance is sufferring at the database level.
    I am looking for some advise beyond hardware and database parameters. It seems current hardware and database parametrs work fine with basis cubes.
    Another solution is datamart.But can anything be done before/without going to datamart?
    Any help will be appreciated.
    Thanks

    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

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

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

  • How   to create  virtual cube  cube  in bi-7

    how   to create  virtual cube  cube  in bi-7

    Hi,
    VirtualProviders
    InfoProvider with transaction data that is not stored in the object itself, but which is read directly for analysis and reporting purposes. The relevant data can be from the BI system or from other SAP or non-SAP systems.
    VirtualProviders only allow read access to data.
    Various VirtualProviders are available. You use these in different scenarios.
    For more information, see:
    ●      VirtualProvider Based on the Data Transfer Process
    http://help.sap.com/saphelp_nw04s/helpdata/en/da/5909392a430303e10000000a114084/content.htm
    ●      VirtualProvider with BAPI
    http://help.sap.com/saphelp_nw04s/helpdata/en/26/39dc37bff7a66de10000009b38f889/content.htm
    ●      VirtualProvider with Function Modules
    http://help.sap.com/saphelp_nw04s/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    ●      Using InfoObjects as VirtualProviderss
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/13baccabbe5d78e10000000a11466f/content.htm
    Note that the system does not run existing exits or customer and application extensions (customer exit, BTE, BAdI) for direct access to the source system.
    http://help.sap.com/saphelp_nw04s/helpdata/en/23/c0234239f75733e10000000a155106/frameset.htm
    Thanks,
    JituK

  • Performance issue on a virtual cube

    Hi BW gurus,
    I am working on Consolidation virtual cube and the query performance thru that cube is very bad. I know that we cannot build aggregates or partition on a virtual cube ..what should be my approach then.....
    Your suggestions will be appreciated with lots of points

    Hi Nick,
    If you can not move out of the virtualcube option, then I think you should try to improve the performance of the virtual cube. This mainly ABAP work. You can use SE30 to analyze what parts of the code is taking too much time. Follow this steps:
    1) Create a breakpoint in the function module of your virtualcube
    2) Go to listcube and initiate an extraction from your virtualcube.
    3) On a separate session, run SE30 to start an analysis of the extraction process for your virtual cube.
    You can use the report from SE30 as a starting point on your performance optimization work.
    Note: Transaction ST05 can help you determine what database calls are taking a long time.
    Hope this helps.

  • How to load data from a virtual cube with services

    Hello all,
    we have set up a virtual cube with service and create a BEx report to get the data from an external database. That works fine. The question is now:
    Is it some how possible to "load" the data from this virtual cube with service (I know that there are not really data...) into an other InfoCube?
    If that is possible, can you please give my some guidance how to set up this scenario.
    Thanks in advance
    Jürgen

    Hi:
    I don't have system before me, so try this.
    I know it works for Remote Cube.
    Right Click on the Cube and Select Generate Export Data Source.
    If you can do this successfully, then go to Source Systems tab and select the BW. Here, Right CLick on select Replicate DataSources.
    Next, go to InfoSOurces, click on Refresh. Copy the name of Virtual Cube and add 8 as a prefix and search for the infosource.
    If you can see it, that means, you can load data from this cube to anywhere you want, just like you do to ODS.
    ELSE.
    Try and see if you can create an InfoSpoke in Virtual Cube. Tran - RSBO.
    Here, you can load to a database table and then, from this table, you can create datasource, etc.
    ELSE.
    Create query and save it as CSV file and load it anywhere you want. This is more difficult.
    Good luck
    Ram Chamarthy

  • Virtual cube with services - internal table I_TH_SFC

    I have a BCS virtual cube w/services.
    The function module of the virtual cube has an import parameter I_TH_SFC
    Which contains mappings of characteristics in query drilldown.
    Example: CHANM = 0BCS_CGPCTR, CHAALIAS=K____896
    I want to simulated a drilldown on a characteristic by adding manually in ABAP
    An entry in parameter table I_TH_SFC, to meet customer req.
    Example: CHANM = 0COMPANY, CHAALIAS=K____???
    I need to determine the CHAALIAS based on CHANM.
    My understanding is that these aliases are created
    By OLAP engine when query is save.
    Anyone know where these mappings are stored?

    TABLES: /bi0/siobjnm.

Maybe you are looking for

  • Is there a way to programmatically add datasources to multiple instance in a cluster?

    Hi, I am wondering whether it is possible to loop through the instances in a cluster and add the same datasource to each using the setMSSQL function from cfide.adminapi.datasource.cfc. We are running CF9.01 on Windows Server 2008 r2 (64 Bit). If you

  • Open embedded files in PDF doc

    When I convert a word file with embedded files (insert object) then convert the document to PDF i cannot open the embedded files they just show up as pictures. Where is the setting to enable me to click on the file in PDF and have it open. I have Pro

  • FeedBack...

    Hello, here is my feedback after using Flash Catalyst for 4-5 days, on 2 projects, I hope it will help... Some points are related to the usability, oters are questions, and others are bugs,... (I'm on PC, with Windows Vista) The current version is re

  • Apple TV doesn't show main menu and cannot connect to iTunes store

    I've been using my Apple TV almost everyday for the past week and i've had it for awhile and all of the sudden it only shows the "computer" and "settings" buttons. It looks like it's connected to the internet because it has an IP address, but it stil

  • 11.1.1.6.9 - scheduljob - status of actual job instead of parentjob

    we know the jobid returned for the schedulereport is parentjobid and not instance jobid. 1. How to get the instance jobid ? 2. Tried getAllScheduledReportHistory by providing parentjobid - its not returning childjobs 3. Only way it worked is getAllSc