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

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

  • 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

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

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

  • Bw time dependent hierarchy authorization in Hr - Key date problem - 0orgunit

    Hello Gurus,
    I'm facing a problem with the 0Orgunit hierarchy authorization.
    In the Rsecadmin screen we set the hierarchy authorization for 0orgunit characteristic, before selecting the hierarchy node, we enter the key date.
    I tried many cases, but neither of the key dates gives the correct results in the report. (Todays date, 01.01.1900, 31.12.9999 etc..)
    In the report the key date variable is generated by RSTHJTMAINT transaction. I guess, this is creating a problem with the authorization key date.
    A similar problem is told in the following link as well:
    http://scn.sap.com/thread/1437951
    I spend some hours, and tried many possibilities (validity period etc.), but I could'nt get it worked.
    I'm not sure if I had this error before 7.31 update.
    With this opportunity, I want to thank you every one in the Sdn community. It helps a lot for resolving our issues and sharing the knowledge.
    Thanks a lot.
    Regards.

    Hi Norbert,
    Can you check that the SAP note 1301644 has been applied in your system.
    Best Regards,
    Des Gallagher

  • 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

  • Can't install Acrobat 9 Pro

    I have tried to install Acrobat 9 Pro and keep getting "Status: Stopping Services"  "Services to stop: Print Spooler". I have called the service folks and have had no assistance. Anybody have a fix for this? Running XP 32bit with current service pack

  • Removing date at bottom when exporting to PDF

    Hi, When I export a keynote ('09) file to PDF, it includes a date at the bottom of the exported PDF. Does anyone know how to prevent this from happening? Thanks for your help, Laura

  • Confirmation that email has been read

    Is there a way in Mail to receive a confirmation that an email I've sent has been opened by the recipient? If yes, how do I do that?

  • System requirements for installing Premiere Elements

    Hello, I currently use premiere elements 7 on Vista.  I am upgrading my PC; probably windows 7, possibly windows 8.  Not sure if I will continue with PE version 7 or upgrade to 11.  Can you tell me what hardware components are the most important to r

  • Max HD for Netra T1 AC/DC200?

    I'm trying to find out the largest hard drive the Netra T1 AC/DC 200 will support. All the documentation I come across only lists the "official" sizes. I believe the connector is an 80-pin SCA. Thanks. Edited by: 838558 on Feb 21, 2011 3:55 PM Edited