Bex Analyzer 7.0, Filter on Hierarchy Node (Text Group)

Hi gurus,
I would be glad if anyone of you could help me with this issue.
I made an application with Bex Analyzer 7.0 which does following -> create certain combinations and copy it directly into PowerPoint as a picture. This works great, I can send you the code if you want to. I could even create a blog or wiki ...
My issue appears when I try to copy a value for hierarchy node into Filter in Bex. It is possible to write into Filter some value and the system sets a filter with this value, there is no doubt about it. But I wanted to filter on a whole hierarchy node. I'm not able to do this by copying the value into the line. With the context menu no problem.
Example 1:(works fine)
Characteristics    Filter:
0comp_code       1000
Example 2:(doesn't work)
Characteristics    Filter:
0comp_code       +Group1(Text Node)
I will appreciate any kind of help.
Thank you
Standa

As promissed, here is the code with which we export graphics into powerpoint.
BEx Analyzer 7.0
Following scenario -> user defines combinations in the list, what should be exported (area "D39:D142") Macro copies selections into filter area (D22).
Sub Chart2PPT()
    Dim objPPT As Object
    Dim objPrs As Object
    Dim objSld As Object
    Dim shtTemp As Object
    Dim chtTemp As ChartObject
    Dim objShape As Shape
    Dim objGShape As Shape
    Dim intSlide As Integer
    Dim blnCopy As Boolean
    Dim i As Integer
    Dim f As Integer 
    Set objPPT = CreateObject("Powerpoint.application")
    objPPT.Visible = True
    objPPT.Presentations.Add
    objPPT.ActiveWindow.ViewType = 1 'ppViewSlide
    For Each cell In Range("D39:D142")
If Cells(i, 4) = "" Then Exit Sub
If Len(Cells(i, 4).Value) < 1 Then Exit Sub
    Cells(22, 4) = Cells(i, 4) 
    For Each shtTemp In ThisWorkbook.Sheets
        blnCopy = False
        If shtTemp.Type = xlWorksheet Then
            For Each objShape In shtTemp.Shapes 'chtTemp In shtTemp.ChartObjects
                blnCopy = False
                If objShape.Type = msoGroup Then
                      ' if ANY item in group is a chart
                    For Each objGShape In objShape.GroupItems
                        If objGShape.Type = msoChart Then
                            blnCopy = True
                            Exit For
                        End If
                    Next
                End If
                If objShape.Type = msoChart Then blnCopy = True
                If blnCopy Then
'                  blnCopy = True
                   If shtTemp.Name = "GraphAbsatz" And (Cells(i, 8).Value = "x" Or Cells(i, 5).Value = "x") Or _
                    shtTemp.Name = "GraphPreis" And (Cells(i, 8).Value = "x" Or Cells(i, 6).Value = "x") Or _
                    shtTemp.Name = "GraphUmsatz" And (Cells(i, 8).Value = "x" Or Cells(i, 7).Value = "x") Then
                    intSlide = intSlide + 1
                    ' shtTemp.UsedRange.CopyPicture 'kopiert nur Grafiken
                    ' objShape.CopyPicture
                     shtTemp.UsedRange.CopyPicture 'kopiert die ganze Seite
                     ' new slide for each chart
                    objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
                    objPPT.ActiveWindow.View.Paste
                  End If  
               End If
            Next
            If Not blnCopy Then
            ' nichts kopieren
                 ' copy used range
               ' intSlide = intSlide + 1
               ' shtTemp.UsedRange.CopyPicture
                 ' new slide for each chart
               ' objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
               ' objPPT.ActiveWindow.View.Paste
            End If
        Else
        ' nichts kopieren
           ' intSlide = intSlide + 1
           ' shtTemp.CopyPicture
             ' new slide for each chart
           ' objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
           ' objPPT.ActiveWindow.View.Paste
        End If
    Next
    ' nächste Selektion
     i = i + 1
    Next
    Set objPrs = Nothing
    Set objPPT = Nothing
End Sub

Similar Messages

  • URL parameter to filter a hierarchy node - BI 7.0

    Hi,
    Do you know how can I send a parameter for the URL string to filter a hierarchy node? I'm using BI 7.0.
    I was able to filter some values for a characteristic, but not for a hierarchy node.
    Thank you in advance
    Regards,
    Milena

    Hi Chetan,
    Using a variable works, but I need to pass the parameter to specify the hierarchy node to be used directly to the infoObject (0PROFIT_CTR), because the user is not allowed to select another hierarchy node (if I use a variable, he can do that).
    And I can´t use a fixed value in the query, because the same  query will be used for diferent hierarchy nodes.
    I tried to use the command bellow, but it did not work:
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SINGLE_MEMBER_SELECTION
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SINGLE_MEMBER_SELECTION=HIERARCHY_NODE
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SINGLE_MEMBER_SELECTION-HIERARCHY_NODE-INFO_OBJECT=0PROFIT_CTR
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SINGLE_MEMBER_SELECTION-HIERARCHY_NODE-MEMBER_NAME=0010GRE
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=0PROFIT_CTR
    Thank you
    Regards,
    Milena

  • Error in Bex Analyzer including the filter button command in Callback macro

    Hello,
    I have the following problem with the function filter button in the Bex Analyzer included in the callback macro:
    Because of using 2 hierarchies in the filter the setting drill down to level 2 in the query gives no right output in the Bex Analyzer. The drill down level 2 is not shown. SAP recommends the include of a filter button to solve this problem. With a filter button in the sheet the problem was solved.
    But after including the filter button command in the callback macro I get an error in MS Excel.
    The callback macro starts, the filter was set by the user and the data was refreshed. Because of the refreshing of the filter the callback function the callback function starts several times. After setting the filter the first time, the following macro avoids the several starting of the set filter function:
    Sub CallBack(ParamArray varname())
    On Error GoTo err_handler
       Dim lRange As Range
       Set lRange = varname(1)
    'Filter entfernend/delete filter
    Dim ZeichenFilter As Long
    ZeichenFilter = Len(Sheet4.Cells(41, 3).Value)
    Dim Filter1 As String, Filter2 As String
    Filter1 = Left(Sheet4.Cells(28, 3), ZeichenFilter)
    Filter2 = Left(Sheet4.Cells(41, 3).Value, ZeichenFilter)
    If Filter1 <> Filter2 And Filter2 <> "" Then
        onAction = True
        onAction = False
    End If
    'Filter setzen mit einmaligem durchlaufen/set filter and run one time
    If onAction = False Then
        onAction = True
        Call Sheet4.BUTTON_55_Click
        onAction = False
    End If
    exit_handler:
        Exit Sub
    err_handler:
        MsgBox Err.Description, vbOKOnly, "Error in " & " setMusterSub"
        Resume exit_handler
    End Sub
    After the filter was set the callback macro starts the second time. Then the Bex Analyzer erros with the sandglass. The working on VBA is possible, but not the working with Bex Analyer . Values in Excel weren’t shown.
    How can I avoid this error?

    Once I am adding VAR_VALUE_1 to the static parameters, the system generates two messages error:
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program SAPLRRS2 and form GET_SID-1
    Best Regards,
    Hanit

  • BeX-Analyzer - color more levels of hierarchy

    Hi,
    i have a hierarchie with 10 levels and i would like to give each level a different color. Using Analyzer i am only able to set different colors for the first 4 levels. Excel offers the following style sheets for this:
    SAPBEXHLevel0
    SAPBEXHLevel1
    SAPBEXHLevel2
    SAPBEXHLevel3
    Is it possible to have more style sheets like:
    SAPBEXHLevel4
    SAPBEXHLevel5
    Thanks,
    Holger

    well, defining my own style sheet wouldn´t help much, because the problem is that BeX Analyzer marks all hierarchy levels bigger than 4 with SAPBEXHLevel3. If i define a style sheet for SAPBEXHLevel4 this wouldn´t work, because the elements of hierarchy level 5 are still marked with SAPBEXHLevel3. Somehow i need to tell BeX Analyzer to mark level 5 elements with style sheet SAPBEXHLevel4, level 6 elements with SAPBEXHLevel5 etc...i guess this is done somewhere in the SAPBEX-Add-In?

  • Hierarchy node text shows short text instead of medium text in WebI report

    Hi,
    We have created a simple Hierarchy suing Tx RSH1.
    US -> North Carolina
              South Carolinakey
             Rest of America
    Please note "North Carolina" is the medium text for the node while the short text which can contain max of 10 chars is "North Caro"
    We have used and activated the hierarchy within the BEx query. Text display with "Medium Text" has been enabled for the InfoObject. The display on the BW report is as expected showing the medium text for all levels and all modes.
    When a universe is built on the query and a WebI report is created based on the universe everything works fine other than than the Hierarchy text for different levels and nodes. Instead of showing the Medium text, the short text is getting display.
    We took out the text object from the Universe in the Universe designer and went ahead with the key and medium text, but that did not help.
    Is this a known bug? Is there a workaround for this issue?
    We are on XI 3.1 SP3.
    Rgds

    Hi,
    I am working on BO XI 3.1 SP2.
    I have displayed the medium text for the hierarchy nodes as:
    In my universe three detail objects(key, medium name and long name) gets generated for each hierarchy node.
    I have copied the definition of L01 Medium name (detail object) in the L01 dimension object. similarly for other hierarchy nodes.
    i.e. L02, L03.. etc.
    Now the master data which have been loaded for the medium name will be displayed.
    Regards,
    Rohit

  • Hierarchy node not displaying some of child nodes

    Hi all,
    In my bex query for one of the hierarchy node  is not showing sum of its child nodes even though the belownodes got some data in it.
    What could be the reason.as all the other nodes at the same level are showing the sum of their child nodes.
    Thanks

    Display as hierarchy : no sum on node level.
    If the rows are set as u2018display as hierarchyu2019, all the objects in the rows section must have as setting for result rows : u2018always displayu2019

  • How to filter hierarchy node in BEX query designer

    Dear experts
    We are working on FI balance sheet with hierarchy infoobject 0GLACCEXT. Example of our balance sheet is as follow:
    Parent Node A = 20
         Sub-parent Node A1 = 10
             Leaf A11 = 5
                 Leaf A12 = 5
    Parent Node B = 20
         Sub-parent Node B1 = 10
                   Leaf B11 = 5
                   Leaf B12 = 5
    We require only:
        Sub-parent Node A1 = 10
        Leaf B12 = 5
    So I filter those out in BEX restriction;  however, after we examine the report in tcode RSRT, "Sub-parent Node A1" is not shown in BEX Report, and the result is as follow:
    Parent Node B = 5
         Sub-parent Node B1 = 5
                 Leaf B12 = 5
    Are there solutions for us to show merely A1 and B12 ?

    Hi Chu
    Try the following steps.
    Initial Output
    In this example I will restrict the query for only displaying Node 8603 and leaf 9000
    Proceed to restrict the Characteristic. Please be aware of the difference between hierarchy nodes and leaf characteristic values. Also set the Hierarchy display properties to expand up to level 1.
    Execute the query again:
    Please be aware that users will still be able to expand node 8603 and see the lower level nodes/leaf. In order to restrict users from doing this set up users authorizations.
    Regards,
    Carlos

  • Hierarchy Node not summing  properly in Bex Analyzer

    Hi Folks,
                      I am facing an issue in my report where the Hierarchy node is not summing up numbers properly.  Just a simple example
               Char 1   Value
               123        10.1
                231         2.1
                122        -2.1
    Node 1 -
                            10 (instead of 10.1)
    I have tried NODIM functional already and also tried exception aggregation (since I can't use "Calculate result as" option in a heirarchy) for my keyfigues. Please help as I can't think of any other solution. It seems like the node is ignoring the rounding of values which is done by bex for leafs automatically and is only bringing result priod to rounding. This is my assumption. Looking forward to suggestions. Thanks
    Regards,
      Asad

    Asad,
        Check the no of decimal places you have set for the key figures. Change it to the required no of decimal places.

  • Problem of hierarchy in bex analyzer

    Dear all,
    I met a problem when I using Bex analyzer to run a query, there is a characteristic 0CS_PLEVEL (posting level) with a hierarchy. If the characteristic is displayed in the row or column, i can filter with the hierarchy node, everything seems to be fine. But if the 0CS_PLEVEL is set to be a free characteristic in the query, when I filter with hierarchy text node (not leaves), then there will be wrong message about 'No applicable data found', but if I add drill down according to Posting Level in rows, it indeed has data value.
    And I tried filtering value with same hierarchy node with other query which is built based on Multiprovider, everything is fine.
    I wonder if there is any speciall setting for filtering by hierarchy node in the query based on virtualprovider 0BCS_VC11?
    Your reply will be appreciated.

    Hi,
    In the Exception definition,Make sure you have selected following :
    In Display tab    ->    Select Exception affects data cells
    in cell restrictions tab  -> Exception affects everything
    After that,once you execute the query,Exceptions should be shown on all levels.

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

  • Hierarchy node filtering - BEx 3.5 query

    Hi
    I am having a problem with a BEx 3.5 query with a filter on customer hierarchy. The filter is a variable which allows single value selection.
    When I run the query in Analyzer and get prompted for the customer hierarchy I can either type a customer number or press F4 and navigate through the hierarchy structure to find the node I want.
    When I press F4 and navigate to the hierarchy nodes I always get data for all nodes I have tried, but when I type in the node number directly in the selection screen I get data for some nodes wheras for others I get "No applicable data found".
    When I navigate in the hierarchy I can see that below each node there is a leaf with the same customer number (see example below), and that when I type in a customer hierarchy node number in the selection screen the query chooses the node for some numbers (and data is displayed) and for some numbers chooses the leaf (and no data is displayed).
    Example:
    0035 (node)
    -   0035 (leaf)
    - 11003 (leaf)
    - 11004 (leaf)
    - 11005 (leaf)
    It would be preferrable if I could type in the values directly as this would save time. So I would like to know if there is a way to make sure that the node is always selected rather than the leaf, or if it is just random?
    All help is much appretiated!
    Edited by: christian.nilsson on Sep 28, 2011 5:40 PM

    Hi
    Thanks for the answer. I tried it but unfortunately it did not solve my problem. The issue is that for some hierarchies the leaf is found instead of the node (see my earlier post).
    So if there would be a way to only search for only nodes, that could be a solution.
    Kind regards

  • WEB: How to filter a Dataprovider by hierarchy nodes

    Hello All.
    We have in our web template 2 dataproviders, one to show a table with different ratios for a PRODUCT, and another to show one Ratio by product but USING HIerarchy.
    I am tring to create an HTTP url to filter by characteristic product (which is not a problem) and also to filter the hierarchy but a node.
    Right now I am using the following commandad:
    http://psigue-mad1.elmundo.int:8002/sap/bw/BEx?sap-language=ES&bsplanguage=ES&CMD=LDOC&TEMPLATE_ID=Z_PRODUCTO_AR_PRUEBA_ESTADO_SE&FILTER_IOBJNM=CPRODUCTO&FILTER_VALUE=PERIODICO&FILTER_NODE_IOBJNM=0HIER_NODE
    The problem is that the query which uses the hierachy doesn´t show the subnodes of the selected one.
    I hope any of the experts arround here can help me with this.

    ¿No ideas for this?
    Bassicly, what we want to do is to filter a Hierrachy textnodes and its subnodes.
    Regards,.

  • Cannot Include and exclude selectiion on hierarchy node in the Filter area

    Hi,
    When i open the query and execute it. and select the filter area for hierarchy nodes. The include and exclude selection is disabled in 3.5x analyzer. We are using BI 7.0 with SP 12. we just upgraded.
    Can you please help. is this functionality not available?
    Regards,
    Gaurav

    Hi Rob, you can do that for the query (the exclude selection) on the Query Designer. But its not recomended on performance point of view.
    hope this helps
    Natalia.

  • BEx Analyzer - Convert to formula - Dynamics of a hierarchy

    Hi BI-Experts,
    I have a question regarding the BEx Analyzer built in functionality "convert to formula".
    Once I have done this, the report is more ore less static, establishing a fixed link between the cell and the query result.
    (BExGetData(u201CDATA_PROVIDER_1u201D,F8,E10)
    Let's say I had included a G/L account hierarchy and converted the analysis grid item to formulas: I will lose drill down functionality of the hierarchy, drag & drop etc.. I can live with that.
    But what happens, if I update the G/L hierarchy in BI by uploading from ECC and someone added an additional text node and 3 new G/L accounts. They won't appear in my "convert to formula" report, even when refreshing, right?
    Does anyone know a work-around for a highly formatted report in BEx Analyzer which keeps the layout when refreshed (only way I know is with "convert to formula") AND using hierarchies which should be able being updated?
    Every hint is much appreciated!
    Kind Regards,
    Steffen Lange

    >
    Steffen Lange wrote:
    >
    > But what happens, if I update the G/L hierarchy in BI by uploading from ECC and someone added an additional text node and 3 new G/L accounts. They won't appear in my "convert to formula" report, even when refreshing, right?
    >
    > Kind Regards,
    > Steffen Lange
    Thats right, as now the key figure values are basic excel formulas though they refer your dataprovider.
    The only option is to update the value of the hierarchy (new nodes etc) in the workbook too, you can add a new row and insert the new hierarchy value it should pick it up and key figures populated accordingly (you may need to put right row column value for your key figure calculation formula).
    Edited by: Praveen G on Aug 12, 2009 3:54 PM

  • Hierarchy BEx analyzer

    Hi people,
    I'm using BEx analyzer, and I need to expand a hierarchy in my report, but when I double click in the nodle, doesn't appear any information. It only appears if I filter manually in the filter box.
    For example: in report there is "People's cost" with many rows below, just like hierarchy. Normally, I double click in "People's cost" and then it appears the information associated below. Right now, it doesn't work, only if I do it in Filter box.
    Thanks for your help.

    Hi,
    you must use the hierarchi in the query too. In the query designer you select the Infoobject and you will find a table on the right side with the title "Hierarchie". You must select there your hierarchie.
    Or, if you don´t have hierarchies for your infofobject, you can display your result as a hierarchie if you make a right-click on the header of the rows and there you select "display as hierarchie".
    Regards
    Edited by: Zoltan Both on Oct 1, 2008 3:24 PM
    Edited by: Zoltan Both on Oct 1, 2008 3:26 PM

Maybe you are looking for

  • Open raw as smart object using droplet

    Hello everyone, This is my first post so please be gentle Rather than a droplet opening a raw file in a regular layer, is it possible to open the raw file as a smart object so that the object can be edited in Camera Raw later on? Thanks for your time

  • Firefox lags and freezes for a few seconds every time I want to load a new page or open a new tab

    This just started a couple weeks ago, I've tried disabling numerous add-ons and updating plugins but to no avail.

  • Vertical scrolling in table

    Hello I have a table, and the user does not want to use the default buttons for navigation. Is it possible to attach a vertical scrolling for table? Thank you

  • Cross-mailbox conversation expansion doesn't work

    In Mail for Mountain Lion, when a conversation has messages in different mailboxes, the gray box to expand/collapse the conversation doesn't work. The number of messages shown only reflects the ones in the Inbox (or active mailbox, probably; I've onl

  • Creating an online poll

    I have Dreamweaver CS4. . . is it possible to use dreamweaver to create and online poll? I know NOTHING about programming beyond html. If not, do you know of any online tutorials where I can learn how to make an online poll?  Not sure what language i