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

Similar Messages

  • 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

  • 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

  • 0CS_Item with time-dependent hierarchy

    Dear Experts,
    we are discussing pros and cons for a time-dependent item catalog (characteristic 0CS_item with time dependent hierarchy in BW) within consolidation SEM BCS 4.0. Does anybody has experiences on this topic?
    I am quite sure it will be a performance issue and it means additional reporting effort (e.g. using reference period/year in the report comparing different hierarchies).
    I am not sure if there are any other risks so I it would be great if anybody has some hints.
    Thanks in advance,
    Birgit Laux
    Message was edited by: Birgit Laux

    Birgit,
    Some other things to consider:
    - frequency of changes to item hierarchy. Could lead to a lot of item hierarchies in BW over time.
    - hierarchy validity date does not seem to be displayed when running web queries and thus makes it difficult for the user to select the correct hierarchy when executing the query. Still looking for a fix for this.
    - greater complexity in overall design. Is it really necessary to achieve correct financial statement presentation?
    Virtual cube performance is not great but you could implement the data mart which provides typical BW query performance.
    I stayed away from setting the item as time dependent for these reasons.
    Brian

  • Time depend hierarchy of 0profit_ctr (set calday on EXIT_SAPLRSAP_004)

    Hi,
    I would like to set Time depend hierarchy (not by nodes, but all hierarchy) on the 0profit_ctr. but unfortunately, 0profit_ctr is not time depend. So I would like to add calday on the EXIT_SAPLRSAP_004(cmod) on the source system.
    But I am no idea how to code it...
    what I would like to do is to set DATETO and DATEFROM of the hierarhcy header.
    parameter of the  EXIT_SAPLRSAP_004 is below.
    *"       IMPORTING
    *"             VALUE(I_DATASOURCE) TYPE  RSAOT_OLTPSOURCE
    *"             VALUE(I_S_HIEBAS) TYPE  RSAP_S_HIEBAS
    *"             VALUE(I_S_HIEFLAG) TYPE  RSAP_S_HIEFLAG
    *"             VALUE(I_S_HIER_SEL) TYPE  RSAP_S_HIER_LIST
    *"             VALUE(I_S_HEADER3) OPTIONAL
    *"       TABLES
    *"              I_T_LANGU TYPE  SBIWA_T_LANGU
    *"              C_T_HIETEXT TYPE  RSAP_T_HIETEXT
    *"              C_T_HIENODE TYPE  RSAP_T_HIENODE
    *"              C_T_FOLDERT TYPE  RSAP_T_FOLDERT
    *"              C_T_HIEINTV TYPE  RSAP_T_HIEINTV
    *"              C_T_HIENODE3 OPTIONAL
    *"              C_T_HIEINTV3 OPTIONAL
    *"              C_T_MESSAGES STRUCTURE  BALMI OPTIONAL
    *"       EXCEPTIONS
    *"              RSAP_CUSTOMER_EXIT_ERROR
    I guess I_S_HIER_SEL seems to me the hierarhcy header. but I could not find which fields of the TABLES are corresponding this hierarchy header.
    Or is it impossible to set what I want to do on this exit?
    Hope your help..
    Kind regards,
    Masaaki

    Hi,
    In this FM EXIT_SAPLRSAP_004..
    see include program...
    INCLUDE ZXRSAU04..
    Write code
    data : l_s_[structurename] like [extractstructure name],
    l_tabix like sy-tabix.
    case i_datasource.
    when 'your datasource name'.
    loop at c_t_data into l_s_[structurename]
    l_tabix = sy-tabix.
    fill the new field
    select ... into l_zz...
    where ....
    l_s_[structurename]-[new field name, zz....] = l_zz...
    modify c_t_data from l_s_[structurename] index l_tabix.
    endloop.
    Hope this Help.. assign points...
    regards,
    raj

  • Creation of Time Dependent Hierarchy in R/3

    Any ideas on how to create a time dependent Hierarchy in R/3?
    Do we have any existing functionality we can leverage in R/3 for creating and maintaing time dependent hierarchy or through ABAP coding in R/3?
    Any ideas or documentation will be helpful.

    Hi Jasmine,
    check this documents/links to get an idea how to set up hierarchy extractor in R/3
    [How to Create a Hierarchy Extractor for Employees and their Department Managers|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20a709c1-0a8e-2a10-21b4-f779728c63bf]
    Re: Build Hierarchy with ABAP
    How to create datasource for hierarchy
    Double post: Creation of Time Dependent Hierarchy in R/3
    Regards
    Andreas

  • 0ORGUNIt time dependent hierarchy not showing all valid nodes in BO , but in BW its correctly shown

    Hi All,
    We have 0ORGUNIT hierarchy shown in one of the Webi reports. 0ORGUNIT is time dependent hierarchy.
    In BW report we can see below nodes for hierarchy
    Hierarchy                     Valid From         Valid To
    Z05 Root Company        01.07.2013        31.12.9999 - Parent node
        Z05 Branch 2                 01.10.2013        31.12.9999 - Child Node
        Z05 Division                   09.12.2013        31.12.9999 - Child Node
    In BO webi we can see only two nodes
    Z05 Root Company        01.07.2013        31.12.9999 - Parent node
           Z05 Division                   09.12.2013        31.12.9999 - Child Node
    Any idea why in BO webi the other node is not shown ? This is happening only for time dependent hierarchy and only in BO not in BW.
    Thanks,
    Shraddha

    Hi Shraddha ,
    Check at webi query panel level any restrictions applied to hierarchy levels.
    Check at BEx query level,select 0ORGUNIT ,hierarchy -Expand to level .
    Here specify Max level.
    lastly, check any filters/restrictions applied on data.If yes,remove restrictions.

  • 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

  • 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

  • Time dependent hierarchy creation in R/3.

    I know  you can do it in BW. Any ideas on how to do it R/3? Do we  have any existing functionality we can leverage in R/3 for creating and maintaing time dependent hierarchy.
    Any ideas or documentation will be helpful?

    Hi,
    check this threads:
    Custom Datasource for custom Hierarchies
    How to create Hierarchy data sources in R/3
    How to create a hierarchy datasource in R/3
    Double post: Creation of Time Dependent Hierarchy in R/3
    Regards
    Andreas

  • BPC 10.0 - Time Dependent Hierarchy?

    Dear All,
    In BPC 10, is time-dependent hierarchy allowed/used?
    Any pointers will be appreciated.
    Thank you!
    Regards,
    Peri

    Hi Peri,
    Please, read here: Time dependent hierarchy with BPC10 NW - Planning and Consolidations Use cases
    B.R. Vadim

  • How to achieve time dependent hierarchy in SAP BO Disclosure Management

    Hi all experts,
    We are proposing a SAP EPM solution to a client. The overall solution consist of a planning tool (BPC 10 NW) and a disclosure management tool (SAP Disclosure Management 10).
    The Disclosure management tool will retrieve the planning budget figure from BPC 10 NW, and consolidate into a financial statement.
    Understand that in SAP BPC 10 NW there is a new feature call "Time Dependent Hierarchy" which allows defining the hierarchies based on a time range and the roll up behavior will be different based on the time the data belongs to. However in Disclosure Management it is currently not supported as a standard feature, therefore is there any workaround solution to achieve time dependent hierarchy in disclosure management ?
    Thank you !
    Regards,
    Elvin

    Hi Elvin, did you get a solution to your question.
    Can you share it. Thanks

  • 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

  • How to: from time independent hierarchy to time dependent hierarchy in BW

    Hello goeroes outthere,
    I am facing the following problem and was wondering if some of you have faced the same issue.
    In ECC we have a time independent hierarchy on Profit Center. Our customer wants to perform time DEPENDENT reporting in BW.
    As the standard datasource does not support to be loaded via PSA in the datasource definition (only IDOC) we cannot enhance the datasource with fields such as DATEFROM and DATETO. I've tried doing so but this results in the following error message when loading : Selected number does not agree with transferred number of records.
    So I have cancelled out this as being an option.
    I am analyzing the following two options :
    1. Making the hierarchy time dependent. (globally). The idea would be to create a custom ABAP program that would copy the loaded hierarchy to a hierarchy in which we define the datefrom as the actual system date and the dateto as 31.12.9999.
    Prior to doing so the abap program should change the already loaded hierarchy by modifying the dateTO as actual system date -1 in the header of the hierarchy.
    In theory this seems to be a good option, but I am afraid of the complexity of the ABAP program to be created by looking in debug how the copying process is handled in SAP. 
    2. Making the hierarchy structure TIme dependant. THis has as a consequence that the table  /BI0/HPROFIT_CTR is adjusted to include DATETO and DATEFROM fields. A custom program could read the entries and perform the same activities as described above. So meaning finding and modifying the existing entries with DATETO fields with as an entry 31.12.9999 to adjust to sysdatum -1 and modfying all entries that don't have dateto and datefrom entries by putting datefrom (=sysdate) and the dateto (=31.12.9999).
    The issue here is that first we need to find the link between the hierarchy ID and the Hierarchy loaded and that I am not sure how SAP will deal with this SID wise.
    Option 1 seems feasable as the hierarchy does'nt change every single day and doesn't require to be loaded every single day. But before going in this direction, I would appreciate some confirmation of my approach.
    Thanks in advance for sharing your lights on this topic.
    Rgds,
    Bvpe

    Hi Bart,
    I just solved this very problem today in a two step process:
    In our implementation, we only want to control when a new version of the hierarchy is created.  If nothing changes, whatever is brought in from the source system will just replace the current version.  We imagine we'll only create versions at month end or major re-organization.
    1) I created a Select Options variable in tcode: stvarv called ZPROFCTR_FROMDATE.  I added a value to the low position and set the option to equals.
    2) Open the infoPackage that is used to load the hierachy from the source system.  Go to the Hierarchy Selection Tab and click on the button at the bottom of the tabbed frame "Dynamic Hierarchy Selections".
    You should see two check boxes, place a check in the second box: "Determine Using Routine"  Click on the create icon and put this in the routine
      p_s_sel_hier = l_s_presel_hier.
      data: tempfrom type tvarv_val.
      select single low
      from tvarvc
      into tempfrom
      where name = 'ZPROFCTR_FROMDATE'.
      move tempfrom to p_s_sel_hier-datefrom.
      p_s_sel_hier-dateto = '99991231'.
      clear p_subrc.
    I've include the entire subroutine for context, and so you can see the SAP generated coments in the form that attempt to explain what the form is going to do.
    Long story short, the hierarchy you have selected with the radio button on the Hierarchy Selection tab will be the one that is affected by this logic.
    form compute_hier
      tables l_t_all_hier structure rshiertrsf
      using l_s_presel_hier like rshiertrsf
            l_infopackage   type rslogdpid
      changing p_s_sel_hier like rshiertrsf
               p_subrc like sy-subrc.
    *Insert Source Code to decide which Hierarchy shall be loaded.
    *The Hierarchy you select from table l_t_all_hier and fill
    *into p_s_sel_hier will be loaded.
    *The Structure l_s_presel_hier contains the pre-selection of the
    *BW-Scheduler - just to inform you what the BW wll load
    *if you change nothing.
    *$*$ begin of routine - insert your code only below this line        *-*
      p_s_sel_hier = l_s_presel_hier.
      data: tempfrom type tvarv_val.
      select single low
      from tvarvc
      into tempfrom
      where name = 'ZPROFCTR_FROMDATE'.
      move tempfrom to p_s_sel_hier-datefrom.
      p_s_sel_hier-dateto = '99991231'.
      clear p_subrc.
    *$*$ end of routine - insert your code only before this line         *-*
    endform.                    "compute_hier
    Hope this helps,
    Quack

  • Selection of time-dependent hierarchy variables after selection of time

    Hi guys,
    I'm having the following question regarding the selections of variables in a BEx Query:
    I need to select e.g. a position out of a hierarchy which is time-dependent. In the selection screen I'm only able to select a certain date but not the key date that I need for the hierarchy. Now I would like to replace the needed key date for the hierarchy out of the date value. Having the parameters for the hierarchy selected I would like to select a position of the right hierarchy.
    My idea is to select the date first:
    Date: 05.2009
    In the next pop up window the hierarchy key date is replaced by the date:
    Date: 05.2009 --> key date: 05.2009
    Now I can select a position for the right hierarchy.
    Is a two-stage selection possible? How can a variable be replaced and simultaneously serve in the selection of object with a hierarchy?
    Thanks in advance!

    Hi Partho,
    Please check this link. Might be helpfull.
    http://www.ibm.com/developerworks/data/library/cognos/infrastructure/cognos_specific/page551.html
    Regards,
    Rahul

Maybe you are looking for

  • New iMac freezes?

    I received my new 24" 2.8GHz iMac in early November w/4GB of Crucial memory, immediately repartitioned it, upgraded to Leopard, migrated my apps/accounts/data over from my 2.7GHz G5 Tower (which has been running Leopard perfectly), and ran Software U

  • HT201317 how can I save pictures from photostream to my pc that I already took

    I am sorry if this has been asked and answered, but I can't seem to find an answer (that I am willing to accept!). I have an Iphone, Ipad and PC. My iphone and ipad both have photostream (about 650 pictures each), and the camera rolls only have about

  • Mini on TV

    I am planning to buy a Mini mac to put in my Sitting room and use it to watch movies (not DVDs) and listen to music.. I was planning on using the TV as a display. Does anyone use the DVI-Video adaptor and whats the quality like? My TV is a ye olde CR

  • Installing used copy of ilife 06 with iphoto

    Hello! I want to get ilife 06 with iphoto and I was looking for it on ebay. Will I beable to install a used copy of ilife to my computer or can a used copy not be installed because of registering issues? Thank you!

  • Copy window is stuck on stopping how do  I quit out of , thank you

    I have tried to stop copying  window but is now stuck, how do I quit out of, thank you in advance