Aggregation Behaviour in BEX Analyzer

Hi Experts,
using an Info-Set I combine information from to Info-Provider.
One Info-Provider contains key-figure "amount" while the other Info-Provider contains key-figure "factor".
Within a Query based on my Info-Set I multiply "amount" with "key-figure". This works fine for the smallest granularity.
The Problem appears when I start aggregation in BEX.
Now the cumulated "amount" is multiplied with the cumulated "factor". The results are wrong.
What can I do?
Exception aggregation is in my point of view not an answer, since "amount" has to be weighted with "factor".
BR,
Thorsten

Hi Thorsten,
how umulated "amount" is multiplied with the cumulated "factor". in query, in calulated key figure you have options.
right on Calculted keyfigure which useing for mutiplication -> proprties -> botttom of properties you have option before aggregation. check this option.
hope this helps
Regards
Daya Sagar

Similar Messages

  • No data in Portal Report but have data in Bex Analyzer

    Hi experts,
    I have problem regarding portal reports. When you view the report using the bex analyzer, there is data. But when you view the report in the portal from iview, there is no data.
    Please help experts.
    Thanks

    Hi Emmanuel (that's weird, I am an Emmanuel too! and we both have Filo origins),
    There can be heaps of reasons for this.
    1) Please try to run the query in transaction RSRT by entering the query name and clicking "Java Web". See if that gives you results. If that gives your results, then the iView that was saved in the portal might need some reconfiguration. Check it out.
    2) Check the logic of your user exit variables. The sequence of the I_STEP calls is a bit different if you run a query in the Portal. For example, if you don't have a mandatory variable in your query, then the olap engine will call I_STEP=1 to 3 before it shows the variable screen. This behaviour is not documented in help.sap.com. However, it does work that way.
    3) Try to check the caching settings for your iView. It might be caching the result. You can change this in Content Administration in the portal.
    Try the above and see if it helps. Otherwise, post another message.
    Cheers.

  • IP - Issues with Input Query: Works on Bex analyzer but not on Web

    I am doing the following:
    Created a Aggregation level for a multi provider which has only real time infoproviders associated with it
    Created the query using Bex Query Designer availing all the options for planning
    When I execute this query it executes using a web template and does not open up the Key Figure cells for input, I had tried using the Web Application designer with Save button but still the same issue
    I tried the same on Bex analyzer and it works fine
    Please help to resolve the above issue.
    Thanks in advance.

    Hi Ram,
    Cells should be input enabled on the web just running the query. No need to create a Webtemplate, altough you need to have the webtemplate to be able to use the "save data" function.
    Maybe your query is not input ready at all, and you're misinterpreting analyzer layout.
    To test this, please enter some plan data in analyzer, right click and choose "save".
    Please check if data is written to the real time infoprovider.
    Hope this helps you.
    Regards,
    Miguel P.

  • Problems with dynamic data slices and BEx Analyzer

    Hello experts,
    we use a data slice to lock released data.
    This data slice contains an exit-variable which selects all plan that are already released out of a ABAP dictionary table.
    The user can release data via planning function. He can start this function with a button in a BEx workbook.
    He use the same workbook for insert planning data.
    the problem is:
    when a user releases data, the value of the exit variable in our data slice changes but the data slice 9999 seems to be NOT generated with the new value. the reuslt is, that the user can still change released data.
    the data slice is just new generated after logout and login again not after refresh the query.
    Is there a possibility to force the system to generate data slice 9999 with the actual value of the exit variable? maybe a function module or method?
    We have this problem just in BEx Analyzer. In Web Reporting everything works fine and the data is locked by the data slice after refresh.
    Thank you
    Johannes

    Hallo Johannes,
    if you want to have this kind of behaviour you need to go for a data slice of type exit. You will find some information about this in the Planning forum.
    The data slice is instantiated once, but when you release the data you need to call a method in your exit data slice which rereads the values. This is a rough idea how this could be done.
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • CKF not showing correct results in BEx Analyzer

    Dear Friends,
    I am getting different results when viewed from BEx Analyzer and Web Analyzer for the same query. BEx Analyzer shows incorrect results. The column that is showing different is a local formula (say Formula3) that is a result of dividing Formula1 by Formula2.
    BEx Web calculates Formula3 correctly while BEx analyzer does not.
    I am in BI 7.0 SP 10.
    Any Clues?
    Thanks
    Viren

    For this calculated column set aggregation level as sum.

  • BEx Analyzer: How to optimize reporting over a hierarchy?

    Hello there,
    using BEx Analyzer & Excel, we're reporting over a large hierarchy of cost centers, beginning at the top level and then looping over 166 different cost centers in that hierarchy.
    Looping works from within a macro, calling the SAPBEXSetFilterValue for the corresponding query.
    Reporting takes about 5 hours at the moment. Is there any way to speed up the calculation after setting the cost center as a filter value? Example: we need to report the top level node anyway, so the query needs to calculate over all hierarchy nodes. What happens to the results of the lower level nodes? Are they just dropped and calculated again later when the cost center of that lower level node is set as filter value? It would be a good thing if BW could cache these results so that it just needs to download them when needed later instead of calculating again.
    Any idea? I don't now very much of BW concerning that point, so any hint is very welcome. Our release is BW 3.1.
    We already tried RSRT but all we could do is to set the behaviour in case of query navigation. I'm not quite sure if this covers the case we want (setting the new filter value). At least, execution of that report still takes about 5 hours.
    Thank you very much.

    Andreas,
    Create Aggregates on Hierarchy level.
    Use Read mode H.
    Make use of OLAP CACHE.
    Have a look at RSRCACHE.
    Regards,
    Ramkumar Ghattamaneni.

  • Automated start of Excel BEx Analyzer via Web VBScript

    Hi all,
    at first... all the versions:
    SAPGUI 6.40 Patch Level 19, BW 3.5 Addon Patch 9, BI 7.0 with NetWeaver 2004s, Excel 2002 SP3.
    I got the following working code to start Excel out of our Intranet, start the BEx Analyzer and connect to our BW:
    <html>
    <head>
    <title>Excel Script</title>
    <SCRIPT LANGUAGE="VBScript">
    sub bwreport()
    Dim app
    Dim myConnection ' As Object
    Dim logonToBW2 ' As Boolean
    ' Launch Excel
    set app = createobject("Excel.Application")
    ' Make it visible
    app.Visible = true
    ' Open xla file
    app.Workbooks.Open("C:ProgrammeSAPFrontEndBWsapbex.xla")
    app.Run("SAPBEX.XLA!sapBEXinit")
    ' Logon to BW
    logonToBW2 = False
    Set myConnection = app.Run("SAPBEX.XLA!SAPBEXgetConnection")
    With myConnection
    .client = "001"
    .User = "myuser"
    .Password = "mypw"
    .Language = "de"
    .systemnumber = "00"
    .ApplicationServer = "xxx.xxx.xxx.xxx"
    .UseSAPLogonIni = false
    .Logon 0, True
    If .IsConnected = 0 Then
    MsgBox "Verbunden"
    .Logon 0, False
    If .IsConnected <> 1 Then
    MsgBox "Fehler beim Verbinden"
    End If
    End If
    End With
    app.Run("SAPBEX.XLA!SAPBEXinitConnection")
    logonToBW2 = True
    ' Give the user control of Excel
    app.UserControl = true
    end sub
    </SCRIPT>
    <P> </P>
    </head>
    <body>
    <button onclick= "bwreport()">Alternative Excel</button>
    </body>
    </html>
    I'm still working on two issues here and hope you can help me:
    1.
    app.Workbooks.Open("C:\Programme\SAP\FrontEnd\BW\sapbex.xla")
    The Webscript will be used by many BW-Users so the full installation path is not the same for all users. Is there a way to start the Analyzer without the full path ?
    When I start Excel with "Excel.Application" via OLE out of my Script, then BEx is not automatically loaded, that's why I need the above line.
    But when I start Excel manually, it's loaded automatically. So there has to be some way Excel "knows" the location of an installed BEx Add-In. Maybe there is some addition to say Excel to start all it's usual Add-Ins, or to start in standard behaviour ?
    2.
    app.Run("SAPBEX.XLA!sapBEXinit")
    Before I added this line, I always got the BEx Analyzer title "xxxsapbexxxx" and was unable to use any macros or functionality of the BEx Analyzer.
    I found hints and code examples to use "RunAutoMacros" so sapbex.xla is fully initialized but wasn't able to make it work in my code.
    So I checked the macros of sapbex.xla and "sapBEXinit" seems to do the job although I'm not sure if this is a complete/clean initialization of the sapbex.
    Thx,
      Thomas
    Message was edited by: Thomas Kassumeh
    Message was edited by: Thomas Kassumeh

    Welcome to SDN.
    First of all thanks for sharing the script, good work.
    coming to your first question.
    you can get the path by reading the system registry
    its under <b>"SAP.BusinessExplorer.Analyzer\path"</b>
    if you analyze the FM "RSAH_LAUNCH_EXCEL" in BW system, you can get the logic for your script.
    Regards
    Raja

  • Save button at bex analyzer

    Hi
    i am using ready input query on aggregation level.
    copy and delete functions are working fine
    i have actual and plan cube
    i restricted sales doc num
    i copied values from one sales doc to another sales doc values to plan cube , so its working fine
    now my questions is
    at present due to copy function for sales doc num 4692 i am geting net value 11000 rs
    i am trying to chnage value like 12000 and want save button and transfer, when i click save and transfer at bex analyzer its getting 11000 values only evevn plan cube also i am not getting any new values?
    please let me know

    Hi,
    It is probably because you are not at the lowest level of you aggregation level. The input ready query needs to be that, otherwise you will not be able to change any values in your input ready query. I.e. the characteristics in your aggregation level will either have to be in the rows/columns of your input ready query or they will have to be restricted to a single value. Once you've done that, the changes you make, e.g. 11.000 -> 12.000 will be transferred and saved.
    Best regards,
    Jacob

  • Variable hierarchy display not changed (BEx analyzer)

    Hi
    We have a BEx query, in which a drilldown characteristic is displayed as an hierarchy
    Hierarchy display is active
    Selected hierarchy:
    Name - constant
    Version - customer exit variable
    Customer exit calculates version from manual input variable.
    We need to view the report in BEx Analyzer.
    When the query is opened, we select manual input variables and the hierarcy's version is set correctly.
    The issue is that when we change manual input variables at runtime, the data is refreshed,
    but hierarchy display is not changed. The selected hierarchy's version remains unchanged.
    In order to change hierarchy display, we need to open characteristic properties and change the selected hierarchy manually
    or we need to reopen the query and provide another manual input variables.
    Our system version is 7.01 patch level 9
    Is there any way to fix this problem
    Or some workaroud?
    Any help will be appreciated.
    Thanks

    Michael, thank you for reply.
    But I don't see how these notes may help me with my problem.
    1753959 - I don't get a short dump
    1745472, 1751321 - system displays all queried nodes, the problem is that if I input another variable, hierarchy version variable is calculated via user-exit properly (I see it in ABAP debugger), but displayed hierarchy has version, which was set when I opened query initially.
    1717433 - nodes are returned with non-empty result. I can see that data is refreshed, hierarchy version is requested correctly, but is displayed incorrectly. We can see, for example, new hierarchy leaves, but in "n/a" node.
    I tried to run the same report on system with version 7.01, patch level 12 and get the same behaviour.
    My problem is similar to that described in notes 993151, 957219, but our system patch level is already higher.

  • Query Not Running Via BEX Analyzer Role Menu

    Hi All,
    I have a problem when executing queries via the BEX Analyzer role menu. I can select a query from a role but, when I select the query to run, nothing happens. When I select the same query from the infoarea it runs without any problems. This behaviour occurs for all our queries so is not specific to a particular query.
    We're running on version 3.5 and I've just upgraded to the latest patch but this hasn't helped at all.
    If I use the role menu via the web application designer the queries all work fine so the problem looks to be pointing at the role menu within BEX Analyzer.
    Any ideas ?
    Dave

    this issue is more related to Security , Roles & authorisation.
    u will have to talk to Security team.
    While installing latest patch,usuallys uch trouble occurs.
    the excel extensions , roles gets affected sometime..

  • BEx Analyzer versus BEx Web Analyzer and BIA performance

    Hi Experts,
    Recently I tested the performance of a few of our queries running off Infocubes with indexes loaded to the BIA and I noticed some differences in performance when using BEx Web Analyzer versus BEx Analyzer in Excel.  Seems that when using the Web Analyzer the query returned the result at a much faster rate than when using BEx Analyzer in Excel.  I did notice that the slow point in Excel is at the "Formatting Results Areas" stage.  This can take up a long time to complete.  My question is, does anyone else experience this?  What could be the cause?  Is this normal behaviour?  Any recommendation to solve this?
    Thanks very much.

    Hi David,
    Yes, Excel-based BEx Analyzer is almost always slower then Web (and especially on 3.x tools), and it has not much to BIA.
    For web - formatting is happening on  the BI server and then result is transferred to end-user machine in one shot (or as many shots as individual MIMEs to transfer). For Excel - first you have a transfer of data set to your PC (that might require several round-trips) and then formatting is all on the PC.
    Possible ways to improve:
    1) Check that your anti-virus does not impact opening excel workbook
    2) Upgrade PC hardware (absolutely seriously)
    3) Switch off formatting of workbook or at least remove exceptions and total/subtotal lines.
    Regards,
    -Vitaliy

  • BEx Analyzer buttons withing planning don't work

    Hello,
    I tried to create a little planning application with BEx Analyzer. For this I tried different ways (my last try using: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0a89464-f697-2910-2ba6-9877e3088954) but my problem is that the created buttons don't work.
    If I enter a value into the key figure field and press "refresh data" or "save data" in both cases the value is set back to 0 and my entered value doesn't appear anywhere.
    I checked the input-ready query by using the Query Designer. Both key figures can be changed by user entry or planning function. 
    Are there any other things I have to check or change?
    Thanks for your help!
    Bettina

    Hi D,
    but if it would be locked it wouldn't be possible to enter a value - would it? I can add a value into the field but afterwards when using the button it disappears and becomes 0 again.
    Here's a more detailed description:
    I created a input-ready query on a aggregation level which contains sales man number, calender year/month, customer number and planned turnover.
    I opened this query with the BEx Analyzer and executed the steps described in the PDF for which I added the link before in my first post in this thread. I implemented this HowTo until the popup messages.
    I did some planning tries before on the planning wizard in the portal . There it was possible to add values (my test data I also created with the planning wizard but without adding a turnover value) and to save them.
    There's no other planning function implemented yet. For the first step I just want to have the possibility to enter turnover values manually by using the workbook with the input-ready query. Nothing more.
    Bettina

  • Error when starting Bex analyzer

    Hi All!
    We have a world wide BW-SEM application. In one country they get the following error message when starting Bex analyzer:
    <install error> Missing ActiveX component: Business Explorer Global Services
    Does anyone have a hint on what to do?
    Thanks for your help!
    Best Regards
    Pontus

    hi
    try to check with SAPBEXC.xla
    and take a look oss note 585643
    may need to manual register .dll with regsvr32
    Do an Installation check of the BEx Analyzer as follows:
    In the bex analyzer menu, Business explorer -> Installation Check -> Once the excel sheet opens, press the start button to start the check. Check the entries in red to see any missing/old ocx, dlls.

  • Satatus of Data in Bex Analyzer

    Hello ,
    is it possible to hide "status of data" in bex analyzer ?  I have read some documents but all are say it is only possible with Web Designer.
    I have a query from a Multiprovider and I don't wnt to show Status of data information in the report .
    thank you ,
    blue

    You can goto design mode in the workbook and delete the text element which is showing status of data, come out of design mode and save the workbook.
    Edited by: Pravender on May 18, 2010 2:19 PM

  • Difference between bexbrowser and Bex analyzer

    Hi,
       can any body tell me  what is the difference between bex browser and bex analyzer  and how end users will access the reports and how they access SAP.

    Hi
    *BEx Web Analyzer *
    The BEx Web Analyzer is a standalone, convenient Web application for data analysis that you can call using a URL or as an iView in the portal.
    The Web Analyzer allows you to execute ad hoc analyses on the Web: When you have selected a data provider (query, query view, InfoProvider, external data source), the data is displayed in a table with a navigation pane. You can navigate to the data and use other Web Analyzer functions available in the application toolbar. For example, you can change the type of data display, use the information broadcasting functions to broadcast your analyses to others, and create printable versions of your analyses.
    In the Web Analyzer, you can save the data view generated from navigation and analysis as a query view by choosing Save View in the context menu, and you can save the ad hoc analysis by choosing Save As. When the query view is saved, only the data view is saved; when the ad hoc analysis is saved, the entire Web application is saved, including the properties of Web items and the layout of the data.
    Check the link for more info
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
    Bex Browser
    The Business Explorer Browser (BEx Browser) makes it possible for you to access all document types of the Business Information Warehouse that are assigned to your role or that you have stored in your favorites. You can select and open documents assigned to you in the BEx Browser or store and manage new documents in the BEx Browser.
    Document types that you can work with in the BEx Browser are:
    ·        BW workbooks
    ·        Documents that are stored in the Business Document Service (BDS)
    ·        Links (references to file system, shortcuts)
    ·        Links to internet sites (URLs)
    ·        SAP transaction calls.
    ·        Web applications and Web templates
    ·        Crystal Reports
    Regards
    Shilpa

Maybe you are looking for