Adding a Descendents Query to a Cube

Hi,
I have the following MDX query that I wish to add to a cube:
with member [measures].[descendents test] as
sum
    Descendants ([Date].[Calendar Year],, LEAVES) *
    Descendants ([Date].[Calendar Quarter of Year],, LEAVES) *
    Descendants ([Date].[Calendar Week of Year],, LEAVES) *
    Descendants ([Product].[Category],, LEAVES) *
    Descendants ([Product].[Subcategory],, LEAVES) *
    Descendants ([Product].[Product],, LEAVES)
            ([Measures].[Internet Sales Amount] * [Measures].[Internet Tax Amount])
) / [Measures].[Internet Freight Cost]
select [measures].[descendents test] on columns,
[Date].[Calendar Year].children on rows
from [Adventure Works]
What's the best way to add a descendents query to a cube? I don't think I should include the Calendar Dimension as the cube has multiple Calendar Hierarchies that I want the calculation to use if selected. Essentially the calculation should do the calculation
at the lowest level even when it's rolled up to a higher level.
Any help and direction would be greatly appreciated.

Hi Silverarrows,
What do you mean by "Add query to a cube"? If you want to add the calculation to the cube, then we can add it in the Calculations tab in the cube designer in BIDS. A calculation is nothing but an MDX expression or script which is used to define
a calculated member, a named set, or a scoped assignment in a cube. For the detail information about how to do it, please refer to the links below.
http://www.sqlservergeeks.com/blogs/AmitK/sql-server-bi/65/sql-server-implementing-calculations-in-ssas-using-mdx-part1
http://www.purplefrogsystems.com/blog/2011/01/how-to-add-calculations-in-ssas-cubes/
http://msdn.microsoft.com/en-IN/library/ms145492.aspx
If I have anything misunderstand, please point it out and elaborate your requirement, so that you can get more help.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Problem with a query on Remote Cube

    Hi,
    We are working on Remote cube, which has a source from a view built on R/3 base table. I need to extract the data to BW based on a current date due to huge volume of data(performance reasons) in the table. I have used an exit on R/3 to restrict to current date but the extract checker was showing the valid data ie only for current date when i had built a query on Remote cube, the Report was showing complete data(restriction not working). We have even tried using an inversion routine in transfer rules to pass the selections to the Source system even then it doesn't work. Could you help if you have come across same kind of situation or you can suggest an alternate solution on the same but we have to use Remote cube.
    Any suggestions asap would be highly appreciated and rewarded with full points.
    Regards,
    Raj

    Could you check the BLOB really contains UTF-8 encoded XML?
    What's your database character set?The BLOB contains UTF-8 Encoded
    and the database where i am connectes have AL32UTF8 character set, but my internal instance have "AMERICAN_AMERICA.WE8ISO8859P1"
    that is a problem?
    How could I change the character set of the oracle local client to the character set of the remote oracle data base?

  • Performance of my query based on cube ? and ods?

    hi all,
    how to identify the performance of my query based on a cube nor ods. I have requirement which enables to do flat file extraction and the extraction is only once and the records are less too. I need to sort whether my query will be faster based upon cube nor on ods.
    Can anyone let me know how to measure the performance of my query based upon cube and ods and how to find out which one will be faster. bcos i need to explain them the entire process of going to load the data directly to ods and do reporting from there nor data loaded directly to cube and do reporting from cube.
    thanxs
    haritha

    Hi,
    ODS is 2 Dimensional  so avoid reporting on ODS,
    Cube is MultiDim, for analysis perpose we can go reporting on Cube only
    Records in ODS are Overwritten whereas in Cube records are Aggregated
    and can also do compression on Cube, which will increase the query performance and so data retrieval in cube is faster
    Thanks

  • Query on Inventory Cube 0IC_C03

    Hi All
    When running a query on Inventory Cube, I get some of the values like this "[2,000]" and the value is not taken into account in the total row.
    Any Idea about the "[Value]"?
    Thanks
    Dror Golani

    Hi,
    Probably it could be a NUMC data type.Just check.
    venkat

  • Query on Stat Cube

    Hi,
    I am trying to get query list based on last used date.
    I ran query on stat cube 0BWTC_...
    Also, i got list of queries from the view v_compdir_compic in bw backend.
    But the query list i get from stat cube query is less than what i get from View table.
    there are aprox 300 less queries.
    can u please tell me why the list is different ?
    thanks,
    KS
    Edited by: Keral Smith on Nov 4, 2008 10:04 AM

    Hi Abhijit,
    We have all BW statistic cubes loaded on november 1st.
    which are 0bwtc_c01,.......they are for aggregate, for OLAP, for OLAP navigation etc.
    so how come the list of queries are different than V_COMPDIR_COMPIC ?
    any clue ?
    thanks,
    KS

  • Query of the cube # is getting displaced

    Hi All,
           In the query of the cube for characteristics whereever it is blank from the cube it is getting displayed by a '#".I want it to display a blank. how to overcome this problem.
    thanks

    Hi Pavan,
    Please try to seach thr forums before posting a question. See this thread:
    Replace the default u0091#u0092 in BEx
    Re: replacing '#'-sign for 'not assigned' in queries
    Hope this helps...

  • Error Message on query of the cube 0PUR_C01

    Hi Gurus,
    I am executing the standard query 0PUR_C01_Q0004 on cube 0PUR_C01 (Purchasing).
    For some results lines I see the following message "No calc possible" on key figures values. Has anybody seen this error before??
    I will really appreciate any help.
    thanks
    Ricardo Okazaawa

    Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • If I execute the query on a cube now my OLAP processor where will come

    hi can any body help regarding this
    If I execute the query on a cube now my OLAP processor where will come first(SID table or Fact Tbl or Dimension Tbl)

    hi,
    i think first is coming to fact table, then dim and sid tables.
    regards
    harikrishna N

  • Adding a New Dimension to a CUBE

    Hello
    Being in new at Oracle OLAP...
    If I need to add a new dimension, SHOULD I RECREATE the cube entirely again??
    Is not there any other way??
    Regards

    Each cell in a cube is referenced by a dimension. Think of it as pointers to cells in a multi-dimensional array.
    So when you add or remove a dimension, what should happen to all those cells.
    In a way you are breaking the cube.
    Since cube data is loaded from a table, you can always re-load your cube after adding or removing a dimension.
    Dimensions are not added/removed frequently, once the design is finalized. You may add a new hierarchy to existing dimensions, which is done more frequently compared to adding a dimension. After adding a new hierarchy, you just have to re-aggregate cube data and not re-load from relational source.
    Cubes are created for reporting, and can be deleted/recreated or truncated - monthly, quarterly or yearly - for various reasons.
    Your source transactional detailed data should be in one (or more) fact tables and should never be deleted.
    Is there any "operational" concern in a Production environment, because of which you are asking this question?
    One trick could be: to create the new cube (with more dimensions or less dimensions than the original cube) and then COPY DATA from original cube into that new cube.
    But it may take the same amount of time as re-loading the new cube from the relational source.

  • Adding new info object to a cube.

    Hi Friends,
    This is a BI SYSTEM, we have a cube with existing data in it. Now we need to add a new info object to the dimension of the cube.
    Now we can add the info object to the cube in 2 ways.
    1. remodeling the cube
    2. select the cube in RSA1 , RIGHT CLICK, IN CHANGE MODE add the info object to the dimension of the cube.
    now my question is why we have the concept of remodeling, when we were able to add the info objects to the dimensions of the cube in the change mode.
    kindly explain me in detail.
    thanks.
    Please search the forum
    Edited by: Pravender on Mar 16, 2011 2:58 PM

    Hi Soumya,
    If you go by option 2 of adding Infoobject in Cube by going in change mode and adding the respective Infoobject in Dimension,
    Then you have to delete Data first from the Infocube in order to add infoobject by this option. Otherwise it won't allow you to add infoobject.
    But by remodelling option you can add the infoobject in dimension without deleting any data from Cube. But this option has its own limitations too.
    Please refer the following link for Remodelling Concept:-
    http://help.sap.com/saphelp_nw04s/helpdata/en/58/85e5414f070640e10000000a1550b0/content.htm
    Hope it helps.
    Regards,
    Hardik

  • Adding of new infoobject to a cube?

    Expert's,
    I have an issue,where in I need to add a new  infobject to a cube.This cube is getting updated by an ODS.The ODS is updating deltas  to cube.Upto ODS it is Full update.The infobject which has to be added to a cube is allready available in ODS and also getting populated.
    Now my question is ,
    How can I add new infobject to a cube without deleting the contents of the cube.I<b> also need all hystorical data whatever available for that infobject.</b>Hope I am clear.
    Points will be definitely awarded for the right answers.

    Hi  Vasu,
       if you are using BI 7.0 means.. you can do that through <b>Remodelling</b> .. option... select your cube. and  right clcik  it.. and in the context menu you can find this option...
      with this.. with out deleting old data you can add new fileds and populate the data also...
      But if you are using 3.x means.. with out deleting the existed data.. you can't addthese  new fields.. and  you can't  load the  those particular data ..
          so,  you need to  take the backup of that data.. and  change the structure of cube... and load  all the data from the  start...
    regards
    @jay

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

  • XMLQuery starts using XMLSEQUENCEFROMXMLTYPE when adding filter to query

    Hi,
    I'm creating a single XML view on 3 relational tables. These table represent:
    1. a dataset description (table: refs)
    2. a keyset (table: keyset, a table with between refs )
    3. a data set (table: data, consisting of reference to key, value, and reference to a dataset)
    Per dataset I can have multiple keys, per key I have multiple values
    (1:N for dataset:keys, 1:N keys:values)
    The definition is given below:
    DROP TABLE data;
    DROP TABLE refs;
    DROP TABLE keyset;
    CREATE TABLE data (ref int, key int, value float);
    CREATE TABLE refs (ref int);
    CREATE TABLE keyset (key int, ref int);
    CREATE INDEX data_krv ON data (key,ref,value);
    CREATE INDEX keyset_kr ON keyset (key,ref);
    INSERT INTO refs VALUES (1);
    INSERT INTO refs VALUES (2);
    INSERT INTO data VALUES (1,1,1.5);
    INSERT INTO data VALUES (1,1,2.5);
    INSERT INTO data VALUES (1,2,3.5);
    INSERT INTO data VALUES (1,2,4.5);
    INSERT INTO data VALUES (2,1,5.5);
    INSERT INTO data VALUES (2,1,6.5);
    INSERT INTO data VALUES (2,2,7.5);
    INSERT INTO data VALUES (2,2,8.5);
    INSERT INTO keyset SELECT DISTINCT key, ref FROM data;
    CREATE OR REPLACE VIEW drk_xml_view OF XMLType
    with OBJECT ID
      extract(object_value,'/ref').getnumberval()
    AS
    SELECT xmlElement(
         "ref",
         xmlElement("ref_id", refs.ref),
         (SELECT xmlAgg(
                    xmlElement("key",
                      xmlElement("key_id",keyset.key),
                      xmlElement("values",
                          (SELECT xmlAgg(xmlElement("value",data.value))
                           FROM data
                           WHERE data.key=keyset.key AND data.ref=keyset.ref)
          FROM keyset WHERE refs.ref = keyset.ref
    ) FROM refs
    /When I do a query like:
    SELECT xmlQuery('for $i in /ref return max($i/key/values/value)' passing object_value returning content) from drk_xml_view;the explain plan looks as expected:
    | Id  | Operation              | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT       |           |     2 |    26 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE        |           |     1 |    65 |            |          |
    |   2 |   NESTED LOOPS         |           |     1 |    65 |     6   (0)| 00:00:01 |
    |*  3 |    INDEX FAST FULL SCAN| KEYSET_KR |     1 |    26 |     3   (0)| 00:00:01 |
    |*  4 |    INDEX RANGE SCAN    | DATA_KRV  |     1 |    39 |     3   (0)| 00:00:01 |
    |   5 |  SORT AGGREGATE        |           |     1 |       |            |          |
    |   6 |   FAST DUAL            |           |     1 |       |     2   (0)| 00:00:01 |
    |   7 |  TABLE ACCESS FULL     | REFS      |     2 |    26 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter("KEYSET"."REF"=:B1)
       4 - access("DATA"."KEY"="KEYSET"."KEY" AND "DATA"."REF"=:B1)
           filter("DATA"."REF"="KEYSET"."REF")
    Note
       - dynamic sampling used for this statementThis is very nicely optimized.
    But now I do this one:
    SELECT xmlQuery('for $i in /ref[./ref_id<2] return max($i/key/values/value)' passing object_value returning content) from drk_xml_view;(where I only added a constraint on the /ref/ref_id) the following occurs:
    | Id  | Operation                          | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                   |                        |     2 |    26 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE                    |                        |     1 |     2 |            |          |
    |   2 |   COLLECTION ITERATOR PICKLER FETCH| XMLSEQUENCEFROMXMLTYPE |       |       |            |          |
    |   3 |  SORT AGGREGATE                    |                        |     1 |       |            |          |
    |*  4 |   FILTER                           |                        |       |       |            |          |
    |   5 |    FAST DUAL                       |                        |     1 |       |     2   (0)| 00:00:01 |
    |   6 |  TABLE ACCESS FULL                 | REFS                   |     2 |    26 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - filter(:B1<2)
    Note
       - dynamic sampling used for this statementSo, it doesn't use any index any more and creates a XMLSequenceFromXMLType instead. This one is then parsed which results in really bad performance.
    I've tried to add extra indexes to the tables, but that didn't result in an optimilization. From a SQL point of view this seems quite easy, but using the view it gives me problems.
    Is there someone who can explain me what is happening here? Or give me some pointers?
    Please let me know if you need to know more, or if something is unclear.
    Best regards

    SQL> SELECT xmlQuery('for $i in /ref where $i/ref_id < 2 return max($i/key/values/value) ' passing object_value returning content)
      2    from drk_xml_view
      3  /
    XMLQUERY('FOR$IIN/REFWHERE$I/REF_ID<2RETURNMAX($I/KEY/VALUES/VALUE)'PASSINGOBJECT_VALUERETURNINGCONTENT)
    4.5
    Execution Plan
    Plan hash value: 2754328746
    | Id  | Operation           | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |        |     2 |    26 |     2   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE     |        |     1 |    65 |            |          |
    |*  2 |   HASH JOIN         |        |     1 |    65 |     5  (20)| 00:00:01 |
    |*  3 |    TABLE ACCESS FULL| KEYSET |     1 |    26 |     2   (0)| 00:00:01 |
    |*  4 |    TABLE ACCESS FULL| DATA   |     1 |    39 |     2   (0)| 00:00:01 |
    |   5 |  SORT AGGREGATE     |        |     1 |       |            |          |
    |*  6 |   FILTER            |        |       |       |            |          |
    |   7 |    FAST DUAL        |        |     1 |       |     2   (0)| 00:00:01 |
    |   8 |  TABLE ACCESS FULL  | REFS   |     2 |    26 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("DATA"."KEY"="KEYSET"."KEY" AND
                  "DATA"."REF"="KEYSET"."REF")
       3 - filter("KEYSET"."REF"=:B1)
       4 - filter("DATA"."REF"=:B1)
       6 - filter(:B1<2)
    Note
       - dynamic sampling used for this statement
    SQL>

  • Getting Strange Error Running Query After Partioning Cube

    I am using BI 7.0, Service Pack 11:
    I just partitioned a cube. I hav eorginal cube XFI_C001 and create a new cube C2_XFIC01 by copying from XFI_C001. Now I developed a query on C2_XFIC01. Similar query on XFI_C001 does not give any error. How can I debug this problem? Error reported when running query is shown below. I  ran ST22, no dump. I did SM50, looked at developer trace, no clue.
    The initial exception that caused the request to fail was: 
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
    Detailed Exception is:
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:365)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:63)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:52)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3565)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3280)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3236)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2512)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:956)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:842)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:430)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:144)
         at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
         at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:268)
         at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:218)
         at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java:57)
         at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:227)
         at com.sap.ip.bi.base.application.service.rfcproxy.impl.RfcFunction.execute(RfcFunction.java:57)
         at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderInfoObject.prepareForSelectionMemberAccess(ProviderInfoObject.java:1215)
         at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderComponentList.setup(ProviderComponentList.java:87)
         at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderComponentList.getComponents(ProviderComponentList.java:120)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.setup(ComponentList.java:96)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.ComponentList.<init>(ComponentList.java:77)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.CartesianProduct.setup(CartesianProduct.java:78)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.CartesianProduct.<init>(CartesianProduct.java:55)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.Selection.<init>(Selection.java:57)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.createSelection(SelectionObject.java:538)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getSelectionSpace(SelectionObject.java:549)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.getEffectiveSelection(SelectionObject.java:577)
         at com.sap.ip.bi.km.impl.KmUtilities.getEffectiveSelection(KmUtilities.java:66)
         at com.sap.ip.bi.km.impl.source.property.QueryBuilderMulti.getQueryExpressionWrapper(QueryBuilderMulti.java:129)
         at com.sap.ip.bi.km.impl.source.CmFolderSource.getDocumentQueryResult(CmFolderSource.java:132)
         at com.sap.ip.bi.km.common.selection.DocumentSelectorResultSet.readQvDocuments(DocumentSelectorResultSet.java:234)
         at com.sap.ip.bi.km.common.selection.DocumentSelectorResultSet.getCellsWithDocuments(DocumentSelectorResultSet.java:136)
         at com.sap.ip.bi.km.common.selection.DocumentsSelectionService.getCellsWithDocuments(DocumentsSelectionService.java:258)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCells.hasDocuments(RsDataCells.java:620)
         at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.resultset.RsDataCell.hasDocuments(RsDataCell.java:543)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createContent_DocumentSymbol(RendererInteractive.java:1660)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createCell_Content(RendererInteractive.java:545)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createCell(RendererInteractive.java:525)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.createTableRow(RendererInteractive.java:489)
         at com.sap.ip.bi.webapplications.ui.items.analysis.renderer.interactive.RendererInteractive.getContent(RendererInteractive.java:423)
         at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.buildUrTree(AcPivotTableInteractive.java:321)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutCell.iterateOverChildren(MatrixLayoutCell.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutRow.iterateOverChildren(MatrixLayoutRow.java:56)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayout.iterateOverChildren(MatrixLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.matrixlayout.control.AcMatrixControlGrid.iterateOverChildren(AcMatrixControlGrid.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Group.iterateOverChildren(Group.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         ... 42 more

    Hi,
    The error log shows you are executing your query on portal which uses Java stack. There may some issue with the portal configuration. Check with your basis/portal team.
    The query will execute in BEx and RSRT as RSRT executes query on ABAP stack.
    Regards,Niraj

  • Adding  values in query for like materials.

    Greetings Gurus,
    I am very new to ABAB. I recently made a query attached to an infoset, that lists the amount received from a purchase order and compares the amount that was ordered (overdelivery allowed). With this I added a custom field and and in the Extras/Code tab I added (for "Record Processing")
    IF MSEG-BPMNG > EKPO-MENGE.
    ZCUSTOMF = 'OVERDELIVERED'.
    ELSE.
    CLEAR CUSTOMFIELD.
    ENDIF.
    This compares the amount received vs the amount ordered and gives a new field value if overdelivery occured. However it occurred that there may be multiple batches of the same material when received. When this happens the query displays multiple lines (same material document number) with each amount and does not add the value of the different batches of the same material. Is there any additional code that could be added that  'When the same material document number and same material' appear more than once to add the quantity received together and view it on one line? Any kind of help (especially with ABAP explanations) at all is greatly appreciated.
    Thank You

    Hi,
    You have to Loop at the itab which you are processing in the same code  tab with looping at itab at the material document you are processing at that moment. then sum up the Qty and Amount at the end of the loop and then check the amounts and then update the custom field for that PO or material document.
    As this code will be repeated for all the items of the document every time when you loop for that specific document just check whether the custom field is empty or not . Process the loop if empty only. As if i t is not empty then it is understood that thsi item has been processed earlier.
    Regards, Shakeel.

Maybe you are looking for

  • Adobe Media Encoder CC Outputs Corrupted Frames

    The film strip below tells the story - these are 6 frames from the rendered output of a project. Frames 1 & 2 fine, frames 3 lots of blocks and pixelization, frame 4 jumps back a few seconds earlier in the clip(!), frame 5 blocks and pixelization aga

  • Cannot Scan For Errors or Format iPod

    I see alot of ppl are having the same problems that I am having with my own iPod. This is very discouraging. We are getting ripped off by Apple, big time. I have tried EVERYTHING suggested that I can find, and my iPod still does not work. My drivers

  • Multiple shared objects

    There is an example app for FMS where people can move a ball which they share http://www.adobe.com/devnet/flashmediaserver/sample_apps.html I'd like to have this app extended so that: - each user has his own ball - The balls can be customized (e.g. c

  • Can anyone tell me how to change the apple id in my icloud settings please on my iphone? I changed my id ages ago

    can anyone please tell me how to change my apple id in my icloud setting on my iphone? i changed my id ages ago & can download itunes etc, imatch is fine on PC too?

  • In shipping point detremination

    in shipping point detremination if all the options of manual shipping point are filled but still we want to add more shipping point what can be the way please help as it is a n urgent requirement