Selecting Hierarchy at runtime

Hi,
I have 2 hierarchies (HIER1, HIER2) created on InfoObject (IO1). In the query we had used this InfoObject in the free characteristics.
Our requirement is when the user drill down on this InfoObject, User should able to see the data without the hierarchy. But, when he right click on the InfoObject & activate the hierarchy, he should have the option of selecting the hierarchies (HIER1 or HIER2).
Can anyone please help me in resolving this.
Regards
Ramesh Ganji

<FONT FACE = "Tahoma", Font Color = "Blue">
Hi<br>
I think it should be simple to achieve this.<br><br>
1, In the Query Designer, Open your Query. Right click on your IO1 and select Restrict <br>
2. Restrict it to both the Hierarchies HIER1 and HIER2 and select OK<br>
3. Right click on your IO1 and select Properties <br>
4. In the section <b>Display Hierarchy</b>, <u>do not</u> tick the checkbox Active. This will ensure that the Hierarchy is not Active by default when somebody executes the report<br>
5. But your other requirement of activating the hierarchy and selecting it on execution should be fulfilled<br>
<br><br>
Hope it helps.<br>
Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
Please assign Reward Points if I deserve it in your opinion
</FONT>

Similar Messages

  • How to formulate where clause in select query at runtime..??

    I am facing a problem..
    I have to generate a select query during runtime..For Ex: when user selects a row in an alv report, particular date field is to be read and another report is to be opened for that data..
    I know how to make drill down report but my problem is concatenating  date field...
    Plz tell a solution....

    Hi,
    Try like this....
    refresh : gt_tvarvc_temp[].                                       
      gt_tvarvc_temp[] = lt_tvarvc[].                                   
          loop at gt_tvarvc_temp into gs_tvarvc_temp
                                  where name = 'CREDIT_MEMO_DOC_TYPE'.  
            r_blart-sign = gs_tvarvc_temp-sign.                         
            r_blart-option = gs_tvarvc_temp-opti.                      
            r_blart-low = gs_tvarvc_temp-low.                           
            append r_blart.                                            
            clear r_blart.                                             
          endloop.                                                     
          concatenate 'BLART IN ' 'r_blart' into lv_condition
          separated by space.
    if not lv_customer_cond is initial.
          if lv_condition is initial.
            concatenate lv_customer_cond lv_condition
                into lv_condition separated by space.
          else.
            concatenate lv_condition 'AND' lv_customer_cond
                into lv_condition separated by space.
          endif.
        endif.
    select bukrs belnr gjahr appending corresponding fields        
                                        of table lt_potential_credits
                                        from bsid
                                        where (lv_condition).
    Hope its helps

  • How to calculate selected hierarchy only

    Hello,
    I have simple planning application (Hyperion 11.1.2) with all mandatory dimensions.
    *"Entity" dimension looks like this:*
    COMPANY_1
    COSTCENTRE_1_1
    PRODUCTIONLINE_1_1_1
    PRODUCTIONLINE_1_1_2
    PRODUCTIONLINE_1_1_3
    COSTCENTRE_1_2
    PRODUCTIONLINE_1_2_1
    PRODUCTIONLINE_1_2_2
    COSTCENTRE_1_3
    PRODUCTIONLINE_1_3_1
    PRODUCTIONLINE_1_3_2
    COMPANY_2
    COSTCENTRE_2_1
    PRODUCTIONLINE_2_1_1
    PRODUCTIONLINE_2_1_2
    PRODUCTIONLINE_2_1_3
    COSTCENTRE_2_2
    PRODUCTIONLINE_2_2_1
    PRODUCTIONLINE_2_2_2
    COSTCENTRE_2_3
    PRODUCTIONLINE_2_3_1
    PRODUCTIONLINE_2_3_2
    Users from COMPANY_1 and COMPANY_2 import data into essabase (Level0 members) using EAS. Separately for each company and in different time.
    My problem is:_
    Now, I am trying to prepare calculation script which should calculate all "Measures" and aggregate Entites data for only one selected hierarchy (COMPANY_1 or COMPANY_2).
    Something like this (but this is not supported in essbase (11.1.2)):
    FIX ("January", "Local", "HSP_InputValue","FY11", "SAct", "VCurrentApproved", *@IRDESCENDANTS("COMPANY_1")*)
    CALC DIM ("Measure", *"Entity"*);
    ENDFIX
    Thank you for any inspiration.
    Vladislav

    Hi,
    Modify your business rule as below and have your users run the calculation from Planning. Assuming they've got access to their entities only, they will be able to select their entities only and this should only aggregate the selected entity:
    FIX ("January", "Local", "HSP_InputValue","FY11", "SAct", "VCurrentApproved", @RELATIVE({COMPANY},0))
    CALC DIM ("Measure");
    ENDFIX
    FIX ("January", "Local", "HSP_InputValue","FY11", "SAct", "VCurrentApproved")
    @IDESCENDANTS({COMPANY});
    ENDFIX
    Cheers,
    Alp

  • How to dynamic select based on runtime value ?

    how to dynamic select based on runtime value ?
    I want to write a select function, which do selecting based on parameters. eg,
    CREATE OR REPLACE FUNCTION myfunction
    (tableName VARCHAR2, pkName VARCHAR2, pkValue VARCHAR2, requestString VARCHAR2)
    RETURN VARCHAR2 AS
    BEGIN
    select requestString from tableName where pkName=pkValue;
    RETURN NULL;
    END;
    myfunction('users', 'user_id', '100', 'user_name'); it will select 'user_name' from table 'users' where 'user_id' = '100'.
    This way could save lots of coding. but it can't pass compiler. how to work out ?
    Thanks.

    While this may save code, if used frequently it will be ineffecient as all [explicative deleted]. The danger is that it would be used even for repeatable statements.
    This mode of operation ensures that every statement [calling the funciton] needs to be reparsed, which is extremely expensive in Oracle (in CPU cycles, recursive SQL and shared pool memory).
    Such reparsing is rarely a good thing for the environment ... it could easily lead to buying more CPU (bigger box) and therefore adding more Oracle license ... which could quickly exceed the typical developer's salary.
    However - if you really, really want to do this, look up 'execute immendiate' in the PL/SQL manuals.

  • How to Override Trigger Hierarchy at runtime

    I want to override the trigger executio Hierarchy at runtime.
    I have a When-Validate-Item at Item level, Block level and Form level based, on certain condition i want to dynamically change the hierarchy from item level to Block level or Form level so that the Block level or form level trigger executes instead of Item level trigger.

    You cannot change how Forms works internally, but you can code whatever you want in your trigger.
    if <somethening> then
      -- in this case you don't want the validations to fire
       null;
    else
      <do your validations>
    end if;

  • Run Time Error when trying to select hierarchy node

    Hy all,
    the situation is the following:
    i attempt to create a variable of type "hierarchy node" (for cost center cha) in my planning area, i used the replacement type "user defined value", check on "input allowed by user" and then i create the user entry, in selection condition i run match code and when i try to select a single cost center (not a hierarchy node) expanding the hierarchy tree the system goes dump with the following message:
    Runtime Errors         MESSAGE_TYPE_X
    Error analysis
    Short text of error message:
    Program is inconsistent -> see long text
    Technical information about the message:
    Diagnosis:
    An inconsistent program status has occurred. The program cannot be continued.
    System response:
    The system crashes.
    Procedure
             1.  Look in OSS for a note under the error message UPC099.
             2.  When you open a problem message, send the first pages of the
                 system crash message including the section 'Source code excerpt
                 ' with the message.
         Procedure for System Administration
        Message classe...... "UPC"
        Number.............. 099
    Selecting a hierarchy node (not a single cost center but a text node grouping more cost conter) this problem does not occur.
    I appreciate (and reward) any hints.
    Thanks in advance
    Fabio

    Hi,
    Go through the oss notes with error message UPC099
    Dump during hierarchy selection:<b>536694</b>
    Dump when reading a hierarchy with intervals :<b>423953</b>
    Regards-
    Siddhu
    Message was edited by: sidhartha

  • URGENT: To change the where condition in select query at runtime ?

    Hi,
    I have to develop a report, 4 which I have created a selection screen with 7 Input Parameters whose value is to be filled by the user while executing the report.
    On the basis of this I do the desired selection of output.
    But the problem is that how do I write my select Query(where condition) if the user enetrs only 2 Input parameters or 3 or whatever he feels like.
    Pls help me out...

    hi,
    check this sample code.
    Here i am populating where condition at runtime.
    DATA: V_WHERE TYPE STRING.
    SELECTION-SCREEN BEGIN OF BLOCK INPUT WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_VBELN FOR VBAK-VBELN,
                     S_ERDAT FOR VBAK-ERDAT.
    SELECTION-SCREEN END OF BLOCK INPUT.
    START-OF-SELECTION.
      PERFORM POPULATE_WHERE.
      PERFORM GET_VBAK_DATA.
    *&      Form  POPULATE_WHERE
    *       Populate Where
    FORM POPULATE_WHERE .
      IF NOT S_ERDAT[] IS INITIAL.
        CONCATENATE 'VBELN IN S_VBELN'
                    'AND'
                    'ERDAT IN S_ERDAT'
              INTO V_WHERE
              SEPARATED BY SPACE.
      ELSE.
        V_WHERE = 'VBELN IN S_VBELN'.
      ENDIF.
    ENDFORM.                    " POPULATE_WHERE
    *&      Form  GET_VBAK_DATA
    *       GET VBAK DATA
    FORM GET_VBAK_DATA .
      SELECT VBELN
             ERDAT
             VBTYP
             NETWR
             WAERK
             VKORG
             VTWEG
             SPART
        INTO CORRESPONDING FIELDS OF TABLE IT_VBAK
        FROM VBAK
        WHERE VBELN IN S_VBELN
        AND   ERDAT IN S_ERDAT.
       WHERE (V_WHERE).
    endform.
    Regards
    Sailaja.

  • BPC Excel: Select hierarchy nodes & exclude an account within

    Hello All
    u2013 in EVDRE, is there a way to define a column selection for a account hierarchy node, however exclude one of the accounts within this group? THis is simmilar to BEX query, where you can select a hierarchy node and then also select to exclude a member within.
    EG From the account hierarchy below, select the hierarchy node u2013 u2018group1u2019 , however exclude account 2.
    Account Hierarchy     
         Hierarchy - group1
              Account1
              Account2
              Account3
              Account4
    I have a couple of different column definitions, so this definition would need to be defined inside the column header area & not in the column member set.
    Thanks
    Glen

    Hello Nilanjan
    Firstly, thanks for your reply, much appreciated. One of the requirements is to have multiple column definitions in my report. To achieve this, i was planning to define the definitions inside the columns and adjust the colkeyrange to include all column definitions. This would mean that i would not use the column expansion and hence not have access to the suppress function.
    Is there a way of including the suppress function in a column definition?
    EG Include hierarchy node 'Parent - Group1" and exclude 'Account2'
    Account Hierarchy          
         Parent - Group1     
              Account1
              Account2
              Account3
              Account4
    Thanks, Glen

  • Selective hierarchy load

    Hello all,
    My customer wants to restrict the F4 help on the ORG UNIT hierarchy to a certain node and the nodes below. As far as I know, the only way to do that is to use another hierarchy.
    Is ist possible to restrict the nodes to be loaded from R?3?
    Thanks in advance, Natali

    Natali,
    I believe the BW hierarchy infopackages are developed to display only the "top nodes" of hierarchies. 
    Using the example below, only the TOP NODE will appear as a selection within the hierarchy infopackge.  User will not be able to select "Level 2" or "Level 3".  However, node data for levels 2 & 3 will be included as part of the extraction.
    TOP NODE
      Level 2
        Level 3
    If you have a need to extract only node data for lower nodes, you may consider remodeling the hierarchy in R/3 where Level 2 of the current hierarchy becomes the top node of a new hierarchy. 
    TOP NODE (previously level 2)
      Level 2 (previously level 3)

  • How to select  BAPI at runtime ?

    Hi
    I have a drop down list box with three options.After selecting a option a particulaer BAPI has to be called which will display some information on the screen.
    So how do a select the BAPI at runtime or I have to link previously all the 3 BAPI's at design time and create 3 views and depending on the option selected a particular view will be displayed.
    Please suggest
    Regards
    Ananda.

    Hi Ananda,
    Create three tables and bind them to the corresponding output nodes of the BAPI. In the 'onSelect' event handler of the dropdown, write your own logic for executing one of the three BAPIs depending on the input. At the same time, make only the required table as visible (using attributes of type WDVisibility bound to the 'visible' property of the tables).
    Regards,
    Shyam.

  • No applicable data : when selecting hierarchy node on 0GLACCEXT

    Hi,
    I using the ZCUBE (Copy of virtual cube 0FIGL_V10).
    I have data for the 0GLACCEXT hierarchy (standard hierarchy tech name: INT, and also for custom hierarchies)
    From the moment we use a selection in the rows on a node within the hierarchy of the financial statement item : 0GLACCEXT,  the result is No applicable data.
    We are using the standard calculated key figure Balance sheet Value.
    If i use the hierarchy (for INT) as a whole, we get data. If i restrict with hierarchy nodes for INT, then 'No Applicable Data'.
    for the other custom hierarchies, i'm getting same result, i.e. 'No Applicable Data'.
    Can somebody help with this issue.
    Thanks,
    V

    Hi
    Find out whethere data exists actually for the nade by executing the data for all the hierarchy nodes and find out whether data is coming when you execute for some other nodes
    Regards
    N Ganesh

  • Selection dynamic Mapping Runtime Constant with a qualifier

    Hello all,
    i want to access a Mapping Runtime Constant out of a message mapping specified with a qualifier.
    In the Integration Directory i specified in the identifier tab the following Value Pairs:
    Agency               Scheme          Name
    http://Sap.com/xi/XI    XIParty         ABC
    R3D_310                 Partner         111
    R3T_310                 Partner         222
    R3P_310                 Partner         333
    In the message mapping i want to have the Name for the agency "R3T_310".
    I know i can access the Name with:
    constant = (String) map.get(StreamTransformationConstants.SENDER_PARTY);
    But i getting everytime the name "ABC", which i don't want.
    At this point i need your help, to find out how i can dynamically get the correct one??
    many thanks for your help
    ilka

    Ilka,
    You can also access other Mapping Runtime constants. For example, SENDER_PARTY_AGENCY.
    If needed, you can also access SENDER_PARTY_SCHEME and SENDER_SERVICE.
    The SAP Help link for all the Mapping Runtime constants accessible with StreamTransformationConstants is:
    http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/frameset.htm
    Hope this helps,
    Bhanu

  • How to determine selected Tab in runtime

    Hi,
    Is there a workaround to figure out which tab we are currently on in a tab set? This would help dynamically enable/disable some components.
    Thanks
    Manohar

    There is currently no way to let the model know which tab is currently selected.  This would be a nice feature to have in a future release.
    Regards,
    Gerrit

  • [OSB] Oracle Service Bus: select database DBadapter runtime

    Suppose you have 2 databases DB1 and DB2 and both have the SCOTT scheme with the EMP table. The default way to gain access to the databases in the Oracle Service Bus (OSB) is by defining 2 database adapters and defining a business service on each adapter:
    - BS1 DBadapter1 DB1.SCOTT.EMP
    - BS2 DBadapter2 DB2.SCOTT.EMP
    With this setup you can define a proxy service and let the message flow decide which adapter to call.
    Now change this configuration a little and suppose you have 25 databases, you can define 25 database adapters and 25 business services, but that involves a lot of repeating work of defining adapters and business services. A more elegant configuration is one business service with one database adapter, and the database connection is set runtime in stead of design time.
    PS BS DBadapter DB1.SCOTT.EMP ... DB25.SCOTT.EMP
    The challenge is: how do you configure the database adapter runtime (called by an OSB business service).
    With kind regards,
    Jornica

    Oracle Service Bus 10gR3 contains the JCA framework which will eventually allow us to exploit the whole set of JCA adapters currently in use in BPEL Process Manager. Over the next few months several JCA adapters will be certified to be used with Oracle Service Bus - the Database adapter is one of the first of these.
    As for SOA Suite and WebLogic bundling, let me explain. SOA Suite contains the following products:
    BPEL Process Manager
    Business Activity Monitoring
    Business Rules
    Web Services Manager
    Complex Event Processing
    B2B
    ESB (the old Oracle ESB product)
    Service Bus (formerly AquaLogic Service Bus from BEA)
    This does not come with an application server as the suite is hot-pluggable (i.e. can be used with a number of application servers). However, the preferred (and cheaper) approach is to purchase SOA Suite and WebLogic Suite (which contains iAS, WebLogic Enterprise Edition, Coherence, JRockit with 100ms deterministic garbage collection and WebLogic Operations Control). This is because some of the elements of the SOA Suite only currently run on iAS (B2B) and some only run on WebLogic Server (Oracle Service Bus) although in the future these will also become hot pluggable.
    To find out more, check out the SOA Suite and WebLogic Suite pages below:
    [SOA Suite|http://www.oracle.com/technologies/soa/soa-suite.html]
    [WebLogic Suite|http://www.oracle.com/appserver/weblogic/weblogic-suite.html]
    You will find the DataSheets are particularly useful for giving you an overview of the suite.
    Hope that helps.
    Chris

  • Dynamically Selecting Hierarchy Nodes for each year

    Hi All,
    I have a strange query requirement. I am having a hierarchy which is divided based on region, quarter  and marketing campaign.
    Like below:
    APAC
             2010 Q1
                   Brand Marketing                      M09/2010-000074 (Node Technical Name)
                   Brand Advertising                   M09/2010-000075 
                   Events                                     M09/2010-000082
    EMEA
             2010 Q1
                   Brand Marketing                     M09/2010-000084
                   Brand Advertising                  M09/2010-000085
                   Events                                    M09/2010-000086 
    NA
        2010 Q1
                   Brand Marketing                     M09/2010-000098
                   Brand Advertising                  M09/2010-000099
                   Events                                    M09/2010-000106
    In my report output, I need to display the data in the below format. The Brand Marketing is cumilative of all regions (APAC, EMEA, NA).
                                                   Approved Amt
    Brand Marketing                    $2000
    Brand Advertising                 $1300
    Events                                   $8430   
    But my issue is next quarter the node technical names will change. So next quarter, my query should pick the nodes of current quarter based on node description.
    Right now what we are doing is hard coding in query the node technical names and modifying the query definition every quarter. After that download the query in Excel and apply excel formulae to cumulate the Brand Marketing, Brand Advertising, Events of all the regions. Then we will mail those files to Users.
    But we want to avoid that manual activity.
    Is there any way that we can enable query pick the marketing campaigns of current quarter and cumulate then for all regions
    Please let me know whether there is any alternative.
    Thanks

    Hi John,
    We are having a level based hierarchy, so the member key settings are disabled. Will they be helpful in case of level based hierarchy?
    Thanks,
    Sreekanth
    Edited by: JUPS on Sep 13, 2011 11:00 PM

Maybe you are looking for

  • Is there a way to reverse the Function (Fn) Keys on the ThinkPad T440p

    Hi, Do you have a solution for the T440p please. Im really confused how this could be allowed to happen!!! Function keys have been around for as long as i can remember and make up the basic setup of a pc/laptop. Why on earth would someone think its a

  • Replaced my broken ipod, but it wont work with my itunes?

    My old ipod wasn't working so I got apple to replaced it. But when I tried to put my library from my itunes on my new ipod it tells me that I have to install the software first. So my ipod is not being read by my itunes. How can I fix this? (Oh I for

  • Best practice for extracting data to feed external DW

    We are having a healthy debate with our EDW team about extracting data from SAP.  They want to go directly against ECC tables using Informatica and my SAP team is saying this is not a best practice and could potentially be a performance drain.  We ar

  • Variable Defaults in Light Weight Designer

    I have two Text variables(say NAME and COMPANY) in my project. Both of them are defaulted and are being used in my package. I created a scenario for the package by giving "Selectve Use" and selecting only the NAME variable as parameter to the scenari

  • Combo Box Selected Data

    I have a combo box called class_cb, I am trying to use the combo box in a maths formula. I am trying to set that if the active selected combo box data = 1 then a text area = given number, if data = 2 then .... I can get flash to recognise the change