Issue with hierarchy node variable and multiple SAP hierarchies

Hello experts,
We are currently facing an issue when using two SAP hierarchies in Web Intelligence and one of them is restricted with a hierarchy node variable.
The systems we use are a SAP BI 7.01 (SPS 05) and a Business Objects Enterprise XI R3.1 SP2 (fix pack 2.3). I want also to point out that the fix pack 2.3 has been applied to all BOE related components: the SAP integration Kit, client tools, and enterprise (server and client).
The universe used in our scenario is based on a BEX Query with two hierarchies (non-time dependent hierarchies, intervals allowed) loaded on their corresponding characteristics. One of these characteristics is restricted with a hierarchy node variable (manual input, optional, ready for input, multiple single values allowed). 
Prerequisites for replicating the problem:
1)     When building the web intelligence query select several levels from both hierarchies (they have seven levels each) and    the   only amount of the InfoCube that the BEX query (that was used to create our universe) relies on.
2)     In the hierarchy node variable prompt select a hierarchy node entry (not an actual InfoObject value that exists as transactional data in the InfoCube )
By executing the query built above, all characteristics are returned null (no value) and the key figure with value u201C0u201D. No error messages, no partial results warnings.  Now if we go back to u201CEdit queryu201D and select levels of only one of any of the two hierarchies the query runs normally (by selecting the exact same value for the hierarchy node variable prompt).
Any ideas on the matter?
Regards,
Giorgos

Hi,
Have you ever got a solution for this problem?
I have a similar one.
Thanks,
regards, Heike

Similar Messages

  • Hierarchy node variable: select multiple values at once

    Dear,
    We have a hierarchy node variable (Multiple single values, optional) on profit center. If I launch this query in the BEx, it is possible to enter multiple single values in one go. However, on the web, it is required to insert a new row for each extra value the we want to select. However, when selecting a filter value on the web, it is possible to select several values at once (by checking a checkbox).
    Is it possible to select several values at once in the selection screen on the web for this variable?
    Thank you!

    we recently had the same requirement and posted the question at SAP. their reply was : this is not possible. even through the exit it was not possible, due to the logic of the sql select when executing the query, it seems.
    concerning the fact if this would be possible in a near future, there was no reply
    M.

  • URGENT: Issue with hierarchy level keys and report drill down

    Hi,
    BASIC STRUCTURE:
    I have created a subject area with 3 facts (FACT_A, FACT_B, FACT_C) and 4 dimesnions (TIME_DIM,DIM_2,DIM_3,DIM_4). Each fact table also has additional aggregate tables aggregated along levels of the time dimension. Also our timw dimension has aggregated dimension tables like TIME_DIM_WEEK, TIME_DIM_MONTH, TIME_DIM_QUARTER and TIME_DIm_YEAR.
    GOAL:
    All 3 facts have the same measures M_1 and M_2 in them but may not have data for the same dimension values selected.
    For example
    For month JAN 2000 FACT_A.M1=100$ and no data exists for JAN 2000 in FACT_B and FACT_C. Then in the report
    for JAN2000 it should show FACT_A.M1= $100, FACT_B.M1 = 0 and FACT_C.M1 =0. In this case I should be able to drill down to the lowest level.
    ISSUE:
    The time dimension TIME_DIM has the following levels - Total -> Year -> Quarter -> Month -> Week -> Day
    However I am having an issue with drill down in the reports whenever I pull metrics from more than 1 fact at a time. I have defined the level keys but not sure if I need to do anything in addition since I am using aggregates.
    I have to fix this issue quickly. Please help me.

    Alastair,
    All the fact tables have aggregated facts as sources.
    I have checked the levels set for each of the sources to the time dimesnion table in BMM and they look okay. So the Time dim table in BMM has 4 source tables
    Time_Day (level set to day, table key is "day"),
    Time_month (level set to month, table key is "Fiscal_Month_Code"),
    Time_Quarter(level set to quarter, table key is "Fiscal_Quarter_Code") and
    Time_Year(level set to year, table key is :Fiscal_Year_Code").
    Note: No time week aggregate added as logical source.
    Again the time dim hierarchy based off of this table has levels: Total -> Year ->quarter -> Month -> week -> day
    The levels keys set for each level are
    Year -> Primary key is Year_Name (YYYY)(Checked as chronological key) and another key is Year_Num (YYYY)(Checked as chronological key)
    Quarter->Primary Key is Quarter_Name (YYYY Qn), another key is Quarter_Number (Format n where n can assum values 1,2,3,4). Both keys are set as chronological keys
    Month -> Primary key is Month_Name (MON YYYY), another key is Month_Num (Format n where n can assume values from 1 to 12) Both keys are set as chronological keys
    Week -> Primary Key is week name (YYYY Wk nn, where nn can have values from 1 to 53), another key is week num (nn, where nn can have values from 1 to 53)
    Day -> primary key set to day (date format)
    Issue1: When I try to drill to lower levels it throws out an error saying report cannot find any data because filters may be too restrictive even though I see data at higher level
    For ex: If I drill down to Year: 2010 and Qtr: 2010 Q2 and M1:$100 when I click on Qtr to drll to month level it throws me the error
    Issue2: when I add year and qtr colums to the report I see data as below which is incorrect
    Year_Name Qtr_Name data:FACTA_M1 Data: FactB_M1
    2009 2009 Q1 $10 $5
    2009 2009 Q2 $20 $80
    2009 2009 Q3 $20
    2009 2009 Q4 $30
    2010 2010 Q1 $100
    2010 Q2 $101
    2010 Q3 $102 $230
    2010 Q4 $103
    2011 Q1 $10
    In the above example year_name is not showing up for 2010 Q2 and after. However if I change the primary key for level 'Quarter' by having key consist of year name and quarter name instead of just quarter name the issue doesnt occur and drill down works great. The only issue is when I drill from qtr it first shows year name and quarter name instead of showing the next level which would be month name.
    Sorry about the long message but I thought you might notice something in how I have set up the keys.
    Thanks

  • Selection screen for Hierarchy Node Variable

    HI All,
    I Have an issue with Hierarchy Node Variable , in my selection screen the for an info object , Z_ACCT  i have a Hierarchy Node Varable it only displays Text on F4 help , i want to desplay both Text and Key , i check in the Info Object bex setting it is set as Text and Key, so if any one can throw some lite on it, it will be of grt help.
    Regards,
    Abraham

    Hey, I found an SAP Note for this issue:
    Note 912130 -
    https://service.sap.com/sap/support/notes/912130
    Looks like there is something that could be done.
    Give it a try and hope this helps.

  • BW Hierarchy node Variable - Value help Issue in Crystal Report

    Dear All,
    1. We have created the BW-Query with Hierarchy node Variable .
    2. On the above query we have preapred Crystal Report.
    3. We have published the Crystal Report using BW Publisher ( Through Content Administrator in BW).
    4. Followed the steps as below link.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsandBWquery+elements
    Problem:
    When we are accessing the Crystal Report in the InfoView BW-Hierarchy node variable is not appearing in the value help as a tree structure ( It is appearing as a list ).
    Please suggest me the solution.
    Thanks & Regards,
    Kiran Manyam.

    Classic Crystal Reports and Classic SAP connectivity questions
    Classic Crystal Reports and Classic SAP connectivity questions

  • How to pass a hierarchy node variable value over OpenDocument?

    Hello,
    I have been unable to link to an instance with matching parameters with opendocument with hierarchy node variables.
    Has anyone attempted this or been successful?
    Please reference this post I had in the Web Intelligence forum.  sInstance=Param not working for sap bw query based reports (FWM 02020)
    Here's some background information
    We've created 2 new crystal reports based of sap queries.
    Report 1, single prompt, no hierarchy.
    Result : Can link to specific instance with matching parameters. Great!
    Report 2, single prompt, hierarchy based.
    Result: Cannot link to specific instance with matching parameters
    Parameter list for report 2
    [!V000001} : Cost Center/Gr{oup (Multiple) = {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    However when I go into the history and look at the successful instance parameters used, it seems to be picking up an extra parameter ( my guess is node)
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    We have attempted to use the entire string, the first portion, second portion, and just the technical response. No luck.
    Any help or pointers would be appreciated!
    Nick

    Hello  Ingo,
    I'll explain the situation more clearly,
    Report 2, single prompt, hierarchy based.
    Result: Cannot link to specific instance with matching parameters with a response from the Bus Objects server
    An error has occurred: The object with ID -1 does not exist in the CMS or you don't have the right to access it (FWM 02020)
    We have 1 parameter for report 2
    {!V000001} : Cost Center/Group (Multiple)
    We selected a single value:
    {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    (The XXX, XXX, & XXX is the description)
    We ran a successful instance.
    However when I go into the history and look at the successful instance parameters used it displays the following: 
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    An extra description seems to appear (The first XXX, XXX & XXX;) Our original selection was only {0COSTCENTER   XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    We attempted to build variations of the open document strings
    1. We tried the entire parameter response,
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    2. The first description that was not part of the original selection,
    XXX, XXX & XXX
    3. The technical name and description
    {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    4. The technical name
    {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE}
    Please let me know if you need more details.
    Regards,
    Nick

  • BW-Hierarchy node variable in Crystal Report

    Hi crystal gurus,
    I am creating a report on top of BW-Query Using SAP toolbar. We are having a Hierarchy node variable for WBS Element in our Bw-Query.
    Now that hierarchy node variable is not behaving properly in crystal reports.
    When I execute Query at BW side it Provides me with proper result, say for example if i execute the query for a WBS element "X" and that element consists of other elements inside it like A, B, C etc then at BW side it gives me proper data considering all the WBS elements but in Crystal reports the Data returned is just for the Specified WBS element, i.e it return me data specific to WBS element "X" only.
    Any Ideas why this is happening and how to resolve this?
    Any help will be Appreciated.
    Thanks & regards
    Neeraj

    Hi Debi,
    thank you very much for your reply, but i am afraid that you may have misunderstood my Question.
    Actually I am using a hierarchy node variable, and as usual that hierarchy node has certain level. so when i m executing the report in CR say for node value/level  L1 then it provides me data specific for the node L1 only but logically it should provide me with data of node L1 and all other nodes below L1& that is not happening in my case. while whenever i m executing the same report with same values at BW Side it provides me proper result I.E. it provides me data for node L1 and all other nodes below it.
    Hope this makes my Ques clear.
    Thanks & Regards
    Neeraj

  • Passing hierarchy node variable in a hyperlink

    Hi,
    We are on XI 3.1 SP3.
    We have a BW summary query with hierarchy active, with hierarchy node variable as "optional" selection variable. Created Universe based on the query and built a WebI report. Have activated "Drill". That way we are able to drill down per the levels. This works fine.
    We have another BW detail query with optional hierarchy node selection. Created a universe and a WebI report for the detail report..
    When we try to create a hyperlink from the summary WebI report to the detail WebI report in "display" mode, creation of Hyperlink is very intutive. We are able to pass parameters.and the hyperlink works fine.
    The only problem occurs when we try to pass the hierarchy node variable value. The value of the hierarchy node gets passed, but the report does not bring over any data,
    Is this a known bug? Is there a workaround.
    Kindly advice.
    Rgds

    Hello,
    Ingo, thanks for your comment Sorry for the delayed response.
    Let me explain my scenario. On my report I have the following:
    1. Sales Hierarchy (5 level hierarchy)
    2. Product Group (Hyperlink created - want to pass Sales Hierarchy node value + Product group to detail report)
    3. Key Figure 1
    4. Key Figure 2
    I have activated drill which allows me to drill down the Sales Hierarchy.
    Scenaio A.  Pass just the Product Group Key. Success
    If I just pass the  "Product Group Key", the detail report shows me the data for the specific Product Group as expected. This is a successful test
    Scenario B -  Pass the Sales Hierarchy Node key and the Product Group Key Fails
    In this case, I am passing the "Product Group key" along with the "L00 Sales Hierarchy key". When I click on the hyperlink, it gives me an empty detail report. I know for sure that values exist for all levels. If I run my detail report stand-alone, I am able to get values for all levels.
    However if I drill down to the last level in the Sales Hierarchy, the detail report shows correct value. For last level, the Sales Hierarchy Node value gets passed correctly along with the Product Group key.
    URL generated is as follows:
    http://<bobj server>:<port number>AnalyticalReporting/WebiView.do?bypassLatestInstance=true&cafWebSesInit=true&appKind=InfoView&service=/InfoViewApp/common/appService.do&loc=en&pvl=en&actId=216&objIds=6933&containerId=6923&bypassLatestInstance=true&lsMProductGroup=11101101&lsSGeoSales+Hierarchy=B01&isApplication=false&pref=maxOpageU%3D10%3BmaxOpageUt%3D200%3BmaxOpageC%3D10%3Btz%3DAmerica%2FDenver%3BmUnit%3Dinch%3BshowFilters%3Dtrue%3BsmtpFrom%3Dtrue%3BpromptForUnsavedData%3Dtrue%3B&sRefresh=N
    In the URL you can see that correct values are getting passed
    Product+Group=11101101
    Sales+Hierarchy=B01
    Do I need to append any value to the "B01" value ?
    I did not understand the part about appending [ ] or 0HIER.
    Can you please explain.
    Thnaks for all your help.
    Rgds

  • Hierarchy Node Variable not working

    Hello,
    I created two variable one being Hierarchy Node variable and other Hierarchy variable.
    I am using this for the Internal order hierarchy.
    I amd also working on 2004s and not 3.5 version.
    I restricted the Internal order and then selected the variable and then selected the nodes and before moving the Nodes variable, I also selected the Variable for the Hierarchy and then moved the Node variable to the right screen.
    When I run the report, the option for the selecting the Hierarchy appears and I selected the correct Hierarchy, but when I go to the Hierarchy Node variable, I do not see the Nodes for that Hierarchy I selected in the first variable and it always like a fixed value Hierarchy defaults to the first Hierarchy.  Hence I am unable to select the node to execute the report.
    I would appreciate any ones feedback.
    Thanks
    Sundar

    I am working in 2004s as well (SP11) and I am trying to do the same type of thing.
    I have multiple cost center hieriarchies that the user can choose from at run-time using the hierachy variable.
    Then once the user chooses to the hierarchy they then should go choose a specific node that they want to run for in that hierarchy using the Cost Center Hierarchy Node variable (using the hierarchy variable, not fixed hierarchy).
    When I run this in the web I am allowed to choose one of the multiple cost center hierarchies... this means that the hierarchy variable is working, however when i go to choose the specific cost center node for that hierarchy it uses the defult cost center hierarchy instead of the one selected in the selection screen.
    If anyone can shed some light on this it would be greatly appreciated.
    Aaron

  • Hierarchy Node Variable is not displaying full list of Hierarchy

    Hi,
    I loaded Hierarchy  to an info object using flat file.
    When i created a test reports and settings to display of MAster Data of Char and executed the report
    The output displays full list of Hierarchy
    Now to have a User Entry on Hierarchy ...created a Hierarchy Node variable and executed the value help of Hierarchy Node variable is not displaying fill list of Hierarchy ...its only displaying first 15 entries in Hierarchy.
    I changed the settings of variable...etc but couldn't get the Hierarchy full list in User entry selection
    How can i fix it...
    Thanks in advance

    If anyone has the same problem, I think I found the reason when transported to production.
    BW7.3 (at least) can not show the hierarchy nodes if there is no transactional data loaded.
    So do your hierarchies only after the data has been loaded..

  • 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 variable - successor node data not displayed

    Hello,
    I have a query with a hierarchy in the ‘rows’ section. This hierarchy is restricted by a hierarchy node variable with the following settings: variable type ‘hierarchy node’; customer exit; single value; mandatory; not ready for input; cannot be changed in query navigation.
    The customer exit correctly supplies the node. However, only data for THIS node is displayed in the query results. And data for successor/underlying nodes is NOT displayed.
    I tried several things, including:
    - rightclick ‘Rows’ > ‘Display as a Hierarchy’
    - customer exit variable: multiple values instead of single value; optional instead of mandatory
    In the ‘Hierarchy Attributes’ for the hierarchy, nothing is checkmarked, except for Root/Totals Item Appears Above’ and ‘Drilldown start level = 00’. The hierarchy and its nodes are valid from 01.07.2005 to 31.12.9999.
    I have a feeling in what area the solution can be found, but I have no clue what to do further on with it. As a test I replaced the customer exit variable with a user entry variable. If I then execute the query, I can select either the ‘node’ or the ‘value’ (both with the same technical value!). If I select the node, I get all data, including data for successor nodes. If I select the value, I only get the data for the node, not the underlying successor nodes. For some reason, the customer exit variable behaves like the latter and not like the first. I do not know how to solve this.
    I would greatly appreciate if you could help me out of this issue here.
    Kind regards,
    Frank

    Hi,
    no, it doesn't. It just returns the data for the node and not for the underlying nodes.
    Frank

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

  • Is it possible to chose hierarchy-node in Transformation in SAP BW

    Hi there.
    Is it possible to chose hierarchy-node in Transformation in SAP BW.
    To calculate keyfigures and/or characteristics.
    We are in 7.0.
    Best Regards
    Ingrid

    Hi,
    It can  be possible if you go with routine...
    While updating the data from source to target (here you can lookup the Hierarchy table with transaction data(source) then Based on the hierarchy Node Id you can stamp the hierarchy value in the transaction ).
    I don't have system to give sample code but it can be achievable with ABAP help....
    Regards,
    Satya

  • No Query Result After Using Hierarchy Node Variable (Customer Exit)

    Hi
    I have problem at my query. It doesn't show anything in BEx but when i check the data in BW using tcode LISTCUBE i can display the data.
    This problem happen when i change the restrictions for one of characteristic in filter value.
    The characteristic is custom Infoobject (ZCPARTNER), which like Infoobject Partner Unit.
    Previously I set the restriction with constant value, example : A500,A700,A710,A720,A730,A740 and it worked before.
    But when I change it using hierarchy node variable (customer exit), this problem is arise.
    Here is my code at ZXRSRU01
      WHEN 'ZHIEPART'. --> hierarchy node variable
       BREAK-POINT.
        IF i_step = 2.
        Read from ZZCONSGR information
          LOOP AT i_t_var_range INTO loc_var_range
             WHERE vnam = 'ZZCONSGR' OR vnam = 'ZOCONSGR'. --> read input value from consolidation group variable
            CLEAR l_s_range.
            CLEAR l_s_range-low.
            IF loc_var_range-low EQ '000000000000030000'
               OR loc_var_range-low EQ '000000000000010130'.
              l_s_range-low = 'MEZBUNITMDI'.
              l_s_range-high = '0HIER_NODE'.
            ELSEIF loc_var_range-low EQ '000000000000040000'
               OR loc_var_range-low EQ '000000000000010160'.
              l_s_range-low = 'MEZBUNITMPI'.
              l_s_range-high = '0HIER_NODE'.
            ENDIF.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Here the hierarchy in BW system:
    XXX Cons Unit Hierarchy Set; InfoObject ; Node Name
    - XXX Cons Unit Hierarchy Set; 0HIER_NODE; ZBUNITALL
      - XXX DownStream ... ; OHIER_NODE; MEZBUNITMDI
         - ME/A730; 0CS_UNIT; MEA730
         - ME/A740; 0CS_UNIT; MEA740
      - XXX Power ; OHIER_NODE; MEZBUNITMPI
        - ME A800 - A808; OHIER_NODE; MEZBUNITMPI
        - PT Mitra xxx; 0CS_UNIT;  MEA820
    Anyone can help my problem? Thank you
    Regards,
    Satria B Tandyono

    Hi Satria,
    Instead of following code ---
    CLEAR l_s_range-low.
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    l_s_range-high = '0HIER_NODE'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    l_s_range-high = '0HIER_NODE'.
    ENDIF.
    try this ---
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    ENDIF.
    Note : whenver the option is EQ, the system takes only low value.

Maybe you are looking for