Hierarchy in Bex

Hello All,
I have created a product hierarchy in BI using a Flat File. I had created some queries in Query designer on a multiprovider before i created the hierarchy.
Can anyone please tell me how to add this product hierarchy in the queries created?
Thanks,
Naveen

Hi Naveen,
Click on that product infoobject in the query designer. on the right hand side go to Hierarchy tab for that IO.
there you can select the hierarchy from the list avaliable for that product. Once you have selected one of the hierarchies the check box 'activate hierarchy display' will be ticked.
Hope this solves the issues.
Regards,
Pratap Sone

Similar Messages

  • Urgent Help plzzzzzzzzz Hierarchy in Bex displaying like Not Assigned Mater

    Hi Experts,
    plz solve my problem like displaying Hierarchy in Bex ,
    I loaded hierarchy from R/3 system into Bw 0Mterial.
    In Bex 0material Properties I Selected heirachy on Material , this heirarchy having 8 levels,
    but in the out put it showing only one level displayng
    like Not Assigned Material.
    i did all the bex setting well, but i dnot know why i am getting this ...
    plz any one help..
    Thanks in advance
    Anil

    Hi Anil,
    Your query is built on an infoprovider, right? The way the hierarchy is displayed depends on TRANSACTION DATA IN INFOPROVIDER. To display the hierarchy normally you need to have in the provider not blank values of the characteristics you used in the query and not blank material code. Unassigned node means that this requirement doesn't met.
    If would be much more useful if you describe what you have in the query and what - in the provider.
    Best regards,
    Eugene

  • Urgent Error in Displaying Hierarchy in Bex- like not assigned Material

    Hi Gurus,
    plz  solve my problem like displaying Hierarchy in Bex ,
    I loaded hierarchy from R/3 system into Bw 0Mterial.
    In Bex 0material Properties I Selected heirachy on Material , this heirarchy having 8 levels,
    but in the out put it showing only one level displayng
    like Not Assigned Material.
    i did all the bex setting well, but i dnot know why i am getting this ...
    plz any one help..
    Thanks in advance
    Anil

    hi,
    Is your heirarchy uploaded properly for 0Material ?? If yes juct check out if your transcational data is in sync with the hierarchy master ? If it is not then it wuill display as Not Assigned..
    Regards,

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

  • Incomplete hierarchy in bex query (infoobject 0COSTCENTER)

    Hi Friends!
    I have a problem with hierarchy on infoobject 0COSTCENTER, the hierarchy is completely loaded into BW system (and is active), but when displays in query bex, cost centers are missing in the hierarchy (nodes and cost centers).
    Plaese some help!!
    Thanks everyone!

    Hi
    Even if you have used a hierachy that you know 100% has been loaded correctly - your report results can still "break" it.
    Hierarchies work by creating a relationship between parent and children. If you imagine your family: your parents are only related to your children through you actually being in between. If you disappeared from the relationship there would be no direct connection between you parents and your children. Your children are not the children of your parents.
    It's the same in BI !
    If a node is filtered in a report, the hierarchy mechanism doen't automatically reassign ownership of the children without parents. These are technically orphans.
    The result is that even when you use hierarchies with a report that has selections some nodes in the hierarchy work because all the children conformes to the selection whereas other ones do not, and it appears that something has gone wrong.
    You can force it to work by adding other key figures into your report that do not have the selection, but you'll have to discuss that with the business.

  • Imcomplete hierarchy in bex query

    Hi Friends!
    I have a problem with hierarchy on 0COSTCENTER, the hierarchy is completely loaded into BW system (and is active), but when displays in query bex, cost centers are missing in the hierarchy (nodes and cost centers).
    Plaese some help!!
    Thanks everyone!

    Hi Friends!
    I have a problem with hierarchy on 0COSTCENTER, the hierarchy is completely loaded into BW system (and is active), but when displays in query bex, cost centers are missing in the hierarchy (nodes and cost centers).
    Plaese some help!!
    Thanks everyone!

  • Time Dependant Hierarchy in BEx

    Hi All,
    I have created a query on top of 0PS_C04.
    In my master 0Project i have a hierarchy which is being displayed through BEx.
    Now with every new fiscal year, new projects are added to the hierarchy.
    When I run the query then all the projects of the hierarchy are displayed irrespective of the year they belong to.
    My problem is that I want to display only 2009 related projects when i execute the report for 2009 and so on for the years that follow.
    Can somebody please suggest a way out???
    Thanks.
    Regards,
    Rohit

    Hi,
    Are you using option : Time dependent hierarchy or Entire hierarchy is time dependent. If it's the latter, then you can just restrict your query with the hierarchy having end date 31.12.9999. Using key date option is also convenient.
    --Akashdeep

  • Problem with Time-dep hierarchy in BEx Query

    Hi,
    I have a workbook that consists of 3 queries. All the 3 queries uses heriarchy and hierarchy node variables on 0CUST_SALES. The hierarchy is time-dep. 2 of the queries returns the output and 1 of them just displays "No applicable data found" for some of the nodes. I checked the hierarchy table and the date range for the nodes are in the range (01/01/2010 - 12/31/9999), the leafs have the range as 01/01/2010 - 06/30/2010. The 3rd query is the actually the summary of the other 2 queries. I checked the queries and found that the field 0CUST_SALES is on the characteristic restriction pane of the filter tab in the incorrect query and in the remainiing 2 its on the default values pane.
    Will this be causing the problem in the incorrect query?
    There is also a key date derivation type defined in all the queries. Its defined as Basic Time Char with the derivation type as "First day of Period". We are not using any infosets. The quries are on a multiprovider which has only basic infocubes.
    Can someone please explain how this works?
    Thanks and Regards,
    Sujai

    Hi Diogo,
    Below is the code I am using in the customer exit.
    SELECT * FROM zae_tt_pbuild INTO TABLE gt_pbuild.
          IF sy-subrc = 0.
            LOOP AT gt_pbuild INTO gs_pbuild.
              CONCATENATE '*' gs_pbuild-pbuild '*' into lv_pattern.
              ls_range-low = lv_pattern.
              ls_range-sign = lc_sign_i.
              ls_range-opt = 'CP'.
              APPEND ls_range TO e_t_range.
              CLEAR: ls_range,
                     lv_pattern.
            ENDLOOP.
          ENDIF.
         ENDIF.
    I have tried using '%' instead of '*' aswell but the result is same.
    Thanks,
    Rakesh

  • Hierarchy in BEx selection screen

    Hi, how can I get a variable with hierarchy in the selection screen?
    1)how do I create a variable based on hierarchy?
    Can someone please give me steps?
    Thanks,
    Radha

    That was helpful. 
    Variable hierarchy – variable hierarchy nodes
           <i>1.      In the top left of the selection field, choose Single values and a hierarchy that contains the required hierarchy node, from the top right corner.
           2.      Select the Variables tab page.
           3.      Select the required variable from the list of available variables on the left-hand side.
           4.      Select the required variable and drag it into the Selection box on the right (or use the arrow icon pointing to the right).
           5.      Highlight a hierarchy node in the right-hand box and choose Select variable hierarchy from the context menu (right mouse button). You reach the Select Variable for Hierarchy dialog box.
           6.      Select a variable hierarchy. See also: Selecting Hierarchies
           7.      Choose OK.</i>
    In this, in the 2nd point, I am not getti

  • Problem in Hierarchy in BEX Query

    Hi ALL,
    I have created Query for balance statements & Profit ,Loss statement by using hierarchy. It  is execuiting in perfectly.But the problem is "I want in the query output hierarchy with only 1 node that is Profit/loss node."
    I have done restriction on that node only. But I am not getting the output for that node.
    If I add one more node for Profit/loss node it is showing data.
    my question is If I restrict only one node why it is not working?
    please give me suggestions on this. <b>we need only one node in the output Hierarchy.</b>
    Plaese give me the steps Regarding this.
    Thanks,
    kiran.

    Hi srikanth,
    thanks for ur reply,
    My hierarchy having like this:
    Fiancial satement
              |--->Source of funds
              |---->App.of Funds
              <b><b>|---><b>Profit/loss node</b>->caliculated Profit</b></b>
              |------>Income
              |------->expendature
              |------->Un assained Node.
    1. I have not used any Structure .
    2. I have placed my Hiearachy in ROWS and I ahve restricted only Profit/Loss Node.
    ( But If I select only 1 node in Restriction data is not getting in query)
    IF I select "profit/loss node " & some other node in Restriction data is coming in the output of Query.
    What is the reason for this.
    whatt I have to do to get only 1 node in the output with values.
    Thanks,
    kiran
    Message was edited by:
            kiran manyam
    Message was edited by:
            kiran manyam

  • Hierarchy in Bex Query

    Hi,
    How to assign hierarhcy in the row of a query thru query designer? I have a hierarchy and I would like to asssign the whole hiearachy in the row and not only nodes.
    Please advise.
    Best Regards,
    UR

    Hi UR
    Presentation Hierarchy
    You can present the characteristic as a hierarchy. Choose  to select a hierarchy. The hierarchy is flagged automatically as an active presentation hierarchy. If you deactivate the Active checkbox the characteristic is not displayed in the query as a hierarchy but as a basic list.
    If you restrict the characteristic to a hierarchy node the node hierarchy is adopted automatically as the presentation hierarchy. You can deactivate the presentation hierarchy here if necessary.
    You can set the sorting within the hierarchy according to the Key or Name in Ascending or Descending order. If you do not make any entries, the values are sorted as determined in the hierarchy.
    Each hierarchy has certain properties that you specify in the hierarchy definition. You can override the following hierarchy properties for the current hierarchy:
    ·        Expand to level
    In column B (user settings), select the checkbox and enter a numerical value for the hierarchy level that you want to expand the hierarchy to.
    ·        Position of lower-level nodes
    In column B (user settings), select the checkbox and choose whether you want to position lower-level nodes Down or Up. Choose Up if, for example, you want to see the overall result at the bottom.
    ·        Values of posted nodes
    In column B (user settings), select the checkbox and choose whether you want to Display or Suppress the values of posted nodes.
    In hierarchies, nodes always display the aggregated values of the subordinate nodes and leaves. If a node has a posted value, you cannot see this. To display this posted value, an additional leaf is inserted that has the same name as the node. This leaf displays the value posted to the node.
    In the following example you see that for cost center A1 an additional leaf has been added and the value of cost center A1 itself (10) is displayed. This additional leaf does not exist in the hierarchy. You can display or suppress this leaf (with the value of the posted node).
    ·        Nodes with only one lower-level node
    In column B (user settings), select the checkbox and choose whether you want to Display or Suppress the values of nodes with only one lower-level node. Suppressing nodes with only one lower-level node helps you to reach the more detailed information quickly.
    In the following example, Cost Center A and Cost Center A.1. contain the same information since Cost Center A has only one lower-level node in the hierarchy. If you are interested in the detailed data for the individual cost centers, you can suppress the uppermost node with only one lower-level node as this does not contain any additional information.
    Activities
    Drag a characteristic into a directory in the Query Designer (rows, columns, free characteristics or filter), select it and choose Properties from the context menu. You get to the Characteristic Properties dialog box.
    For more details plz fo thouh the link.
    [[http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm||http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]

  • Time-Depended hierarchy and BEx-Queries

    Hi Gurus, Masters,
    I have ONE time-depended hierarchy for 4 periods (times):
    1, 2, 3, 4
    I have 4 columns in Query with 4 periods:
    1 col for 1 period,
    2 col for 2 period,
    3 col for 3 period,
    4 col for 4 period.
    I have 1 row with this hierarchy.
    How can i share this hierarchy in my columns by validity:
    for 1 col -> this hierarchy for 1 period,
    for 2 col -> this hierarchy for 2 period,
    for 3 col -> this hierarchy for 3 period,
    for 4 col -> this hierarchy for 4 period?
    Any answer will be very appreciated.
    Thank you.
    Is this possible?
    P.S.
    I have 2 solutions found.
    Message was edited by: AndyML

    Hi Shashi,
    One of the ways:
    Create a variable type customer exit - in properties of the IO - in the 'select hierarchy' window there is a 'Variables' checkbox for key date.
    Calculate the last date of the entered period/year in the exit.
    Best regards,
    Eugene

  • Hierarchy display Sort Order setting "As in hierarchy" in BEx not working.

    Hi Team,
    We are using SAP BW 7.0
    In a Query the property for Sort Oder of Hierarchy is set as "As in the hierarchy" for WBS_ELEMT.
    Example data as per R3:
    HierarchyID   hierarchyDescription
    4       Four
    2       Two
    1       One
    3       Three
    5       Five
    The setting of sort order by"KEY" with "Ascending" is working fine.
    The setting of sort order by"KEY" with "Descending" is working fine.
    The setting of sort order by"Description" with "Ascending" is working fine.
    The setting of sort order by"Description" with "Descending" is working fine.
    BUT the setting of sort order by "As in the hierarchy" is not effected. 
    In other words, i am able to set it and save & run.  But the result does not have the effect.  It holds the previous setting.
    Is there any pre-requisite to have this setting.
    Please help.
    Regards
    BaaRaa.

    HI Baa Raa,
    This should work, have you tested this on the latest patching by upgrading one machine to :
    gui patch 18 for gui 7.10
    frontend patch 12.01 for 7x tools and gui 7.10
    and
    frontend patch 9 for 3x tools and gui 7.10
    best regards
    Orla.

  • Hierarchy in BEx using a virtual characteristic

    Hello BW Experts,
    I encountered a problem with the display of a virtual characteristic in context with a hierarchy.
    The goal is to display a weighted rating (the virtual characteristic) for each hierarchy level individually.
    What I get:
    IAS Category Weighted Rating Ratio Weighted MV / MV
    Level 1 A 5
    AAA 2
    Level 2a A 5
    AAA 1
    Stock 1 A 5
    Stock 2 AAA 1
    Level 2b AAA 1
    Stock 3 AAA 1
    What I'd like to get:
    IAS Category Weighted Rating Ratio Weighted MV / MV
    Level 1 AA 3
    Level 2a A 2
    Stock 1 A 5
    Stock 2 AAA 1
    Level 2b AAA 1
    Stock 3 AAA 1
    Level 2 is the lowest level in the hierarchy and Level 1 a text node. The weighted rating is determined in a SAP Exit (include ZXRSRZZZ) in a mapping ODS whereas the ratio Weighted Market Value / Market Value (a virtual key figure) is the lookup key. The solution might be something like the declaration of the aggregation level for the virtual characteristic in the SAP Exit.
    Any suggestions would by highly appreciated.
    Thanks in advance.
    Cheers,
    Manuel

    Hello,
    why do you not using an Hierarchy with Characteristics and Attributes? This should be much easier.(use a balanced hierarchy)
    I do not believe, that you have a chance to do the rating for the levels with a virtual characteristic.
    Another possibility is to use an virtual InfoPovider with Services and do the data collection by your own.
    Kind reg.
    Michael

  • Hide the last level of a hierarchy in bex

    HI experts,
    In a query I use a hierarchy based on 0account (characteristic based hierarchy, every node is also an account...)only leaves have figures in the cube (meaning no direct posting on nodes).
    This hierarchy doesn't have flat / equal levels, and final accounts are sometimes located on level X, sometimes on level X+1 etc...therefore, I can't use the standard fonctionnality "expand to level X"
    see below a simple exemple
    (in fact my hierarchy contain more than 10 levels):
    level1..|..level2..|..level3
    ..node 1-1     
    .........|.node 1-2 ("R"account)
    .......................|.<b>account</b>
    ..node 2-1 ("R"account)
    .........|.<b>account</b>
    My users want to be able to simply navigate in the hierarchy on specific nodes(which have specific properties through the usage of an navigational attribute used on my 0account characteristic), whitout having to expand to the last level: example the "R" level wich is the level before. Again, this R level resides in different levels of my hierarchy.
    So I have to find a way to stop the expand of the hierarchy to this specific level, hide the levels below(account), but include the amount of the lower levels in this specific specified level ("R").
    If you have any ideas/clues or suggestions on how to resolve this issue (navigational attribute, exits, restricted key figures, hidden columns...)...this would really be much appreciated.
    thanks a lot!
    Ps: I work on BW 3.5
    Message was edited by: Agathe LE LAMER

    Hi Agathe LE LAMER
    I know this thread is a little old now, but I would be interested to know if you had found a way of doing this. I am also trying to supress the lowest level in a hierarchy which are not all the same levels.
    Thanks
    Ben

Maybe you are looking for