BEx Hierarchy Display

In a report we are using orgunit hierarchy and we have another field in the report Manager name (manager of the orgunit).  Currently at the top level of the hierarchy all managers are displayed for every node under it. Example
Level 1
Org 1----Manager 3
Manager 2
Manager 1
Level 2
Org 2-----Manager 2
Manager 1
Level 3
Org 3----Manager 1
Is there a way to only display Manager 3 for Org 1 and Manager 2 for Org 2? We thought about compounding orgunit with manager but we could run into an issue with time dependency.  Any other suggestions without removing the hierarchy display?

Not sure if this fits your situation or not, but look in orgunit and see if there is a manager in there already (if not you can customize it and add it in).  Then you can display the orgunit on your report and then also display the orgunit's manager attribute.
You are displaying the manager and orgunit from transaction data.  This manager could be the employee's manager, cost center manager, orgunit manager, etc... 
Brian

Similar Messages

  • Error in BO Webi using Authorization analysis in Bex with hierarchy display

    Hi Experts ,
    When we run the WEBI report created on bex query which has 0comp_code restricted with characteristic variable  of processing type Authorization and Not ready for input.
    The hierarchy display is active in Bex (as we want to see L01, L02.... in webi)
    The authorization analysis is working perfectly when I test in Bex analyser (at any drill down level).
    But in BO webi, I get below error
    The database error text is: The supplied XML is not valid. [char name & Level].
    I dont get this error when I deactivate hierarchy display in Bex.
    Also I dont get this error for user ids having 0BI_ALL
    Please help me to resolve this.
    Thanks
    Savio

    Hi Atul,
    You can achieve this by dragging these two fields in the filter bar section of the webi. then apply variables on these fields.
    hope it helps
    Regards,
    Rathy

  • Variable hierarchy display not changed (BEx analyzer)

    Hi
    We have a BEx query, in which a drilldown characteristic is displayed as an hierarchy
    Hierarchy display is active
    Selected hierarchy:
    Name - constant
    Version - customer exit variable
    Customer exit calculates version from manual input variable.
    We need to view the report in BEx Analyzer.
    When the query is opened, we select manual input variables and the hierarcy's version is set correctly.
    The issue is that when we change manual input variables at runtime, the data is refreshed,
    but hierarchy display is not changed. The selected hierarchy's version remains unchanged.
    In order to change hierarchy display, we need to open characteristic properties and change the selected hierarchy manually
    or we need to reopen the query and provide another manual input variables.
    Our system version is 7.01 patch level 9
    Is there any way to fix this problem
    Or some workaroud?
    Any help will be appreciated.
    Thanks

    Michael, thank you for reply.
    But I don't see how these notes may help me with my problem.
    1753959 - I don't get a short dump
    1745472, 1751321 - system displays all queried nodes, the problem is that if I input another variable, hierarchy version variable is calculated via user-exit properly (I see it in ABAP debugger), but displayed hierarchy has version, which was set when I opened query initially.
    1717433 - nodes are returned with non-empty result. I can see that data is refreshed, hierarchy version is requested correctly, but is displayed incorrectly. We can see, for example, new hierarchy leaves, but in "n/a" node.
    I tried to run the same report on system with version 7.01, patch level 12 and get the same behaviour.
    My problem is similar to that described in notes 993151, 957219, but our system patch level is already higher.

  • Hierarchy display in BEX is confusing

    I am having an issue with the customer group hierarchy display in BEX:
    In RSA1 hierarchy display like this
    Customer group 1
    --Customer A
    --Customer B
    --Customer C
    In BEX (restricting characteristic or variable selection for 0customer/0sold_to) it displays:
    Customer group 1
    --Customer group 1
    --Customer A
    --Customer B
    --Customer C
    It confuses the users as to which is the correct Customer group 1 node to select for the queries. I could not find any setting that may control this behaviour.
    This is a time dependent hierarchy. We are in 3.1c
    Any help is much appreciated.
    Joe

    Hi,
    set the properties of your characteristic
    Values of posted nodes to hide
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/25213c9cffa027e10000000a11402f/frameset.htm
    Regards
       Heike

  • WebI issue with hierarchy display and aggregation

    Trying to wrangle what looks like a defect in WebI's handling of hierarchy display and aggregation. We just completed an update cycle and are running BOBJ 4.1 SP4.
    The hierarchy is a standard FM Commitment Item hierarchy in which both the nodes and leaves are Commitment Items (i.e. it uses InfoObject nodes, not text nodes). An example of one of these nodes looks like this in BW:
    Cmmt_Item A - Node
        Cmmt_Item B - Leaf
        Cmmt_Item C - Leaf
    Let's pretend Commitment Item A has $50 posted to it, B has $20 and C has $30. Analysis for OLAP handles this by adding a virtual leaf line to distinguish postings that are on the parent node like so:
    Cmmt_Item A - Node       $100
        Cmmt_Item A - Leaf    $50
        Cmmt_Item B - Leaf    $20
        Cmmt_Item C - Leaf    $30
    So you see both the total for the node ($100) and a line for each Commitment Items with KFs posted to them. Our users like this. They can easily see the aggregation and the breakdown.
    WebI, on the other hand, will display it like this:
    Cmmt_Item A - Node       $150
        Cmmt_Item B - Leaf    $20
        Cmmt_Item C - Leaf    $30
    It doesn't create a separate line for the value of the parent node, but it does add it's value into the aggregate. Twice. Modifying the table with the 'avoid duplicate row aggregation' checkbox yields output like this:
    Cmmt_Item A - Node       $100
    Cmmt_Item A - Node        $50
        Cmmt_Item B - Leaf    $20
        Cmmt_Item C - Leaf    $30
    We're about halfway there. While the top row now shows the correct aggregation and it creates a new line to show the distinct amount on the parent node, that new line appears on the same level as the parent. It's no longer clear that there's an aggregate and a breakdown. And attempting to expand or contract a node will now crash the report with one of those 'Error 16' messages.
    Has anyone encountered this issue with hierarchies in WebI? This report was built from scratch in 4.1, so I'm not sure if this affects older versions or not. Or if it would affect any hierarchy that uses InfoObject nodes instead of text nodes.

    Without a fix, the simplest workaround I can think of would be to restructure the hierarchy. It can't use postable nodes, so Cmmt_Item A  - Node from my example would need to be converted into a text node and the postable characteristic added as a child on the same level as the B and C leaves.
    This looks like it would affect anyone using hierarchies with postable nodes in a WebI report.
    Another oddity in WebI's behavior here - even though the postable nodes show incorrect sums the sum at the root node is correct. So extending my examples from the original post:
    Root Node                    $100
        Cmmt_Item A - Node       $150
            Cmmt_Item B - Leaf    $20
            Cmmt_Item C - Leaf    $30

  • Bex Hierarchy issue on Webi report

    Hello Experts,
    We are facing issues on use of Bex hierarchy in webi report,
    Issue statement: We have webi report on bex query which have table and chart with input control on year and month to filter the report, table and chart uses hierarchy object to disply data. When we refresh report table and chart shows data with hierarchy on first level but once we check or uncheck any value from input control hierarchy in table and chart gets expanded and shows as flat structure. to get correct behaviour we have to collaps hierarchy.
    Above behaviour happens for all report level filter like, block filter, drill filter, input control.
    Please help me to know this is a bug or something wrong happened with development.
    Regards,
    Priyank Bhayani

    Hello Everyone,
    I have got SAP note which states this is expected behaviour hence closing the discussion.
    1702356 - Hierarchy Nodes expanded automatically to all levels after selecting value in the input control in a webi report.
    Regards,
    Priyank Bhayani

  • Hierarchial display alv

    hi friendz
    i am new to abap.i tried executing the hierarchial display alv, but i did not get the output.though i got the field names in the output but there are no contents displayed.i am including the code here.please help me out.
    rg
    sandeep
    REPORT  ZVV_ALV_HIERARCHIAL .
    *--type pools
    TYPE-POOLS: slis.
    *--tables declaration
    TABLES: SFLIGHT,SPFLI.
    *--types declaration
    DATA: BEGIN OF i_SFLIGHT OCCURS 0,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
           END OF i_SFLIGHT.
    DATA: BEGIN OF i_SPFLI OCCURS 0,
          CARRID LIKE SPFLI-CARRID,
          CONNID LIKE SPFLI-CONNID,
         AIRPFROM LIKE SPFLI-AIRPFROM,
         AIRPTO LIKE SPFLI-AIRPTO,
           DISTANCE LIKE SPFLI-DISTANCE,
          END OF i_SPFLI.
    *--variables
    DATA: i_repid LIKE sy-repid.
    i_repid = sy-repid.
    DATA: i_field TYPE  slis_t_fieldcat_alv.
    DATA: G_TABNAME_HEADER TYPE SLIS_TABNAME.
    DATA: G_TABNAME_ITEM TYPE SLIS_TABNAME.
    DATA: G_KEYINFO TYPE SLIS_KEYINFO_ALV.
    *--select options
    SELECT-OPTIONS :  S_CARRID FOR SFLIGHT-CARRID .
    *--initialosation
    INITIALIZATION.
    *--selection screen on
    AT SELECTION-SCREEN .
    *--start of selection
    START-OF-SELECTION.
      SELECT CARRID
             CONNID
             FLDATE
             FROM SFLIGHT INTO TABLE i_SFLIGHT
             WHERE CARRID IN S_CARRID.
    IF NOT i_SFLIGHT IS INITIAL.
        SELECT CARRID
               CONNID
               DISTANCE
               INTO TABLE i_SPFLI FROM SPFLI
               FOR ALL ENTRIES IN I_SFLIGHT
               WHERE CARRID = i_SFLIGHT-CARRID.
      ENDIF.
      PERFORM fill_fieldcatalog1.
      PERFORM fill_fieldcatalog2.
      PERFORM HIERARCHY_ALV.
    PERFORM alv_events.
    G_KEYINFO-header01 = 'CARRID'.
    G_KEYINFO-item01   = 'CONNID'.
    G_TABNAME_HEADER = 'I_SFLIGHT'.
    G_TABNAME_ITEM  = 'I_SPFLI'.
    *&      Form  fill_fieldcatalog
    FORM fill_fieldcatalog1 .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
                       i_program_name               = i_repid
                       i_internal_tabname           = 'I_SFLIGHT'
                      i_structure_name             = EKPO
                     I_CLIENT_NEVER_DISPLAY       = 'X'
                       i_inclname                   = i_repid
                     I_BYPASSING_BUFFER           = 'X'
                     I_BUFFER_ACTIVE              = ''
        CHANGING
                       ct_fieldcat                  = i_field
                   EXCEPTIONS
                     INCONSISTENT_INTERFACE       = 1
                     PROGRAM_ERROR                = 2
                     OTHERS                       = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " fill_fieldcatalog
    *&      Form  fill_fieldcatalog2
    form fill_fieldcatalog2 .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
                       i_program_name               = i_repid
                       i_internal_tabname           = 'I_SPFLI'
                      i_structure_name             = EKPO
                     I_CLIENT_NEVER_DISPLAY       = 'X'
                      i_inclname                   = i_repid
                     I_BYPASSING_BUFFER           = 'X'
                     I_BUFFER_ACTIVE              = ''
        CHANGING
                       ct_fieldcat                  = i_field
                   EXCEPTIONS
                     INCONSISTENT_INTERFACE       = 1
                     PROGRAM_ERROR                = 2
                     OTHERS                       = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.                    " fill_fieldcatalog2
    *&      Form  HIERARCHY_ALV
    form HIERARCHY_ALV .
                   CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
                     EXPORTING
                     I_INTERFACE_CHECK              = ' '
                      I_CALLBACK_PROGRAM             = I_REPID
                     I_CALLBACK_PF_STATUS_SET       = ' '
                     I_CALLBACK_USER_COMMAND        = ' '
                     IS_LAYOUT                      =
                      IT_FIELDCAT                    = I_FIELD
                     IT_EXCLUDING                   =
                     IT_SPECIAL_GROUPS              =
                     IT_SORT                        =
                     IT_FILTER                      =
                     IS_SEL_HIDE                    =
                     I_SCREEN_START_COLUMN          = 0
                     I_SCREEN_START_LINE            = 0
                     I_SCREEN_END_COLUMN            = 0
                     I_SCREEN_END_LINE              = 0
                     I_DEFAULT                      = 'X'
                      I_SAVE                         = 'A '
                     IS_VARIANT                     =
                     IT_EVENTS                      = I_EVENTS
                     IT_EVENT_EXIT                  =
                       i_tabname_header               = G_TABNAME_HEADER
                       i_tabname_item                 = G_TABNAME_ITEM
                     I_STRUCTURE_NAME_HEADER        =
                     I_STRUCTURE_NAME_ITEM          =
                       is_keyinfo                     = G_KEYINFO
                     IS_PRINT                       =
                     IS_REPREP_ID                   =
                     I_BYPASSING_BUFFER             =
                     I_BUFFER_ACTIVE                =
                   IMPORTING
                     E_EXIT_CAUSED_BY_CALLER        =
                     ES_EXIT_CAUSED_BY_USER         =
                     tables
                       t_outtab_header                = I_SFLIGHT
                       t_outtab_item                  = I_SPFLI
                   EXCEPTIONS
                     PROGRAM_ERROR                  = 1
                     OTHERS                         = 2
                   IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                   ENDIF.
    endform.                    " HIERARCHY_ALV

    The program works fine if there is no data in the I_SPFLI. But if the table I_SPFLI is populated it shows an error like 'Unable to interpret "AA " as a number' where AA is the CARRID.
    If the header01 is changed to CONNID the program works well. Here is the program.
    TYPE-POOLS: slis.
    *--tables declaration
    TABLES: SFLIGHT,SPFLI.
    *--types declaration
    DATA: BEGIN OF i_SFLIGHT OCCURS 0,
    CARRID LIKE SFLIGHT-CARRID,
    CONNID LIKE SFLIGHT-CONNID,
    FLDATE LIKE SFLIGHT-FLDATE,
    END OF i_SFLIGHT.
    DATA: BEGIN OF i_SPFLI OCCURS 0,
    CARRID LIKE SPFLI-CARRID,
    CONNID LIKE SPFLI-CONNID,
    * AIRPFROM LIKE SPFLI-AIRPFROM,
    * AIRPTO LIKE SPFLI-AIRPTO,
    DISTANCE LIKE SPFLI-DISTANCE,
    END OF i_SPFLI.
    *--variables
    DATA: i_repid LIKE sy-repid.
    i_repid = sy-repid.
    DATA: i_field TYPE slis_t_fieldcat_alv.
    DATA: i_field2 TYPE slis_t_fieldcat_alv.
    DATA: G_TABNAME_HEADER TYPE SLIS_TABNAME.
    DATA: G_TABNAME_ITEM TYPE SLIS_TABNAME.
    DATA: G_KEYINFO TYPE SLIS_KEYINFO_ALV.
    *--select options
    SELECT-OPTIONS : S_CARRID FOR SFLIGHT-CARRID .
    *--initialosation
    INITIALIZATION.
    *--selection screen on
    AT SELECTION-SCREEN .
    *--start of selection
    START-OF-SELECTION.
    SELECT CARRID
    CONNID
    FLDATE
    FROM SFLIGHT INTO TABLE i_SFLIGHT
    WHERE CARRID IN S_CARRID.
    IF i_SFLIGHT[] IS NOT INITIAL.
    SELECT CARRID
    CONNID
    DISTANCE
    INTO TABLE i_SPFLI FROM SPFLI
    FOR ALL ENTRIES IN I_SFLIGHT
    WHERE CARRID = i_SFLIGHT-CARRID.
    IF sy-subrc NE 0.
      MESSAGE e001(z538msg).
    ENDIF.
    ENDIF.
    PERFORM fill_fieldcatalog1.
    PERFORM fill_fieldcatalog2.
    PERFORM HIERARCHY_ALV.
    * PERFORM alv_events.
    G_KEYINFO-header01 = 'CARRID'.
    G_KEYINFO-item01 = 'CONNID'.
    G_TABNAME_HEADER = 'I_SFLIGHT'.
    G_TABNAME_ITEM = 'I_SPFLI'.
    *& Form fill_fieldcatalog
    FORM fill_fieldcatalog1 .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = i_repid
    i_internal_tabname = 'I_SFLIGHT'
    * i_structure_name = EKPO
    * I_CLIENT_NEVER_DISPLAY = 'X'
    i_inclname = i_repid
    * I_BYPASSING_BUFFER = 'X'
    * I_BUFFER_ACTIVE = ''
    CHANGING
    ct_fieldcat = i_field
    * EXCEPTIONS
    * INCONSISTENT_INTERFACE = 1
    * PROGRAM_ERROR = 2
    * OTHERS = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " fill_fieldcatalog
    *& Form fill_fieldcatalog2
    form fill_fieldcatalog2 .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = i_repid
    i_internal_tabname = 'I_SPFLI'
    * i_structure_name = EKPO
    * I_CLIENT_NEVER_DISPLAY = 'X'
    i_inclname = i_repid
    * I_BYPASSING_BUFFER = 'X'
    * I_BUFFER_ACTIVE = ''
    CHANGING
    ct_fieldcat = i_field
    * EXCEPTIONS
    * INCONSISTENT_INTERFACE = 1
    * PROGRAM_ERROR = 2
    * OTHERS = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform. " fill_fieldcatalog2
    *& Form HIERARCHY_ALV
    form HIERARCHY_ALV .
    <b>*G_KEYINFO-header01 = 'CARRID'.</b>
    <b>G_KEYINFO-header01 = 'CONNID'.</b>
    G_KEYINFO-item01 = 'CONNID'.
    G_TABNAME_HEADER = 'I_SFLIGHT'.
    G_TABNAME_ITEM = 'I_SPFLI'.
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    * I_INTERFACE_CHECK = ' '
    I_CALLBACK_PROGRAM = I_REPID
    * I_CALLBACK_PF_STATUS_SET = ' '
    * I_CALLBACK_USER_COMMAND = ' '
    * IS_LAYOUT =
    IT_FIELDCAT = I_FIELD
    * IT_EXCLUDING =
    * IT_SPECIAL_GROUPS =
    * IT_SORT =
    * IT_FILTER =
    * IS_SEL_HIDE =
    * I_SCREEN_START_COLUMN = 0
    * I_SCREEN_START_LINE = 0
    * I_SCREEN_END_COLUMN = 0
    * I_SCREEN_END_LINE = 0
    * I_DEFAULT = 'X'
    I_SAVE = 'A'
    * IS_VARIANT =
    * IT_EVENTS = I_EVENTS
    * IT_EVENT_EXIT =
    i_tabname_header = G_TABNAME_HEADER
    i_tabname_item = G_TABNAME_ITEM
    * I_STRUCTURE_NAME_HEADER =
    * I_STRUCTURE_NAME_ITEM =
    is_keyinfo = G_KEYINFO
    * IS_PRINT =
    * IS_REPREP_ID =
    * I_BYPASSING_BUFFER =
    * I_BUFFER_ACTIVE =
    * IMPORTING
    * E_EXIT_CAUSED_BY_CALLER =
    * ES_EXIT_CAUSED_BY_USER =
    tables
    t_outtab_header = I_SFLIGHT
    t_outtab_item = I_SPFLI
    * EXCEPTIONS
    * PROGRAM_ERROR = 1
    * OTHERS = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform. " HIERARCHY_ALV

  • Erro in Hierarchy Display in Crystal Report 2008

    HI Experts,
    I have connected MDX Query with Crystal Reports 2008. In my MDX Query, I took G/L Account as an Info-object Hierarchy in which there are more than 10 nodes and each nodes having G/L accounts range. When i tried to create  a crystal report from MDX query, in G/L account field i am not getting hierarchy but all G/L accounts comes together.
    How to get hierarchy of an infoobject in crystal report ?
    Regards,
    Rishit Kamdar

    HI,
    to get or find an answer/solution about your question/problem?
    I planning also to use Hierarchy Display in CR. And it is very interessting for me to know if that is working.
    Thanks
    Andreas

  • Hierarchy display not enabling drill down

    Hi
    We have a custom hierarchy on the cost center object which has 5 levels. The 5th level is the cost center.In some nodes the values are repeating for the first 4 level.
    e.g.
    level 1 : ABC
    level 2 : ABC
    level 3 : ABC
    level 4 : ABC
    In such a case the drill across functionality is working fine, but the drill down is not enabled with the hyper link for us to drill down the hierarchy
    The hierarchy is properly displayed in the BW side.
    what is disabling the hierarchy display
    regards

    Hi this is a known issue. pls log a CSS message for this and include the link to this discussion in the message.
    you will be notified when the fix is available.

  • BEx Selection screen Hierarchy display (text - key)

    Hi,
    We have a new query deployed that uses several hierarchies in the selection screen.
    When running the reports, the drop down for the hierarchies on the variable selection screen displays the full text. 
    However, the users are more familiar with the key value and would prefer to see that.  In the actual report, the keys are displayed.
    I am trying to find where the default display can be set for the hierarchies on the BEx selection screen so I can show the key values?
    Thanks!
    Darryl
    Edited by: Darryl Goveas on Nov 16, 2011 12:14 PM

    Create a FM like below and a wrapper for it so you can call it as part of process chain; we load all of our hierarchies then call this:
    FUNCTION ZBW_CHANGE_HIER_DISPLAYNAME.
    ""Local Interface:
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
      data: hieid(25) type c,
            hienm(30) type c,
            lgtxt(60) type c.
      RETURN-TYPE = 'I'.
      RETURN-ID = '01'.
    Select each hierarchy from list table
      select nhieid nhienm t~txtmd
      into (hieid, hienm, lgtxt)
      from rshiedir as n
      join rshiedirt as t
      on nhieid = thieid
      where n~objvers = 'A'
      and   t~objvers = 'A'.
        if sy-subrc = 0.
        concatenate Key and Text
          concatenate hienm '-' lgtxt into lgtxt SEPARATED BY space.
        update table with new description
          update rshiedirt
          set TXTLG = lgtxt
          where langu = 'E'
          and hieid   = hieid
          and objvers = 'A'.
          if sy-subrc = 0.
            RETURN-NUMBER = '001'.
            RETURN-MESSAGE = 'Successfully updated Hierarchy Descriptions.'.
          else.
            RETURN-NUMBER = '002'.
            RETURN-MESSAGE = 'Error when updating Hierarchy Descriptions.'.
          endif.
        else.
          RETURN-NUMBER = '003'.
          RETURN-MESSAGE = 'Error when selecting Hierarchy Descriptions.'.
        endif.
      endselect.

  • Hierarchy display problem in BW:BEX

    Members,
    I have an issue with displaying hierarchy in BEx. It is for a profit center hierarchy.  The heirarchy is loaded for info object 0Profit_ctr, attribute change run is completed and it shows as an active hierarchy in maintain hierarchy settings. I checked the H table, I'm able to see the hierarchy values. In Bex for the InfoObj, I have selected the active hierarchy checkbox and the hierarchy name. I get a '#' symbol, which is basically a not assigned symbol. It is not that I want to suppress #, but I get the not assigned symbol for all profit ctrs, including the ones which belong to the heirarchy(standard).
    Eg: #/1000002626 (i.e. hier/prctr).
    I traced the flow for 0profit_ctr from Datasource to the Infoprovider, also the master data. If I try using a hierarchy to filter, no data is selected, it is the same case when I do it in Hierarchy attributes setting by level in the maintain hierarchies.But I have a lot of data(i.e. with many profit centers ) that belongs to that hierarchy.I tried using both variable and fixed hier.
    Believe I'm missing something. Any help and pointers are really appreciated.
    Thanks in advance.

    Hi,
    yes its diaplaying for all the levels in the query and upto only 6 levels in the portal.
    is there any way to set the level of hierarchy in th WAD in the teamplate.
    I have one query which is displayed in the portal. The Query has hierarchial selection criteria. I am executing the same query using analyzer. Its taking the variable from the selection and displaying it on the analyzer. I have used the option to " display the query on web " from the BEX query designer. From there its opening and displaying the results with the given selection criteria.
    Where as when i open the query seperately in portal, its not displaying the results upto the entire level of hierachy ( only 6 levels are displayed
    I came to know from one of my colleague that the porblem is with the Web item and the hierarchial variable declared in WAD was different from the variable declared in the BEX Query designer.
    Pls advise on this ..
    BR
    Sherwin  on behalf of a fren.

  • Hierarchy displays on Web but not on BeX

    Hi All,
    We have upgraded our system from BW 3.5 to BW 7.0. We are at a suport pack 9 now. Patch Level 44. BeX Version 3.5.
    Post Upgrade when we run any query which contains Hierarchy objects and try filtering them, we get an error message,
    "Operation failed because of a program error on the server(DUMP).See system log for details"
    When see the system log we get,
    Runtime Error:UNCAUGHT_EXCEPTION
    Exception:CX_RSR_X_MESSAGE
    The Excetion 'CX_RSR_X_MESSAGE' was raised but was not caught anywhere along the call hierarchy.
    The query works fine on Web.
    Please provide your inputs.
    Thanks,
    Mayuri

    Hi,
    Seems You are getting Program error
    Install the latest Patch and try.
    Regards
    Veda
    Message was edited by:
            vedaprasuna devallapalli

  • BEx Hierarchy variable - display 2nd noode

    Hello,
    I created a BEx 7.0 hierarchy variable. Is it possible when executing the query that the user see hierarchy starting from 2nd noode?
    Any idea?

    Hi Pascal,
    You can hide your first node also from query designer by selecting "Nodes with only one lower level node" in hierarchy properties and select HIDE from the drop-down menu.
    I hope this will help you to solve your problem.
    Regards,
    Niraj Sharma

  • 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 Display Problem

    Hi,
    I've got a query driven from an organisational unit HR hierarchy. Unfortunately, neither way of presenting the information from the hierarchy is satisfactory.
    The two options I know of are to have the rows showing as a flat structure, but org. unit displaying as a hierarchy, or have all the rows displayed within a hierarchy.
    For example, with org unit as hierarchy, but the rows flat I'd get something like this:
    Org Unit   Grantholder   GrantNo   Sponsor    Grant Value
    University Prof X        441       Test Co.   100
                             442       TestCorp   75
               Prof Y        443       Test Co.   120
               Prof Z        444       TestCorp   80
                                          Result: 375
    Faculty   Prof X        441       Test Co.   100
                             442       TestCorp   75
               Prof Y        443       Test Co.   120
               Prof Z        444       TestCorp   80
                                          Result: 375
      Res Sch  Prof X        441       Test Co.   100
                             442       TestCorp   75
               Prof Y        443       Test Co.   120
               Prof Z        444       TestCorp   80
                                          Result: 375
       Dept A  Prof X        441       Test Co.   100
                             442       TestCorp   75
               Prof Y        443       Test Co.   120
                                          Result: 295
       Dept B  Prof Z        444       TestCorp   80
                                          Result: 80
    There will be potentially thousands of Grantholders at University level through to dozens within a department. This approach becomes grossly unwieldly for a user.
    The obvious way to overcome this is to show grantholders only within the node they are assigned by setting the entire set of rows to use a hierarchical structure:
    Hierarchical Rows     Grant Value
    University            375
      Faculty             375
        Research School   375
          Department A    295
            Prof X        175
              441         100
                Test Co.  100
              442          75
                TestCorp   75
            Prof Y        120
              443         120  
                Test Co.  120
          Department B     80
            Prof Z         80
              444          80
                TestCorp   80
    As the characteristics aren't laid out in labelled columns, the results are less clear and with even a small number of characteristics, drilling down within the hierarchy becomes a chore. Also, the BEx Analyser can't handle all the indents required for four levels of hierarchy and then a dozen characteristics.
    I'm aware there are a few cosmetic options to play with, such as opening nodes above instead or below in the first example or defaulting open all nodes at a specified level in the second example, but none of those solve the core problems.
    Ideally, the solution I'm looking for would produce the results shown below:
    Org Unit   Grantholder   GrantNo   Sponsor    Grant Value
    University                            Result: 375
    Faculty                              Result: 375
      Res Sch                             Result: 375
       Dept A  Prof X        441       Test Co.   100
                             442       TestCorp   75
               Prof Y        443       Test Co.   120
                                          Result: 295
       Dept B  Prof Z        444       TestCorp   80
                                          Result: 80
    (To be honest, to me this seems the most obvious way to present hierarchical data, so I find it surprising that it's not a standard option).
    Another option might be if the org unit hierarchy can be split into separate columns:
    Node 1     Node 2   Node 3   Node 4  Grantholder, etc...
    University Faculty  Res Sch  Dept A  Prof X
                                         Prof Y
                                 Dept B  Prof Z
    This is the approach used in the original versions of the reports that we're trying to re-create in BW. However, in that case, each org unit record held information for all its parent nodes and this isn't the case with the org unit hierarchy we get from SAP.
    These reports will be delivered predominantly via the web.
    Any suggestions for compromises would also be appreciated.
    Thanks.

    Hi Vincent,
    we came across the same problem. Moreover, the way the hierarchies are displayed interfere with our authorizations on the hierarchies. By giving detailed data on Root level, the user sees information that he is not entitled to see.
    I am sorry that I cannot offer any help right now. Did you come across a solution in the mean time?
    Regards
    Catrin

Maybe you are looking for

  • HP 3050 will not stay on the wireless network for more than a few minutes at a time.

    My HP DeskJet 3050 J610 is constantly dropping the wireless connection. It won't stay on for more than a few minutes. If I power cycle, it comes right back on, but drops again after a few minutes. It will print fine from a USB. When it drops off, pin

  • Multiple exchange calendars

    Hi, We use exchange 2010 within my organisation and I use a calendar to show my guys what they are up to. At the moment, I have an exchange account created on my iphone for my company email and another exchange account for the job calendar.  For exam

  • Discoverer can't start up  help

    I can startup the discoverer service from backend without any errors. But the status of Discoverer in the OAM is still down. Any one have exp? Thanks

  • Application Server Logo

    Hi all, Can everybody let me know how to remove "Application Server 10g Forms Service" logo when forms being start ? Best regards boris

  • Need ASA cli commands.

    My partner who was the ASA guy left, so I have been abruptly elected to fill the role. I'm looking for some advise on some great cli commands. The 2 I'd really love to know are how to tell phase 1 is up and how do I check to see if there is interesti