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.

Similar Messages

  • 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

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

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

  • 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

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

  • Virtual Cube with DTP for direct access

    Hello experts, I would like to hear about some tips to improve performance on reporting over this kind of infoprovider. If there were no performance impact in reporting then this cubes would be perfect to face the requirement we are facing. So I would like to get some help on deciding if we can go ahead with this idea or not.
    The volume of information is not going to be small in underlying cube staged in APO source system but we can take care on reports using restrictions and small horizons of information. There is no processing in BW side, we would just transfer records from source system to report.
    What else besides restrictions in reports can we do to reduce query performance impact? Any work in underlying cube like partitioning, compression or so?.
    Any advice from your experience?.
    Thanks so much.

    Hi Martin,
    There are 2 BCS documents that might give you some starting point on Virtual cubes, if you have a S-userID for service.sap.com/support, these generally discuss the use of Multiproviders, helped by VirtualProviders so you'll have to skip through some redundnat content.
    How tou2026 use Deltacache and Deltapair in SEM-BCS (
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000063832008E)
    How to... configure the Delta Load based MultiProvider Scenario
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000063842008E
    or
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006323702006E
    How to... Set up a SEM-BCS Data Mart in BW;
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006323962006E
    A generic Virtual provider link that I had lying around;
    https://websmp208.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004124212004E

  • Virtual cube with function module

    hi
    I wrote function module which is used with virtual cube.
    When I launch query build on this cube in the BEX i can't interrupt execution
    of function module. How to put break point. may be there is any option that could turn off debugging?

    Try an external breakpoint.  How you set that depends on your version.  If there's not a button for it on your editor screen, look at utilities->settings->ABAP Editor->debugging in SE38.
    matt

  • 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 FM Error

    Hi All,
    Am using Virtual Cube for Reporting Inventory data.
    Am moving Inventory data from a Cube to a Virtual Cube.
    As the Calculations of Inventory is done mostly in Queries am downloading the data from Inventory Cube through Function Module and passing this output to Virtual Cube through services of Function module .
    when i pass the Values to the Function Module Output Table
    e_t_data following errors occur:
    ASystem error in program SAPLRRK0 and form HIERA_AGGRE_SPID-01.
    Please help me out in this issue.
    Thanks in Advance
    Arun

    Hi Arun,
    Do you have aggregates on the original cube from which yur are pulling the data.
    I think this issue is becasue of the aggregates.
    just check it and try tp find how to import the aggregates if any there are.
    Thanks

  • 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

  • Problem in getting updated data of VO

    I have a jspx page which have one ADF input LOV alongwith other controls. I have also a valueChangeListener attached with it so that whenever, user changes value, i want to process that value along with other values in VO which are set by LOV in the

  • Recovery of documents deleted from sharepoint online

    Hi, Is there a way to recover a document that is deleted and purged from the secondary/administrator recycle bin? If not, are there options (third party services, maybe?) or solutions to create some kind of recovery plan beyond that stage? What are y

  • Please Help me: Access Denied error

    Dear All, Till yesterday I was able to edit my forms in adobe workbench.But, today I met an error while accessing my form.I tried restarting my JBOSS and my machine as well.But still getting the same error! can anyone help me? Attaching the screen sh

  • After migrating to new MBP have two versions of GarageBand

    Just finished migrating to my new MBP from an older MBP.  I had the latest version of GB on the older machine.  After completing the migration, found two copies of GB on the new machine.  One is the latest version, 10.0.1 and the other is GB '11 (V 6

  • HT201335 how do you turn off your mac screen when you are playing a movie thru air play on your tv

    New to mac's and new to know if you can turn off the mac screen when you play a movie thru air play to apple tv so your not having two sceens going. Tks