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

Similar Messages

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

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

  • 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

  • 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

  • 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

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

  • 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

  • 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

  • Select key date of time-dependent hierarchy before select a hierarchy node

    Hello experts!
    I have a Web Application which has a selection on 0ORGUNIT (organizational unit). The selection is on hierarchy nodes and the hierarchy is time-dependent.
    Because of the time-dependency I have to give a key date for the hierarchy. But I want to select the key date at runtime/execution of the query and additionally I want to select the hierarchy node and other selection criterias.
    Maybe there is a solution to get all this in one pop-up or maybe in two or another solution how I can implement this requirement.
    Thanks for help!
    Peter

    Hey!
    You don't have to use the same presentation-hierarchy like  the selection-hierarchy is which you use for the variable. While presentation-hierarchy always has a key-date, the selection-hierarchy has none. So you see all values for selection but just this which are valid for the presentation-hierarchy are selected. And there is a warning which you can supress over RSRT.
    This solution works for our problem, maybe not for yours, don't know.
    Best regards,
    Peter

Maybe you are looking for

  • G3 won't boot from hard drives or startup (original) CDs

    I recently installed OS X 10.4 on my Mac G3 (6GB HD, 256MB Ram, blue & white). It ran fine for one week. After one week, when it would boot up, I would have 800 MB of free space. Within a few minutes I would get an out of memory error and my HD would

  • COMPUTE_BCD_OVERFLOW ST22 dump

    Dear All, When I run the ECC_PRD_BITX_D_FDM_INVOICE, which is a standard SAP(program FDM_INVOICE_MEMORY). I get COMPUTE_BCD_OVERFLOW ST22 dump. This short dump occured due to CX_SY_ARITHMETIC_OVERFLOW i.e. Target field size was not able to store the

  • IPad 7.1.1 upgrade issue

    After I upgrade my iPad 7.1.1, I lost all my photos from Camera Roll folder, is there any way I can get those back?

  • Hai please any one help me

    events parameters are pass by value (true or false).

  • Files on my server are being renamed randomly

    About three months ago I started working on a Power PC G5. Ever since some of my files and folders on my company's server have been randomly renamed. For example: I will have a file that was named "red-blue logo.eps" and it is now named "MLF767~k.eps