Time Dependent Hierarchies in Bex Queries.

We are using Time depenedent Hierarchy structures.
year and period will be entered by the user in the query
Is there any simple solution where in based on the User entered year and period, corresponding hierarchy should be used in the query execution.

Hi Shashi,
One of the ways:
Create a variable type customer exit - in properties of the IO - in the 'select hierarchy' window there is a 'Variables' checkbox for key date.
Calculate the last date of the entered period/year in the exit.
Best regards,
Eugene

Similar Messages

  • Time Dependent Hierarchies in Bex

    Hello All,
    I have a time dependent hierarchy with the same leaf in two different nodes i.e,
    Mr. Jones was a part of cost center A from 1/1/2001 to 12/31/2003 and he is a part of cost center B from 1/1/2004 to 12/31/2006.
    When I want to run the report for time period 1/1/2001 to 12/31/2006, will the report show Mr. Jones as part of cost center A from 1/1/2001 to 12/31/2003 and as a part of cost center B from 1/1/2004 to 12/31/2006.
    Or do I have to model this as a time dependent navigational attribute. If I do this, can I still display it as a hierarchy.
    Please pour in your inputs.
    Thanks.
    In the infoObject i chose time-dependent hierarchy structure. I've built a new hierarchy, with the same leave in two different nodes. Each leave got different time interval but when i run a report on a period which include the time interval of the two leaves i get only one node...
    Please advice.

    Hello All,
    I have a time dependent hierarchy with the same leaf in two different nodes i.e,
    Mr. Jones was a part of cost center A from 1/1/2001 to 12/31/2003 and he is a part of cost center B from 1/1/2004 to 12/31/2006.
    When I want to run the report for time period 1/1/2001 to 12/31/2006, will the report show Mr. Jones as part of cost center A from 1/1/2001 to 12/31/2003 and as a part of cost center B from 1/1/2004 to 12/31/2006.
    Or do I have to model this as a time dependent navigational attribute. If I do this, can I still display it as a hierarchy.
    Please pour in your inputs.
    Thanks.

  • Time-Depended hierarchy and BEx-Queries

    Hi Gurus, Masters,
    I have ONE time-depended hierarchy for 4 periods (times):
    1, 2, 3, 4
    I have 4 columns in Query with 4 periods:
    1 col for 1 period,
    2 col for 2 period,
    3 col for 3 period,
    4 col for 4 period.
    I have 1 row with this hierarchy.
    How can i share this hierarchy in my columns by validity:
    for 1 col -> this hierarchy for 1 period,
    for 2 col -> this hierarchy for 2 period,
    for 3 col -> this hierarchy for 3 period,
    for 4 col -> this hierarchy for 4 period?
    Any answer will be very appreciated.
    Thank you.
    Is this possible?
    P.S.
    I have 2 solutions found.
    Message was edited by: AndyML

    Hi Shashi,
    One of the ways:
    Create a variable type customer exit - in properties of the IO - in the 'select hierarchy' window there is a 'Variables' checkbox for key date.
    Calculate the last date of the entered period/year in the exit.
    Best regards,
    Eugene

  • Regarding performance issue in time dependent hierarchie.

    hai
    we are loading time dependent hierarchies from flatfile to bw,it is weekely load,we have nearly one million records loaded,we got an issues regarding change of these hierarchies timely.when ever there occurs a change in hierarchy a new row is added to the table,it is degrading the performance,can any one of you please suggest  how to over come performance related issues regarding time dependent hierarchies.
    Regards
    Srinivas.G

    hello deven,
    if you are only focusing on your application's performance
    on the aspect of usability i.e. less waiting time, fast
    response UI, i would personally suggest you to use AJAX.
    put some processing part on the browser side and making
    data retrieval from MI asynchronous... this way, your user
    don't have to wait for all data to be presented, but rather
    could work on the data presented in pieces (i.e. asynchronously).
    anyway try googling for AJAX...
    regards
    jo

  • How to create hierarchies in Bex queries?

    Hi All,
    I am new to query designer tool,
    can you please help me how to create hierarchies in Bex queries using query designer tool?
    Thanks in advance...

    Hi,
    directly you can't create hierarchy at bex level.
    First you have to maintain hierarchy data source at source or bw side, based on your needs.
    Later you can load data to hierarchy, after that at bex level you can activate hierarchy options to related info object properties.
    To maintain hierarchy we need to enable hierarchy options at related info object(RSD1, hierarchy tab, select with hierarchies) maintenance level.
    For example: info object - 0GL_ACCOUNT and you need hierarchy structure on gl account.
    For that we need to have hierarchy data source and will load data from ecc.
    Later we can develop reports on gl account in hierarchy fashion.
    On what object infoo bject you want create hierarchy report and have loaded hierarchy data?
    Thanks

  • Is BPCNW 7.5 supports Time dependent Hierarchies ?

    Hi,
    We are maintaing 4 hierarchies for Profit center dimension. Depends on business structure nodes(profitcenters) will move from one parent to another.
    For e.g:
    In 2009 my PC hierarchy looked like
    RBU1
    -- PC1
    -- PC2
    RBU2
    -- PC3
    -- PC4
    And in 2010, PC2 moved under RBU2, and the hierarchy looked like
    RBU1
    -- PC1
    RBU2
    -- PC2
    -- PC3
    -- PC4
    So, now the requirement is if they want to look at 2009 numbers they would want to see the hierarchy roll up of 2009 and if they look at 2010 numbers, they would like to look at the new hierarchy.
    Is this requirement possible in BPC NW7.5 with out maintaining new hier for 2010.
    thanks in advance...
    regards,
    Raju

    Hi,
    As such time dependent hierarchies are not supported by SAP BPC 7.5.
    This will be deffinately covered in SAP BPC 8.0 release. BPC 8.0 is the major release of SAP BPC NW version.
    Regads,
    Mahesh

  • Changing to time-dependent hierarchie of 0CUSTOMER

    Dear Experts,
    I like to change 0CUSTOMER to "entire hierarchie is time-dependent" <b>without losing any existing hierarchy or data</b>. Is that somehow possible? I tried changing the Radio Button, but could not activate the InfoObject;
    <i>"The Hierarchy Table /BI0/HCUSTOMER must be converted incompatibly with an activation of characteristic 0CUSTOMER (changes to the key in the table). Table /BI0/HCUSTOMER contains data. Parts of this data were lost in the conversion."</i>
    I already checked the whole forum and the SAP help, but could not find a suitable note.
    Can someone plase help?
    Thank you very much in advance
    Martina

    Hello Amit,
    Try reading the help documentation for such queries. e.g. Publishing Time-Dependent XML Documents - Knowledge Management - SAP Library
    Regards,
    Lorcan.

  • Time Dependant Hierarchy in BEx

    Hi All,
    I have created a query on top of 0PS_C04.
    In my master 0Project i have a hierarchy which is being displayed through BEx.
    Now with every new fiscal year, new projects are added to the hierarchy.
    When I run the query then all the projects of the hierarchy are displayed irrespective of the year they belong to.
    My problem is that I want to display only 2009 related projects when i execute the report for 2009 and so on for the years that follow.
    Can somebody please suggest a way out???
    Thanks.
    Regards,
    Rohit

    Hi,
    Are you using option : Time dependent hierarchy or Entire hierarchy is time dependent. If it's the latter, then you can just restrict your query with the hierarchy having end date 31.12.9999. Using key date option is also convenient.
    --Akashdeep

  • Displaying Time-Dependent Text in BEx

    I have a report which displays texts of the OrgUnit.  The infoobject OrgUnit has time-dependent text.
    I would like to display on the Bex report text information valid at the time in history.
    Example:
    OrgUnit  Begda         Endda          Text
    111        1/1/2003     6/30/2003      ABC
    111        7/1/2003    12/31/9999     XYZ
    When I run the report in history say before 6/30/2003, I would like to see 'ABC' text.
    Please advise.
    -Sonny

    Just go into 0ORGUNIT and choose the option: Texts are time-dependent.  You cannot have texts as a navigational attribute.
    However, if you wanted to make them navigational, you would need to create a new attribute and insert the uppercase text values into it.  Make this attribute navigational in both 0orgunit and your cube/ods.
    However, it is much easier to just make your texts time-dependent.
    Brian

  • Determine key date at runtime for time-dependant hierarchies

    Hello all,
    I have to develop a query based on time-dependant  and version-dependant hierarchy.
    I have selection variables for -
    Fiscal year
    posting period
    version
    and hierarchy .
    I want to achieve this -
    First I want to enter Fiscal Period and posting period and version as user input.
    Once this input is done I want to determine the key date based on fiscal year and posting period.
    Once the key date is determined i want the hierarchy variable dropdown to show only correct hierarchy in that time for selection.
    Is it possible? Please suggest the ways.
    Many thanks and best regards,
    Surekha

    I have written following code for determining key date based on fisc year and posting period.
    It may be useful for someone
    WHEN  'key date variable'.
        REFRESH e_t_range.
        CLEAR l_s_range.
        IF i_step = 2.
          READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'fisc year variable'.
          l_date(4) = loc_var_range-low.
          CLEAR loc_var_range.
          READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'posting period variable'.
          IF loc_var_range-low >= 12.
            l_date+4(4) = '1201'.
          ELSE.
            l_date+6(2) ='01'.
            l_date4(2) = loc_var_range-low1(2).
          ENDIF.
    *get the last day of the posting period month
         CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
            EXPORTING
              day_in            = l_date
            IMPORTING
              last_day_of_month = l_date
            EXCEPTIONS
              day_in_not_valid  = 1
              OTHERS            = 2.
          l_s_range-low = l_date.
          l_s_range-sign = 'I'.
          l_s_range-opt  = 'EQ'.
          APPEND l_s_range TO e_t_range.
        ENDIF.

  • Double leafs in non-time dependant hierarchies

    Hi I'd like to ask you if someone's dealt with double leafs in a non-time dependant hierarchy; this would be something like this:
    |_Char.A_|_Chr.B_|_Chr.C
    |_SERV_|_JEFE1_|_COMER1_|_100 EUR
    |_SERV_|_JEFE2_|_COMER1_|_ 50 EUR
    PROD
    JEFE1
    COMER1
    _400 EUR
    <b>SERV..................150 EUR</b>  
    ____ JEFE1____ COMER1  100 EUR
    ____ JEFE2____ COMER1   50 EUR
    PROD..................400 EUR
    |____ JEFE1____ COMER1  400 EUR
    As you can see the leaf COMER1 is repeated 3 times at the same moment; imagine a comercial that has a single boss and that boss belongs to diferent bussines lines; or another case, with a comercial that has 2 diferent bosses and each of these bosses belongs to a diferent bussines lines.
    I'v tryed by making a hierarchy with external characteristics with the Ch.1 and Ch.2 but I can't repeat the Ch.2 JEFE1 cause a error message is thrown. Anyway It seems that external characteristics does not act like a filter in anyway as I've read in some posts of this forum.
    ¿Is there anyway where I can make a hierarchy with this structure of duplicated nodes and leafs?

    Hi,
    Maybe you can use compounding on the InfoObject C, compounding it with InfoObject A and B.
    That way your salesman will be unique under each boss and business line.
    Hope it helps,
    David.

  • Time dependant hierarchical display

    Hello Everyone!
    I'm reporting from a Cube with Organizational Unit (0ORGUNIT). I want to to display it in hiearchical view (ORGEH). My question is this: Since this is a time-dependant hierarchy, what date does the system use to determine the correct node/time interval? The system date, or some other key date? If so, where is this key date defined?
    Best Regards,
    Luís Andrade.

    Dear Luis,
            In query designer, goto, query properties tab. Here, you will have the option to give query Key date. Here you can give a fixed date value or and SAP delivered date variable or a customer exit variable or a user entry variable.
    Hope this helps you.
    Best Regards,
    Nithin Reddy.

  • Time-dependent BW hierarchies in Analysis for OLAP

    Hi all,
    We are using time-dependent hierarchies in combination with a key date variable.
    Tools used: Query designer based on SAP BW 7.4 and BO 4.0.
    The following steps are executed:
    Report is executed and key date is prompted
    According to the key date, the correct time-dependent organisation hierarchy will be used in drill-down
    Bring up variable screen again and select different key date
    The drill-down changes according to the now correct time-dependent organisation hierarchy
    The above scenario works for BEx Analyzer, BEx Web, Analysis for Office - but not for Analysis for OLAP.
    Whenever I run through this scenario and confirm the updated key date, the following error is displayed:
    cube.get.dimension.info.runtime.error : java.lang.IllegalStateException: There is no default hierarchy for dimension [ORG].
    In the user guide I don't find any specifics about the hierarchies and since it works in all the other applications, I wonder where the error is coming from. I also could not find it anywhere else in the forum.
    Has anyone experienced the same error or any suggestions?

    Hi Peter,
    This issue is captured in SAP Note 1941865. Resolved in 4.0 (8.5, 9.2 or SP10) and 4.1 (1.6 or SP03).
    Symptom
    In BI 4.1, Analysis for OLAP returns errors similar to:"An error occurred in the MDAS service while processing a request from Analysis, edition for OLAP. Try the operation again. If the problem persists, please contact your administrator. (AOC00041)" and/or "cube.get.dimension.info.runtime.error: java.lang.IllegalStateException: There is no default hierarchy for dimension [DIMENSIONNAME]"
    The BW Query the AOLAP workspace is created against has 2 different hierarchies that have the same text description
    Environment
    SAP BusinessObjects Business Intelligence platform 4.0
    SAP BusinessObjects Business Intelligence platform 4.1
    Analysis, edition for OLAP
    Reproducing the Issue
    In CMC, create an OLAP BICS connection to a multi provider
    Connect to BI launchpad and launch Analysis, edition for OLAP.
    Use the connection to create a new workspace.
    The error is observed
    Cause
    This issue has been logged as a defect under ADAPT01720287 for BI4.0 and ADAPT01713663 for BI4.1
    Resolution
    A fix for this issue is included in the following maintenance releases:
    BI4.0:
    Patch 8.5
    Patch 9.2
    Support Pack 10
    BI4.1:
    Patch 1.6
    Support Pack 03

  • Hierarchies for  time  dependent

    hi,
       i want the use of  time dependent hierarchies.. and what is the difference between  TIME DEPENDENT  HIERRACHIE STRUCTURE... AND.... ENTIRE HIERARCHIES  IS TIME  DEPENDENT
               I  done with    HIERARCHIES  NOT TIME DEPENDENT.. So, plz explain the  use  for that.. and  if possible give me  any scenarios...
    with regards
    prakash

    Hi
    See this
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6702e07211d2acb80000e829fbfe/frameset.htm
    Two clear examples are given
    Bye
    N Ganesh

  • SAP BPC - Legal entity/Profit Center hierarchies - Time dependency

    Hello,
    Usually Organizational structure (legal entity/ Profit center) hierarchies are time dependent in EC-CS and BCS.
    Are these hierarchies time dependent in BPC?
    If yes, How these settings should be made in BPC?
    Kind regards,
    RJ

    BPC NW does NOT support time dependent hierarchies. However in 7.5NW, you can use dynamic hierarchy editor that will enable you to do time dependent BPC reports.
    http://aiokeh.wdf.sap.corp:50000/SAPIKS2/contentShow.sap?_SCLASS=XDP_STRUCT&_SLOIO=66348113C47B4AE7B2F068B88047D02B&TMP_IWB_TASK=PREVIEW2&RELEASE=610&LANGUAGE=EN&_SEQNUM=307&_LOIO=6983A56B1CE34F89A016C8E795C773BF&_CLASS=BCO_COMMON
    Regards
    Pravin

Maybe you are looking for

  • Data usage analysis page. Doesn't match current usage page?

    O.K. Here's what I'm going through. Verizon tells me I'm way over my 5.0 limit. Right now I am close to 9GB. So to check I click on usage, This is what I get. Data Allowance Exceeded. Additional data usage will be billed at $10 per 1.000 GB. Current

  • Macbook Pro 13'' Early 2011 Power Button not responding properly after spilled drink.

    Hi Everyone I've spilled beer on my old macbook last december. I've reassembled pretty much the whole mac, cleaned the motherboard with Servisol (isopropyl alcohol) and applied new thermal compound. The mac is working (if turned on from the motherboa

  • Purchased games will not work with iPod Classic 160GB

    I purchased the original seven games (Bejeweled, Cubis 2, Mahjong, PAC-MAN, Tetris, Vortex, Zuma) offered by Apple when they were released for the 5th generation video iPod. That iPod has since died and been replaced by a iPod 160GB Classic. Like all

  • RON Containers: Folders vs App. Systems

    RON Best Practices In our environment we are not using Designer as a development environment, rather we are using Designer to hold server data models of current applications (OTS packages) and various data flow diagrams. There are only two of us that

  • BEFW11S4 as a range extender?

    Hi, I have recently purchased a Linksys WAG200 wireless modem/accesspoint. This is working out fine, but not all places in the house have good enough wireless coverage. I still have an older BEFW11S4 wireless router. I was wondering if it is possible