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

Similar Messages

  • 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 Variable in Selection Screen not taken into account.

    Hi,
    Our users choose a cost center hierarchy in the selection screen and run the report. As we have suppressed Unassigned Nodes, they do not appear. However when users then deactivate the hierarchy, unassigned nodes are shown. Their argument is that the unassigned nodes should still not be displayed because a hierarchy was entered on the selection screen. Is there a way of stopping this?
    Thanks

    Hi Shawn,
    I think I get what you did in your query, though it took me some time...
    Did you select the cost center in your query and set the display hierarchy using settings, hierarchy tab, select hierarchy, hierarchy variable (or something like that)? That would explain why the query isn't filtered on that hierarchy, only the display of cost elements is affected. You should also have the same hierarchy variable in your filter settings in the query designer. That way, the user filters on a hierarchy and the unassigned nodes will never be in the result.
    Hope it helps, tell me if I got it wrong,
    Kind regards,
    Alex

  • Change of variable text in BEx selection screen

    Hi all,
    in our BW system the key users are allowed to create queries and also create variables. In some cases, especially for often used info objects like 0DATE the number of variables is increasing very quickly. The reason for this is, that 0DATE is used for a big variety of meanings e.g. delivery date, order date, invoice date etc.
    So the users always create new variables only to have a meaningful description in the BEx selection screen, because they do not want only "date" to be displayed here. As result we have many different varianbles with exactly the same technical settings with only different names.
    So my question is: Is it possible to change the diplayed text in the selection screen for each query without having to create a new variable?
    Thanek you and best regards

    Hi Stephan,
    Changing the diplayed text in the selection screen for each query is not possible.You have to create a new variable for each query.
    Rgds,
    Murali

  • 'Text' of a variable in Bex selection screen

    Hello,
    We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
    In Bex selection screen i am not getting text of default/entered months.
    for example: if default value is 2 to 4,then text would be FEB to APR.
    what could be the reason?how to get teaxts of entered values?
    (we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
    In web it is working fine.
    Rakesh

    Hi,
    Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it  helps.
    Regs,
    Vachan

  • BEX Selection screen in an endless loop when pressing the Check button

    Hello SDN
    Has anyone faced this issue before where the BEX selection screen seems to get its knickers in a twist and goes into an endless loopp when the Check button is clicked? It goes through fine if I directly hit execute.
    Anyone ? Any ideas ?

    Never seen it before but here is something to check..
    Does the query have a variable with processing type of customer exit. If yes, look at the user exit code in step 3  which is used for input value validation.
    Vineet

  • Display compounded InfoObject value in BEX selection screen

    Hi people,
    Problem in 7.0
    I have Costcenter compounded with Plant and I am using Costcenter for Selections in the BEx varaible screen.
    After running the report, in the selection screen value help, only the value of Costcenter is displayed, not the compounded value (So it becomes very difficult to identify from which plant  the costcenter is from)
    What should I do so that the User sees as Plant/Costcenter in the Value help?
    Problem in 3.5
    The above issue is not there in 3.5, but.......
    I select COSTCENTER X from PLANT A and execute the report. In the report output, I do not see the records only for COSTCENTER X from PLANT A, but for COSTCENTER X from all Plants
    why is this? Is it how this works or is it a bug?
    Please help. I appreciate your assistance very much.
    Thanks,
    Shameem

    Hey there,
    Please understand the behaviour of compounded keys from the below notes:
    1111632   Problem with text display in BEx Query Designer
    1080863   FAQ: Input helps in Netweaver BI
    541253    Restricting characteristics with compound characteristics
    575563    Selecting filter values for compound characteristics
    Hope this can help,
    Diego Seben

  • Issue with BEx selection screen

    Hi Gurus,
    We recently upgraded from BW 3.5 to 7.0. After the upgrade, while running the BEx queries the selection screen is not popping up and the query runs without the selections in it. Then the report errors out.... " Error Specify a value for variable XXXX".
    Apparently, the query runs fine with selection when executed on WEB.
    Did anyone of you come across with this issue..
    Thanks
    James.

    Hi Guys
    Run your query without the variable ,Try by removing the restrcition , if it is working fine without the variable then
    I would suggest to check your  variable once again like
          Check if 'Ready for input' check is checked for the respective variable,
           Remove the restriction ( drag out the variable )
          check your variable once again with all the setting and variable type
    OR create a new varilable, if it is a customer exit type then check ABAP code written for populating values.
    let me know if this helps,
    cheers
    sukhi

  • BEX :Selection screen missing when executing a query

    Hi all,
                When I am executing a query through BEX Analyzer,I am not getting the Selection Screen Popup.Instead ,the report is directly being generated.So,this is giving rise to various problems.But when the user is executing through portal,he is getting  the selection screen.
    I am not getting this Selection screen popup in all the DEv,Quality,PreProd and Production systems.And hence ,i am  not able to give the selections for a report
    Can anyone please provide a solution for this?
    Awaiting your response.
    Thanks,
    Amar

    Hi,
    Our GUI version is 710 and 640 is recommended by the client.Hence, no problem with that.The user is able to execute more than one query.
    Do u think it is a basis or security related issue.Or is it  due to Application of some GUI Patches.
    Thanks,
    Amar

  • Collect Bex selection screen in BAPI

    Hi all,
    I have created a Bex Query in BI7.4, and i want to load a virtual key figure. To do that i have created a Bapi based on my multiprovider. For the moment all is ok.
    In the selection screen of my query i have a calmonth selection (from -> to).
    And in my bapi the load of my virtual KF depends of the calmonth enter in the selection screen, but i do not know how to collect the entered calmonth.
    I have declared all attributes, updated the define and compute method but anywhere i found the calconth of the selection screen.
    Is it possible to collect that in a BAPI?
    Thanks a lot,
    BR,
    Karol

    Hi,
    Thanks Srilakshmi for your answer.
    But it is not as easier as you said.
    In my report I need to display in the first column the material number and in a second column the max stock quantity depending the period enter in the selection screen.
    So in my BAPI, I need to loop in my DSO (where are store the daily stock quantity) to find the max quantity for the period (from -> to) enter by the user.
    Example, if the user enter 01.2013 -> 03.2013, I must display the max stock quantity between the 01.01.13 to the 31.03.13 and if , the user enter 01.2013 -> 12.2013, I must display the max stock quantity between the 01.01.13 to the 31.12.13.
    I think that it is not possible with a RKF. What do you think about that, is it possible?
    So a would like to collect the calmonth enter by that user in my “where” clause of my loop in the bapi.
    Thanks a lot for your help.
    BR,
    Karol

  • BEX Selection Screen Authorisations

    Hi all,
    I have developed a new authorisation role for a demand planner in APO. Part of its function is to allow the user to run a BEX report on a remote cube. This is working, apart from the selection screen when running the BEX query does not appear. This is NOT due to personalisation of variables.
    When I grant the same user the SAP_ALL profile, the selection screen appears when repeating this test. I have ran traces and gone through the SAP_ALL profile and ensured that every BW object I could see existed in my new role.
    Sadly I have not reached an answer as to what is missing in my role. Any ideas?
    I appreciate any help you can give on this matter.
    Kind regards,
    Nick

    Hi Ravi,
    There is one characteristic in the query that I've made authorisation relevant, 'Sales Org'. I have added the associated authorisation object to the role and as a test I've also given full access to this object in PFCG. This is why I would still expect it to prompt me with a selection screen.
    Sadly this is not the case. Do you have any other ideas? I do believe it is to do with at least 1 other SAP standard authorisation object, I just can't find which one it is.
    Thanks, Nick

  • Bex Selection screen dont show up

    Dear Guru's
    We have recently upgraded from 3.1 to 7.0 and now we are facing a problem.
    In our Test (Quality) System, i have created a Query and when i run this Query in BEx analyzer i can see the Selection screen.
    Now i created a  new user which is a copy of my USERID (with SAP_ALL role in it), After logging into BEX with this new userid, if i run the same Query i cannot  see the Selection screen.
    I don't understand this problem, none of the variable's are personalized,
    I hope you understand the issue..
    Thanks in advance,
    Dev
    Edited by: Srinivas dev on Jul 29, 2010 2:10 PM

    hi guys..
    Here is the Trace from BEX
    Trace Started as: 8/3/2010 12:15:06 PM*
    ListSeparator: ,
    ExcelVersion: 12.0
    AddinVersion: 7100.4.901.1507
    BExSetConnectionFromHandle-01
    BExSetConnectionFromHandle-02:True
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExCheckFrontend.CheckFrontend: No Check performed (20100802) 0.010001
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExExcelApplication.OpenWorkBook
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExCheckFrontend.CheckFrontend: No Check performed (20100803) 0
    BExCheckFrontend.CheckFrontend: No Check performed (20100802) 0
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExCheckFrontend.CheckFrontend: No Check performed (20100802) 0
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExCheckFrontend.CheckFrontend: No Check performed (20100803) 0
    Conflicting workbook ids: iWBid: , Property: 7B2UOAYFBA2MLMWMBSDZJDSF0
    unhooking before varscreen
    it was hooked
    BExExcelApplication.OnDispose01: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExCheckFrontend.CheckFrontend: No Check performed (20100803) 0
    Conflicting workbook ids: iWBid: , Property: 7B2UOAYFBA2MLMWMBSDZJDSF0
    unhooking before varscreen
    it was hooked
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExCheckFrontend.CheckFrontend: No Check performed (20100802) 0.009999
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    BExExcelApplication.OnDispose01: Exception from HRESULT: 0x800A01A8
    HOPING SOME SUGGESTIONS..
    Thanks in adv,
    deV

  • Bex selection screen does not appear when running workbook via RRMX.

    Hi Experts,
    I have following problem: When I run a BEx workbook from a user menu (trans. RRMX), I get no selection screen, but just the workbook with text: "no data found". When I press the refresh button (variable change button), the selection screen appears and after that the data are visible in the workbook. When I run the underlying query the selection screen appears normally. With some other workbooks with selections I do not have such a problem.
    Anybody can give me a hint how to get the selection screen diplayed? We are on BI 7.1, Bex SP 10, patch 1.
    Thank you,
    Michal

    Dear Michal,
    Your Question:
    Anybody can give me a hint how to get the selection screen diplayed? We are on BI 7.1, Bex SP 10, patch 1.
    Answer:
    Open the workbook and goto workbook setting from the analyzer design toolbar.
    Check the Refresh workbook on check box.
    So every time the selection screen will be appear after exectuion of the workbook.
    Thanks & Regards,
    Praveen.K

  • Hierarchy in Query Selection Screen

    The Hierachy is not Time Dependent and used varibale for selection screen.
    When F4 is clicked for Hierarchy field, the following error is occoured
    <b>Hierarchy <Hierarchy Name> # <Current Date> is not available for InfoObject <Info Object Name></b>.
    This work fine in development but in quality this error occurs.
    Please help to solve this.

    Hi,
    could it be that the hierarchy has another technical name in Q-system and the query is set up to use the variable on another technical name from DEV?
    Kind regards
    /martin

  • Customer exits for varibles in BeX selection screen

    Dear All,
    I have two fields in BeX variable screen - 'Emp_id' and 'Dep_id'.
    The entry for 'Emp_id' is mandatory. But at the same time, if someone does not enter values for it, it should ask for 'Dep_id' atleast. If both are blank, then no execution.
    In short, if both fields are blank then don't run the report. If one of them has a value, then run the report.
    I know that for this case of mine, customer exit is the only way.
    Can anybody please write me the exact syntax of the exit as I am least aware of writing the exits. Thanking you all.
    Points will be assigned.
    Thanks,
    Srinivas

    Hi,
    Code should as below.
    IF I_STEP = 3 .
        LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'VAR1' OR
    VNAM = 'VAR2' .
    ENDLOOP.
          IF SY-SUBRC NE 0 .
            CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
             EXPORTING
               I_CLASS                    = 'RSBBS'
               I_TYPE                     = 'E'
               I_NUMBER                   = '000'
               I_MSGV1                    = 'Enter Either one of the variable'
             EXCEPTIONS
               DUMMY                      = 1
               OTHERS                     = 2.
               RAISE NO_PROCESSING.
          ENDIF.
    ENDIF.

Maybe you are looking for