Time dependent Hirarchy Structure

Hi,
I need to create Hirarchy, i did not create before,
Please some one explaine me how to create     Time dependent Hirarchy Structure  in CostCenter InfoObject.
Please, please help me.
Thanks

HI
Find the below link
http://help.sap.com/saphelp_nw2004s/helpdata/EN/0e/fd4e3c97f6bb3ee10000000a114084/frameset.htm
Time-Dependent Hierarchies  
Use
In a hierarchy that is not time dependent, the characteristic values are always the same.
If you want to create views of a hierarchy that are valid for a specific time period, you need to create the entire hierarchy as time dependent.
If you want to model relationships that change time-dependently, you need to create the hierarchy structure time-dependently.
Functions
In InfoObject maintenance, you can set whether and in which ways a hierarchy is time dependent. You can choose from the following:
·         whether the hierarchy is not time dependent (Hierarchy Not Time-Dependent). This is set by default.
·         whether the entire hierarchy is time dependent (Entire Hierarchy Time-Dependent).
·         whether individual node relationships are time dependent (Hierarchy Structure Time-Dependent)
·         whether a temporal hierarchy join is used with time-dependent hierarchy structures (Use Temporal Hierarchy Join)
Entire Hierarchy is Time-Dependent
You can either load time-dependent hierarchies (see Loading Time-Dependent Hierarchies) or create them in the BI system (see Creating a Hierarchy). When you create a time-dependent hierarchy, you have to enter a validity interval (valid to and valid from fields).
If an entire hierarchy is time dependent, the system creates hierarchy versions that are valid for separate intervals. The system automatically uses the current valid version in this case. The hierarchy valid in each case can be uniquely identified by its technical name and the From-To Date.
In the InfoObject tree of the Data Warehousing Workbench, all time-dependent hierarchies under the associated InfoObject are displayed with the corresponding To Date, for example  Time-Dependent Hierarchy 05/31/2000.
In reporting, the system returns the valid hierarchy when a query is executed using the query key date.
Within a restructuring company areas, you can create time-dependent versions of a hierarchy for the Main Area InfoObject. This enables you to compare the restructuring over different time periods in a query.
Time-dependent hierarchy 01/01/1999 - 05/31/1999
Time-Dependent Hierarchy 06/01/1999 - 12/31/1999
Main Area NORTH
Main Area NORTH
Area 1
Area 2
Area 2
Main Area SOUTH
Main Area SOUTH
Area 1
Area 3
Area 3
Area 4
Area 4
In reporting, you can work in the individual columns of the report structure with fixed date values. You may want to do this to compare Main Area North in the Time-Dependent Hierarchy 05/31/2000 with Main Area North in the Time-Dependent Hierarchy 06/01/2000 (simulation).
Time-Dependent Hierarchy Structures
You can either load time-dependent hierarchies (see Loading Time-Dependent Hierarchies) or create them in the BI system (see Creating a Hierarchy).
In hierarchy maintenance, you can determine a valid time interval for each hierarchy node (Valid to and Valid from fields).
In reporting, a hierarchy with time-dependent hierarchy structures is created either for the current key date or for the key date defined for the query. In addition, you can evaluate a hierarchy historically using the temporal hierarchy join.
You can assign an employee to different cost centers at different times within the context of a restructuring.
In the context menu of a hierarchy, choose Display Hierarchy to access the hierarchy display: Each node and leaf has been given a date symbol. Hierarchy nodes that are assigned to different places in the hierarchy structure, depending on the time, are displayed more than once. By double clicking on a hierarchy node, you can display the associated validity period for the node relation.
In the following example, you can double click on the Jones leaf to see that the worker Jones was assigned to region USA between 01/01/1999 and 05/31/1999 and Puerto Rico from 06/01/1999 to 12/31/1999.
In order to use a hierarchy with a time-dependent hierarchy structure in reporting, you require the following settings in the BEx Query Designer:
                            a.      If you want to evaluate a hierarchy with a time-dependent hierarchy structure for a fixed key date, enter the key date in query definition.
                            b.      If you want to evaluate a hierarchy with a time-dependent hierarchy structure historically, for a key date that is to be derived from the data, choose the temporal hierarchy join option and specify the derivation type for the key date.
For a more detailed description of the functions and differences between the two evaluation views, see Time-Dependent Hierarchy Structures in the Query.
In maintenance of the key date derivation type (RSTHJTMAINT) determine the rule you want to use to determine the key date from the data. In this way you determine the time characteristic and way in which the key date is to be derived.
       1.      First determine the time characteristic.
If you choose a Basic Time Characteristic as a time characteristic (for example, 0CALDAY, 0CALMONTH, 0FISCPER), you can use a key date derivation type of this kind for all InfoProviders that contain exactly one time characteristic that references the selected basic time characteristic. If there are several time characteristics in an InfoProvider that reference the basic time characteristic, you have to either determine the time characteristic more specifically or select a particular time characteristic from a particular InfoSet (Time Characteristic from InfoSet).
       2.      Determine how you want the key date to be derived from the time characteristic.
The following derivation types are available:
¡        First day of the period
¡        Last day of the period
¡        Delay by number of days (you specify this in the Delay by Days field). In this case, the key date is calculated from the first day in the period plus the number of days specified minus 1. If the key date does not fall within the period, the last day of the period is used.
Key date derivation type with (basic characteristic = 0CALMONTH, derivation type = u201Cfirst day of periodu201C):
·         For January 2005 the key date is calculated as 1/1/2005.
·         For February 2005 the key date is calculated as 2/1/2005.
Key date derivation with (basic characteristic = 0FISCPER, derivation type = u201Cdelay by number of daysu201C and u201Ddelay u201C = 29):
·         For K4/01.2005 the key date is calculated as 1/29/2005.
·         For K4/02.2005 the key date is calculated as 2/28/2005.
·         For K4/03.2005 the key date is calculated as 3/29/2005.
Note that the way in which you determine the key date derivation type affects performance. The number of data records that the OLAP processor reads corresponds to the level of detail on which the time characteristic and the leaf level lie. For this reason, choose the time characteristic as approximately as possible in order to keep the hierarchy small.
A small hierarchy has 100 leaves. For a period of 12 months, the OLAP Processor reads 1200 data records at month level. At day level, it reads 36500 data records.
Regards,
kumar reddy.k
Edited by: kumar reddy on Nov 18, 2008 10:50 AM

Similar Messages

  • Time dependent hierarchy structure in SEM-BPS

    I want to use a time dependent hierarchy structure in sem BPS to make combination chek and proposal in a layout.
    I have manage a relation of type hierarchy (based on this hierarchy) in the characteristic relationship tab page of my planning area.
    I open my layout to make entries in the future (next fiscal year) but the system doesn't propose me the datas valide for the next fiscal year in my hierarchy but the datas validate today.
    There is a key date in the master data tab page of the planning area but it seems to have only effects on attributes with validity dates but not with hierarchy with time dependent hierarchy structure.
    Thanks for your help.

    Hi,
    The key data that you enter in the planning area is only for time dependent characteristics and attributes. For the hierarchies in the characteristic relationships the current data is used.
    If you still want to use a time dependent hierarchy for modeling the characteristic relationships you could use a characteristic relationship type exit. In the exit you can read the hierarchy with the proper date.
    Best regards,
    Gerd Schoeffl
    SAPNetWeaver RIG BI EMEA

  • ORGEH (Time-Dependent Hierarchy Structure) on 0Orgunit

    Hi Experts,
    Is there a FM that can be used to retrive a certain level of the Organizational Structure hierarchy?
    I would like to input a specific date, Org Unit, and Level.  It should output the Org Unit at the Level desired.
    Any help is appreciated.
    -Sonny

    I still do not see any output.  Below are my parameters.
    PLVAR                           01
    OTYPE                           O
    OBJID                           51013651
    WEGID                           A002
    BEGDA                           01/01/2008
    ENDDA
    PUP_INFO                        X
    WITH_STEXT                      X
    TDEPTH                              0
    I changed TDEPTH to 3 as well but no output.
    -Sonny

  • Additional Question on Time dependant hier

    Hi Gurus,
    Can anyone advice on the following
    Must i use characteristic node for time dependent hierarchy structure or is text node allowed?
    Thanks in advance

    time dependency can be found in table EQUZ
    you  can check these notes
    167331 0EQUIPMENT master data/texts tempor. overlapping
    427214 0EQUIPMENT Time dependent Master Data Attributes
    856580 0EQUIPMENT master data/text temporal overlap

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

  • 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

  • Hierarchy with time-dependent structure

    Hello, collegues,
    Im attempting to build a report on payrolll data using DS 0HR_PY_1_CE.
    There is a time-dependent structure hierarchy which changes very often (new departments are created\dispatched) on 0ORGUNIT.
    The data granularity in infoprovider is Calmonth.
    To build a report we need to use a derivation either for the beginning or for the end of month.
    In case of a new department creation with derivation set for the last day of month  - new department will show up in the report asigned to the right place on organizational strucure tree.
    If a department being disbanded during the month (since the derivation is set for the end) - the amount will go into not assigned hiearachy nodes which is unaccetable for the business.
    The same thing happens vice versa.
    Any ideas will be highly appreciated.

    hi,
    we have faced the same problem with closed-org units some orgunits get closed over a period of time and they will be in the un assigned nodes in bw.
    its the structure thats maintained in the source and we only get them from the source as it is and we are only loading to bi based on the standrad extractor and its does not pick closed org units.
    my idea would be we need to build a custom extractor based function module which would read the hirarchies based on version and and based on time and keep them in the relevant nodes according to the bussineeds and we can load it to org unit and build hirearchy node variables on them in the report.
    hope this helps.
    Thanks
    krishna.y

  • Issue while creating a heirarchy using Hierarchy Structure Time dependent

    Hi every body
    I created an Info object(SREP) with Heirarchy Strututre Time Dependent property. When i am creating an Heirarchy for the info object(SREP) i am not able to see any text node by default, do we need to create it explicitly or system would propose one node by defalut..
    I created a text node manually then and tried to assign an another info object(SREG) as a child using an option of "Insert Characterstic", but i am getting a message as "InfoObject SREG is not entered for InfoObject SREP as a Foreign Heirarchy Characterstic", and system is again proposing to assign some info object as a child.
    Thanks in advance..
    sekhar

    ok

  • Asset Master Record - Time Dependent tab - locations to be created

    Hi Guru's
    Hot to create the new locations in the Asset Master Record - time dependent tab.
    Some locations descriptions I need to change.
    Please help me.
    Regards
    Jenny Connes

    Hi,
    change your location description at following SPRO location:
    SPRO->Enterprise Structure -> Definition->Logistic - General ->Define Location
    Thanks,
    Dharmesh

  • How to Display Time-Dependent Characteristic Data In Query

    Hi Experts,
       I have encountered a problem. I want to use Time-Dependent Chart. And want to display different value according characteristc's valid from time. For Example,
    The Characteristic 0COSTCENTER has the navigation attribute 0COMPANY, The data as:
    0COSTCENTER   Valid from   Valid To       0COMPANY
    BW2305              20070101   20070430     A
    BW2305              20070501   99991231     B
    I want  the report  can display as :
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     A                  1000
    BW2305              20070501   99991231     B                  2000
    But when I set the query's key date 20070420, the report display as:
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     A                  1000
    BW2305              20070501   99991231     A                  2000
    when I set the query's key date 20070520, the report display as:
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     B                 1000
    BW2305              20070501   99991231     B                  2000
    Can anybody tell me how I can get report expected.
    Thanks in advance.
    SF

    Hi,
    1) Add the characterstics 0COSTCENTER ,0DATETO,DATEFROM and  0COMPANY to the cube.
    2) And also add these 4 IOs to the Communication structures which has update rules with the concern cube.
    3) I hope , you already have  0COSTCENTER in the Commnication structure and mapping for that infoobject at both Update rules and Transfer rules.
    4) Leave to the Blank(no mapping) mappings for the IOs 0DATETO,DATEFROM and  0COMPANY in the Transfer rules.But make 1:1 mapping in the Update rules for these 2 infoobjects.
    5) Write the below code in the strt routine of the Update rules:
    TYPES:  BEGIN OF type4.
          include structure like /BI0/QCOSTCENTER.
    TYPES END OF type4.
    DATA:
      ITAB4 TYPE STANDARD TABLE OF TYPE4
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    SELECT * FROM /BI0/QCOSTCENTER INTO CORRESPONDING FIELDS
    OF TABLE ITAB4
    WHERE OBJVERS = 'A'.
    loop at DATA_PACKAGE.
         READ TABLE ITAB4 WITH KEY COSTCENTER = DATA_PACKAGE-MATERIAL 
    DATETO LE DATA_PACKAGE-PSTNG_DATE
    DATEFROM GE DATA_PACKAGE-PSTNG_DATE.
                  IF SY-SUBRC EQ 0.
                    DATA_PACKAGE-DATETO = ITAB4-DATETO.
                    DATA_PACKAGE-DATEFROM = ITAB4-DATEFROM.
                    DATA_PACKAGE-COMP_CODE = ITAB4-COMP_CODE.
                  ENDIF.
                  Modify DATA_PACKAGE.
      endloop.
      ABORT = 0.
    Here I assumed you have Posting date in the Communication structure and used to map to Fiscalperiod of the cube.
    6) Do the Master data upload to Cost center and active the master data of it always before uploading the data to cube.
    7) Do the uploading to cube from Sratch.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

  • Time-dependent hierarchy in query selection screen

    Hello all
    I am running query where input selection has following fields -
    Fiscal year variable ( e.g. i can enter 2008)
    Period variable ( e.g. i can enter 12)
    Hierarchy Node variable
    The hierarchy is time-dependent. I want that if I enter year and period as 2008 , 12 then
    my hierachy node selction pop-up should show me only that hierarchy structure which was valid in 12.2008.
    But my hierarchy selection always shows me hierachy structure that is valid on current date.
    Can anyone help me on how to achieve this?
    I have already coded keydate variable based on fisc year and period. But then how to make use of this key date variable so as to get correct selection of hier?
    Regards,
    Sanjyot

    Hi Marcio
    RSRHIERARCHYVIRT is for maintaining time-characteristics hierarchy.
    My hierarchy is based on Consolidation Groups and Units.
    But the hier is time-dependent.
    So I want that when selection pop-up opens for a hier node , it should show me correct hier depending on year and period i have enetered.
    Regards,
    Sanjyot

  • Report on time dependant master

    Hi,
    I want to write a query on Equipment master giving me Plant wise Month Year wise count of active equipments.
    For example :
    I have following data in 0Equipment
    Equipement--PlantValid from date----- Valid To date
    1001--XYZ--01/01/2008--
    30/03/2008
    1002--XYZ--01/02/2008--
    30/05/2008
    1003--ABC--01/01/2008--
    30/11/2008
    1004--ABC--01/04/2008--
    30/11/2008
    1001--ABC -01/04/2008--
    30/06/2008
    Report required is:
    Jan/2008---Feb/2008-Mar/2008-Apr/2008-May/2008-Jun/2008---Jul/2008
    XYZ--1221--
    1
    ABC--111333--
    2
    0Equipment is time dependant (valid from date - valid to date) characteristics.
    Please help.
    Rgds,
    Deepak
    Edited by: Deepak S on Feb 10, 2009 3:04 PM
    Edited by: Deepak S on Feb 10, 2009 3:12 PM

    Hi Deepak,
    Try this,
    Put, Plant in rows , 0calmonth in columns. Under 0CALMONTH, create a structure, create a formula --with only on formula variable ZEMP. Variable ZEMP is then processed by replacement path and is replaced by the infooobject key.
    In the formula properties in Calculation tab mention calculate single values as count.
    Hope it helps,
    Regards,
    Sunmit.

  • Issue making Cost Center Hierarchy Time Dependent

    Hi,
    We have three hierarchies on top of cost center and cost center was not time-dependent. There is a new requirement to make one of the hierarchies time dependent. To faclitate it, I changed the hierarchy property in cost center infoobject to "Hierarchy structure is time-dependent" and then loaded the hierarchy.It took the validity dates of 1.1.1000 to 31.12.999. A costcenter was changed from one node to another in ECC and was extracted into BI. As time-dependency is set, I thought that node will have two entries now one with validity period 1.1.1000 to 30.10.2009 and another with 31.10.2009 to 31.12.999. But instead the hierarchy was overwritten and only the latest change is refelcted.
    Can someone please help in figuring out the issue. Should some change be done in ECC for time-dependency to reflect.
    Thanks
    Achyuta

    Hey Achyuta,
    The hierarchy needs to be time dependent in the source system and then the datasource for the time dependent hierarchy would then need to be replicated again.  You'll know if it's right after the replication if you view the datasource in BW and the Data is Time Dependent check box is checked on the General Info Tab.  Once the datasource is time-dependent, loads should populate the DateTo and DateFrom as you expect.  Consult your R/3 expert if you need help over on the source system side.
    Peace,
    Dan Glick

  • Aggrates on Hierachy structs and time dependent characterstics

    Hi Every one,
    I would be really appritiate, if any one can answer to my question. i will give you full points
    Can we create aggregates on Hierachy structures and attributes of time dependent characterstics.?
    Thanks
    Farooq

    Hi
    We cannot
    Aggregates are for Cubes only
    If you have some prob in case of Hier structure or time dependent chare..there are various other performance tuning measure we can opt for
    Regards
    N Ganesh

  • Enhance the Time Dependent Tab of the Asset Master AS01

    Hi,
    My requirement is to enhance the Asset Master Client dependent Tab transaction AS01.
    I have added a field in the ANLZ through some Append Structure.
    And added that field in the Custom Screen.
    After doing the functional config that field is visible.
    In the Time dependent tab, when we press MORE INTERVEL PUSH BUTTON A new screen appear with certain fields which already present in the Time dependent tab.
    Now my question is: How I can insert the new enhanced field in that and how we can save the data in ANLZ table.
    We are using ECC 5.0 version, requirement is to add some fields similler to ECC 6.0 version in time dependent tab of AS01 transaction.
    Thanks in Advance,
    Hari
    Edited by: Hari prasad REDDY 123 on Dec 17, 2009 2:52 PM

    Hi hari,
    Was this problem solved ? Wuld be great if you could le me know the solution .
    Thanks!!

Maybe you are looking for

  • Need help in creating alert message in HTML template.

    Hi All, I am using internet service for BBPMAININT. In the template 120, i am checking for the length of partner number should not be greater than 4 characters. For this i have created a method in javascript which gives a popup. I have create a param

  • Can't open Adobe Reader in 10.5.7

    I just discovered that I cannot download pdf files in Safari with OS 10.5.7. My old Adobe Reader 8 will not open at all. I found a patch 9.1.2, that supposedly would work, but it is a patch for 9.1.1, which is a patch for 9.0. When I downloaded 9.0,

  • Can you use find my iPhone with iPad and iPhone and the same icloud account for both?

    I have an iPhone and iPad. I use find my iPhone for both. If I use the same icloud account for both, how do I separate them on the map, or if I lose one and want to remote wipe the lost one but not the one in my possession?

  • Solaris 9 Oracle 10.1.0.2 oem says I need a recovery

    when I bring up oem web page it says I need recovery. It does not. What is up? I sometimes get Io exceptions

  • How to developer reports ?

    Post Author: alrmd CA Forum: Crystal Reports I have CR XI, and i have developed some reports, but i can only run and refresh data in my own pc, because the Viewer software can not do that, so i want to ask, what do i need to do in order the users can