Query designer:hierarchy order

Hi Experts,
In BW3.5 using query designer I have to add new varible on the selection screen of report to select WBS hierarchy,the standard hierarchy which we have now is not in sorted order....Users wants this hierarchy to be displayed as sorted by numbers ie in Numerical order.
Can anyone tell me how can I create it ..aslo I saw some varibales have assigned 'Z' hierarchies how they are created and from where they are added to query designer.....your inputs will be very helpfull...
Thank you!

hi,
Check this link..
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6736e07211d2acb80000e829fbfe/frameset.htm
Hierarchies are created for a particular object in Admin Workbench in RSA1.
Select the characteristic for which you want to create a hierarchy and choose Create Hierarchy from the context menu. The Create Hierarchy dialog box appears. The InfoObject name appears by default. 
Enter a hierarchy name and description (short, medium, long). Other fields may be displayed depending on which hierarchy properties were selected for the hierarchy basic characteristic.
In query for an object you can create a variable and assign hierarchy(if exists for that object) as per your requirement.
Regards
Lavanya

Similar Messages

  • Query Design - Hierarchy Question

    Hi guys,
    I am making a query with Cost and Profitaccounts. All the accounts are listed up in a hierarchy.
    6>61>610, 6>61>611,6>62>621 etc
    Under each 3digit account we have vendor information.
    Now one users wants me to create a query that only shows the 1digit accounts with directly the vendor information underneath it.
    How do you do this?
    Thank you,
    Filip

    Hi Filip,
    if you want to display the 1 digit accounts then give the restriction by selecting it in the filter and give the range of fixed values.and if you want to display the heirarchial values then select the particualr dimension and right click and go to properties and select the hierarchy level and give for the display which node you want to display and hide the other fields by hiding them and you can gieve the selction also on hierarchy nodes by creating the hierarchy node variables.if this is not you are looking for exactly then post your question more clear way then we will help in resolving your issue.
    assign points if it helps.
    Regards,
    ashok.

  • Query Design - Counting orders with specific quantities

    A user has requested a query that will show the number of orders each month for a specific product by order quantity.  So, if the product is ABC, they want to see that in November there were four orders for ABC with a quantity of 1, ten orders with a quantity of 2, etc.
    We have a cube that contains the the order number, so I can get down to that level of detail, but will do not need to display the order number on the report.  Since the quantity (0ACT_DL_QTY) is a key figure, I have no idea how to group a report by a key figure.  Can I possibly use a formula variable to acheive this?
    Thanks,
    Doug

    Hi Doug,
    You need to add a charachteristic to cube like ZORD_QTY - Order Quantity
    Store the order quantity keyfigure value in this.
    Use this characteristic in the Query.
    Good luck,
    vijay

  • How to hide a single value node hierarchy in the query designer

    Hi,
    I would like to perform a calculation  in the infocube. It concern  a count "Nb of different customers" with the following hierarchy : Country / region / City.
    This KF would be read at the same time by city, region and country, and  certain customers exist in 2 different region, and I have to count them only once by country.
    To do this, I added a new record (at the country level when loading infocube) to deduct a number of customers in doubloons.
    This line added contain only a country code and the number of cutomers in doubloons (- 23 when I have 23 cutomers in doublons) with revrese sign.
    Now, I would like to use this value (-23) to have a right Nb of different customers by country, without showing the not assigned line in the report hierarchy.
    How can I hide, in the query designer or the WAD, a single value node from hierarchy (NOT assigned) but take in account the value (-23) at the country level ?
    Is there another solution (more simple) to perform this in the infocube ?
    For information,
    1) The infocube is loaded once per month, and the KF (Nb of different customers" is also performed by month.
    2) I can't perform this in the report (performance problem with calculated KF).
    thx.

    Hi,
    the short answer is "you can't", the longer is: The ADF Faces tree component is stamped for better performance. This stamping means that nodes are not rendered as JSF objects but copies of an existing component (just with a changed value). For this reason the nodes don't issue their own query for data and thus cannot be refreshed individually
    Frank

  • 0ORGUNIT hierarchy version assignment problem using BI7 Query Designer

    Dear All,
    I have a problem with Hierarchy Version for 0orgunit using BI7.0 Query Designer.
    for activating heirarchy i have selected the hierarchy in  the query designer but version it is not showing , instead of 01 it is showing as #.
    what may be the problem with BI7.0 Query designer.
    If I use BW3.5 query desingner there version in showing and I can able to show the heirarchy.
    We are using BI7.0 and SP level is 13.
    Best Regards,
    SGK

    Dear SGK,
    did you get this problem solved ?
    I have the same problem.
    Regards,
    Gerhard

  • Control display level for "display as hierarchy" in BI 7 Query Designer ?

    Hi
    I'm using BI 7.0 query designer and I can see there's an additional difference between BI 3.5 and BI 7.0 in rows/columns behavior, in the "display as hierarchy" functionality.
    In BW 3.5 one could specify till what level the expand needed to be by default. So it could be 0 for totally collapsed. This is seems not possible anymore in BI 7.0 query designs anymore. Only on natural/technical hierarchies (cost center etc ...) this option is still there.
    Is there a way (javascript or other) to have the hierarchies created by "display as hierarchy" also fully collapsed by default ?
    Thanks.
    Geert

    HI, thanks for the reply.
    But this is not about the standard InfoObject 'hierarchy" tab, with all it's options on default expand levels etc.
    This is about a "pseudo structure" hierarchy which is defined at designtime (in Query Designer) and generated/shown at runtime (so bad for performance, I know). It's based on the real transaction data, not on a pre-created hierarchy as in normal hierarchies. It creates a tree view of otherwise unrelated InfoObjects, displays it in an collapsible/expandable tree shape.
    it's a bit hidden in version 7 Query Designer, compared to version 3.5. In 3.5 one had a larger set of options, including the -now lacking- default expand-to level. But in Version 7, most options are dropped. Probably due to the move from the ABAP to the java backend, lots of other stuff got culled in that move as well.
    For more info, look at the posts from Larry in this thread : [Display as Hierarchy|Display as Hierarchy]
    I know it's an option not used a lot but can be handy in certain cases.
    I really would like some help in getting a default query result with the "display as Hierarchy" collapsed.
    Thanks,
    Geert

  • In query designer, an hierarchy(structure)  duplicating lines in level 2.

    Here we are at version 7.0 - SP 10, I have created a structure hierarchy in BEX, and when I execute this query the result is ok ... until I tried to closed or open the second level.
    At first, it doesn't close, and the worst if I tried to open  it's
    duplicating the lines of the second level.
    In query designer, creating an hierarchy(structure) something like this:
    > total division 1    
    ...> division 1.1     
    ...> division 1.2     
    > total division 2    
    ...> division 2.1     
    ...> division 2.2     
    and after the execution, if I tried to close or open the level of division 2 the result will duplicates the lines division 2.1 and division  2.2. the result is like this:
    > total division 1    
    ...> division 1.1     
    ...> division 1.2     
    > total division 2    
    ...> division 2.1     
    ...> division 2.2
    <b>...> division 2.1     
    ...> division 2.2</b>
    The stange is in excel it works normaly.
    Best regards,
    Silvio Meurer

    Hi,
    An Heirarchy is always an addition of the below nodes. hence. WBS 1 = WBS 1.1 + WBS 1.2. since youre looking at durations. it will add up 7+9 instead of looking at earliest start and latest end dates.
    dont know if itll work but a suggestion would be to get the start date and end date for WBS 1 and then do the calculation for duration in a formula in query designer.
    regards,
    Dilanke

  • 'Display as hierarchy' in the Query Designer

    Hi,
          Can anyone highlight some points or importance of 'display as hierarchy' in either rows or columns in the query designer. Also could someone put some thoughts on the 'new structure' in the query designer, is it just that we can create some new selection and new formula from the structure or is there any other explanation for its existence. Any kind of explanation would be greatly appreciated.
    Thanks,
    Anjali.

    Hi Anjali,
    display as Hierarchies:
    simply enables you to select and use hierarchies for that InfoObject if available.
    Structures:
    you can create structures with or without keyfigures. Structures give you a great deal of flexibility and consistancy in your reports. Eg. you can create a structure that gives you a drilldown on char selections that are different for each line or column. We use that to "simulate" divisions in a drilldown that we don't have backed up by masterdata.
    Also structures enable you to keep reports consistant by using the same global structure eg. for all Contribution margin reports
    Hope that helped,
    regards,
    michael

  • Using Hierarchy in Query Designer

    Dear all
    When I use hierarchy of InfoObject 0WBS_ELEMT, there is a hierarchy which has structure following:
    WBS 1
         WBS 1.1
         WBS 1.2
    In every WBS, I focus on 3 infos (start date, finish date and duration)
    WBS 1.1 has startdate: 2/8/2010, finish date: 10/8/2010, duration: 7
    WBS 1.2 has start date: 5/8/2010, finish date: 17/8/2010, duration: 9
    As my understanding, WBS 1 is parent of WBS 1.1 and WBS 1.2, so start date of WBS 1 is 2/8/2010 and its finish date is 17/8/2010 and duration is 12 (only included working day).
    In Infocube, I received correct duration of WBS 1, but in Query Desinger, duration of WBS 1 = duration of WBS1.1 + duration WBS 1.2, This is incorrect.
    Please help me way config for duration of WBS correctly in Query Designer.
    Thanks
    DaoBX

    Hi,
    An Heirarchy is always an addition of the below nodes. hence. WBS 1 = WBS 1.1 + WBS 1.2. since youre looking at durations. it will add up 7+9 instead of looking at earliest start and latest end dates.
    dont know if itll work but a suggestion would be to get the start date and end date for WBS 1 and then do the calculation for duration in a formula in query designer.
    regards,
    Dilanke

  • Hiding hierarchy level in Report (Query Designer)

    Hallo Experts,
    I am working on a hierarchy structure. I use the activate Hierarchy Display in the Query Designer. I try to expand my query till level "2".
    But I actually want only the 2 level report and the 1st level should be hidden. Can anyone guide me how this can be done.
    Thanks in advance
    Santosh

    Hello Santosh,
    You can have Level 2 as an InfoObject that will be attached to 0MATERIAL as a navigational attribute. Then you can use this in your report and and create a condition on it.
    Thanks.
    With regards,
    Anand Kumar

  • Hierarchy node not available in Query Designer

    Hello Gurus,
    I can find the hierarchy node variable in BW but it is not available in query designer. Does anyone know what might be the problem and a solution?
    Thanks,
    Mark

    Hi Mark,
    You said you "find the hierarchy node variable in BW but it is not available in query designer".
    How did you find the hierarchy node variable in BW? From backend SAPGUI, you will only be able to see the variable in some internal tables like RSZGLOBV. Did you mean this?
    For "it is not available in query designer", do you means that when you want to create a hierarchy node variable for this characteristic in Query Designer, you don't find this certain hierarchy node variable in the hierarchy node variable list?
    Important thing to notice is that, flat value variables and hierarchy node variables are listed separately. Did you make sure that you have chose to list hierarchy node variables in Query Designer?
    Regards,
    Patricia

  • Setting in Query Designer to close all the levels in hierarchy

    Hi,
    I got a  hierarchy with upto 8 Levels.
    In Query Designer i had a Selection Restrictions on hierarchy,I selected few nodes (each will have upto 7 level).
    When i execute the report the first node is expanding upto the Level 7 and other nodes are stay close...
    I checked and tried all the setting Expand to level 0....etc
    Its not working.
    How can i achive
    When the user executes the report...data will be dispayed and all the restricted nodes will be displayed as closed...and option to the user to expand.
    Thanks

    Hi SDBI,
    Thanks for the Update...
    Go to RSH1 transaction. Go to your Hierarchy. Choose your hierarchy in change mode press Hierarchy attributes buttion. Enter 00 as drilldown start level in the new dialog appearing when your press Hierarchy attributes button.
    It worked..but not for 00....it worked for '01'.
    Could you please explain me in bit detail what is the functionality of that setting...
    Thanks in advance

  • Unable to see  hierarchy nodes for a hierarchy in Query designer

    For IO 0GL_ACCOUNT, we have many hierarchies defined.
    In the query designer when i am trying to restrict the 0GL_ACCOUNT with one of the hierarchy say Hier1 the corresponding hierarchy nodes should be displayed so that i can select any nodes of my choice and can restrict.
    Strangley instead of showing hierarchy nodes,it is showing" [ ]" with out any values.Checked in RSA1 ,the hierarchy with all nodes visible perfectly.No authorization settings created on any of these hierarchies.
    hierachy is in active state.
    Appreciate any suggestions on this.
    Regards,
    Swapna.G

    Before restricting you need to select hierarchy for the characterstic and tick the activate hierarchy display checkbox

  • Hierarchy not visible in Query designer

    Hello Experts.
    I am trying to create a query in BW 3.5 but I ran into one issue. I created a hierarchy for an Infoobject. But I am not able see this Hierarchy for the Infoobject in BW 3.5 Query designer although I can see it in BI 7.0 Query designer.
    Any help in this regards will be appreciated and points will be assigned.
    Than

    Check if you have made the "hierarchy" Active in your BW 3.5 query and also chosen the hierarchy correctly.
    Right click on the characteristic----
    > properties.
    Hope this helps.

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

Maybe you are looking for

  • Can I use an iTunes gift card to order a photo book from iPhoto for iOS?

    Can I use an iTunes gift card to order a photo book from iPhoto for iOS?

  • EA6500 available WiFi channels in Ukraine

    Good day, sirs. I bought EA6500 in Ukraine. I decided not to use Linksy Smart Wi-Fi for now and tried to configure router manually. When I open channels selection list I found only 4 channels. It looks confusing for me. Why do you allow usage only 4

  • Joining line paths in CS5

    Hi, I am working on a line art project and trying to figure out how to join an endpoint on one path to another path. Here is pic of what I am trying to do: http://imageshack.us/photo/my-images/862/screenshot20111215at150.png/ Is there a way to join a

  • Protocol Violation

    Hi, I have a problem run query from oracle database to sqlserver database using sql developer. Every time i run the query it give error "Protocol Violation". I use transparent gateway to link between my oracle database and sqlserver. When I use sql P

  • ReSampling? Hot Swapping? What do these terms mean?

    After years of digital audio I still run into terms that don't really mean anything specific to me. Could someone shed some light on what these two things refer to? Thanks a bunch!