Hierarchy Node Suppression in a BeX Query

Hi,
We haev a hierarchy with 3 levels
Level 1  (Root) - Customer Hierarchy
Level 2 - Customer Groups
Level 3 - Customer Number
Is it possible to display the Customer Groups (level 2) without displaying the Root Node (level 1)  in a BeX query. If we Expand to  level 2 , the query displays both level 1 &  level 2. We have a requirement to see level 2 only. Is that possible?
If anyone has done this, would really appreciate if you can respond.
Thanks,
Anita

Hi Anita,
I am sure that as you have created hierarchy for Customer Number, you have to have customer group as its attribute. Dont you have that?
And if you have your transcational data, you will have them posted against customer number.
you must have Customer Number in the query already and that is the reason you could enable its hierarchy.
My suggestion was to make Customer group as navigational attribute and add them into InfoProvider. You dont have relaod the data again for this.
Moreover, Once you have customer group as navigational attribute, disable the hierarchy for customer number and in your query designer under ROW put Customer Group and Customer Number as two seperate characteristics.
This will elminiate ROOT from the result and you will have customer group and Customer number in the result.
Here the only difference is, instead of showing Customer Number below Customer group, it will be dispalyed in the next column.
- Danny

Similar Messages

  • Hierarchy Level value displayed in BEx Query

    Is there a way to display the Hierarchy Level value (0, 1, 2, etc...) associated with each hierarchy level in BEx Query as a characteristic?
    we are currently using the Crystal Reports function HierarchyLevel(GroupingLevel(GL Account Node id)) to display the level of the node (0, 1, 2, etc...).  Is there something similar to this in BEx Query.
    We would like to use this Level value to do groupings in Crystal Reports.  When we try to create a Group, we can only create the groups on fields that are brought over in the BEx Query results.
    Thanks --

    Hi ,
    Hierarchy level can be defined in Bex query as well.
    In the query property there is option where you can say hierarchy active for that particular object.
    Also you can define level upto which it can be active in initial display say 3 level
    Also when you want to drill down further level 4,5 you can right click and select that particular level say 4 or 5 or 6.
    If you want to display hierarchy flat there is no option in BW then to right code,but I heard in crystal report it will automatically display in fl;at version as well  means
    Level 0 level 1   ......KF1 KF2  etc.
    Thanks and regards

  • Hierarchy nodes as characteristics in a query

    Hi all,
    I would like to ask if there is a way to use hierarchy nodes of InfoObject 0cost_elemnt as characteristics in a query.
    In other words I have a grouping of cost elements in R/3 and uploaded this group as a hierarchy in BW. Now the users want to have the ability to drag and drop in a query report any node of this hierarchy.
    Can this be done?
    Thanks in advance,
    Panos

    Hi,
    I guess, if I am getting you correctly the user wants to see teh hierarchy levels individually or on adhoc basis.
    Is that right?
    Regards,
    Ray

  • Hierarchy Nodes Display problem in the query

    Hi
    I have an organizational hierarchy upto 6 levels of nodes.
    When it is displyed in the query only the first three levels are getting displayed.
    When i see in the restricted area ( when restricting values ) i find all the nodes displayed but when query is executed i dont see anything.
    Are there setting thats needs to be made in order to see the entire hierarchy.
    regards
    sundaresan

    When you restrict any query you can see all the nodes of hierarchy, but when you run it you can see only those nodes for which value exists in infoprovider.
    Corss check if you have any other restrictions also.

  • Createing Hierarchy Node Variables in BI-7 Query Designer

    Hi Gurus,
    When I try to create a hierarchy variable in BI-7 Query Designer, Iam getting the following error; has anyone ecountered this problem... Pl let me know.
    Terminate: System error in program SAPLRRI2 and form FAC_VARIABLES-03- (see long text) [A299(BRAIN)]
    We are on SP9 currently.
    Thanks !

    Yes ,update the latest patch level from
    Try first to download latest FEP from service.sap.com/swdc
    Download>Support Packages and Patches">SAP Frontend Components">SAP GUI FOR WINDOWS">SAP GUI FOR WINDOWS 6.40>Win32>Bw700SP09P_904-10001615.exe.exe
    download that file rename as .exe and execute it.
    Hope it Helps
    Chetan
    @CP..

  • 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

  • Using hierarchies from SAP BW BEx Query in BO Universe

    Hello,
    I'm trying to use a hierarchy (e.g. a simple customer class hierarchy) which is a part of a BEx Query in a BO Universe. But until now I have not found a way to get a hierarchy from a BEx Query working in a BO Unvierse.
    1. Is it generally possible to use hierarchies in BEx Queries with a BO universe? (at the moment I can see all characteristics and keyfigures from the query... but I can't see the hierarchy levels for the characteristic)
    2. If 1) is possible: I want to use a hierachy variable to select a hierarchy depnding on the user who is using a report... that's not a problem in BEx. But: Is it possible to use this query/scenario with a BO universe? Does the BO universe update itself automatically if the hierarchy has changed in a BEx query?
    I've tried it with SAP BW 3.5 and SAP BI 7.0. BO Release is XI 3.0. Unfortunatelly without result.
    Regards,
    Thorsten

    Hi Thorsten,
    1) Hierarchies are mapped in the same way as custom-made universe hierarchies. When a hierarchy is defined on a characteristic in the BW Query, Designer creates one hierarchical structure in the universe, with a subclass for each level in the hierarchy. The structure depends on the current BW Query definition.
    2) If the number of levels in a hierarchy changes in the BW query, you must update the universe. In the universe connection select *Use Single Sign On when refreshing
    reports at view time* to allow the user to benefit from SAP SSO.
    Hope this helps
    Jacques

  • No exclusion for hierarchies in BEx query

    I am trying to determine why a hierarchy cannot be excluded in a BEx filter.
    We have a profit center with a hierarchy and sub-hierarchies under the main hierarchy.
    I have a BEx query setup so the profit center is in the Free Selection area.  Under the Properties section the main hierarchy is set and the Activate Hierarchy Display option is turned on.
    When I run the BEx report and access the filter, I can see the hierarchies and sub-hierarchies, but there is not option to exclude a sub-hierarchy (red dot).
    Is this normal or am I missing something?
    Let me know,
    Bill

    Hello Yi,
    I don't know about the message in the trace. Try running the query in transaction RSRT first. Check the BW statistics in table RSDDSTAT. If QDBSEL and/or QDBTRANS are 0, then there's probably some incorrect restriction in your query.
    You can also do a SQL trace and check if the big SQL statements return some records. There have been cases where the database did not work correctly (see SAP notes).
    Regards,
    Marc
    SAP NetWeaver RIG, US BI

  • Reporting-Hierarchy Node Variable

    Hi all,
         A big hello! Can you please let me know how to create and maintain Hierarchy Node variable in the Bex reports? Its a very basic question but I am unable to work with it. please help me regarding this. If possible can you forward me relevent docs. my mail-id is [email protected]
    many thanks

    Hi Damoder,
    You can see the options with Hierarchy Variables described well over here:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/096d399bd2046fe10000000a114084/content.htm
    Hope this helps...

  • Output of BOBJ (Web Intelligence Reports) are twice BEx Query Result

    Hi Experts,
    Incase of first level of hierarchy, correct values (i.e same as BEx Query) are displayed in BOBJ reports . However on selecting two and more levels of Hierarchy, values,twice the corresponding BEx query values, are displayed in BOBJ reports .
    For e.g.
    For level one of hierarchy (one level of object from hierarchy ):
    Actual Amount keyfigure value in BEx Query : 100
    Actual Amount keyfigure Value in BOBJ Report : 100
    For if we select two and more levels of Hierarchy, then we get following inconsistent values:
    Actual Amount keyfigure value in BEx Query : 100
    Actual Amount keyfigure Value in BOBJ Report : 200
    We have implemented SP5 ,as suggested in SAP note 1373220 . However issue still persists...
    Can you please suggest, how to resolve this issue?
    Regards
    Mohit

    We had the issue close to your issue. Basically, Webi does a Cartesian product of the characteristics value and duplicate the number of rows. But when we add the key figure in the report, it was showing the correct result.
    Not sure, why the Key figures are also duplicating in your case. Please try adding removing characteristics and see if that resolves your issue.
    - Danny

  • Hierarchy node variable in workbook

    Hi all,
    I am scheduling a workbook in precal,
    The work has nine queries with same hierarchy node variable in all teh query selection.
    The work book is taking long time in opening even when auto refresh is off.
    the precalculation takes 30000 sec and running...
    any thought on what can be done to reduce the calculation.
    regards,
    Rakesh.

    Hi,
    As precalculation just automates the process of opening, refreshing and applying the variant on a workbook I would suggest trying to find improvements there. Perhaps the notes below can help.
    1289127
    1160093
    1179647
    1260213                         
    also use the latest precalc server support pack "BW 7.x precalculation service SP1200 - GUI 7.10" (note 1387291).
    Thanks,
    Michael

  • 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: How to suppress duplicated/repeated rows in a BEx query

    Hi Gurus.
    I have a BEx query which displays data based on a Cost Element hierarchy.  When the hierarchy is expanded to leaf level (or any level), all key figures and characteristics are displayed for the leaf level but are also repeated throughout all the levels above.
    Is it possible to suppress the repeated rows in higher levels of the hierarchy and display a summary result only?
    The issue we have is that if the user wishes to export or save a workbook, they will have to filter and manipulate the report a great deal which is impractical.
    I'm hoping it's a simple setting that I've missed.  I look forward to receiving the magic answer!! :o)
    Thanks,
    Angela

    Hi All,
    I've been playing around a bit more and found a setting which I hope my users will find acceptable:
    From the query - Query properties -> Data Formatting tab - Multidimensional View -> select Display Rows hierarchically and expand to (chosen characteristic)
    Can anyone tell me if I can set this as a default setting in the query designer, or will I need to create a view to save the setting?
    Thanks all,
    Angela

  • Refreshing Hierarchy node variable in BEx query with change in hierarchy

    Hi all,
    We have used a hierarchy node variable on Characteristic ZECCSAC (user-defined) and used it in a BEx query with default value set to a particular node value. Upto this, it is working fine.
    The hierarchy used in the query, with the hierarchy node variable, was later changed ( and in future it can undergo changes ). Since the number of records in the hierarchy are changing, the nodenames of the hierarchy nodes are changing. But the hier node variable default value is still set to the earlier nodename for that node description. So at runtime it is giving an error "ECCS Account Number is invalid"!
    Can anyone suggest how to refresh a hierarchy node variable default value each time a query is run so that the latest nodename is always taken ?
    Quick reply will be appreciated.
    Thanks

    Hi,
    You get this with User exits.
    Thnaks

  • Hierarchy node inputs in BEX query

    Hi,
    We have couple of BEX queries that has input variables with hierarchies, users like to type the multiple nodes in the hierarchy directly into the variable screen instead of expanding the hierarchy and picking the required nodes, is it possible, if yes, can you please share the idea, thanks
    Raman.

    Hi,
    Yes it is possible.
    You have to create Hierarchy Note variables. When you selected the hierarchy on the characteristic in the query designer, then goto restriction on the selected hierarchy, in the restriction window we can create Hierarchy Note varaibles, so at the varaible creation you give the option to select multiple entries.
    Check the below link for more information:
    http://help.sap.com/saphelp_nw70/helpdata/en/83/096d399bd2046fe10000000a114084/frameset.htm
    Hope this helps.
    Veerendra.

Maybe you are looking for