Icons in Hierarchy structure

Hi all
I have a function module for getting  Organizations from the database and display them in the form of a tree.
The problem is that, in the organization hierarchy the icon for the child id( when no org underneath) should be different from the icon for the child-id's which have org underneath.
Here in my tree the child-id which does not have any org underneath is showing the same icon as if there are orgs underneath
any help regarding this.
hope u got it
regards
Paul.

Set the status of the child id( when no org underneath) to 'final' this would put a different icon.
Regards
Raja
for more info check out this weblog.
/people/durairaj.athavanraja/blog/2004/11/21/bsphow-to-build-performance-efficient-dynamic-htmlbtree

Similar Messages

  • Org unit Hierarchy structure between two  Key date s

    Hello Friends,
    We have an issue with displaying HR Org unit hierarchy structure between two calendar months.
    The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From and Calendar month To
    The BI Report is to display the no.of sick absence days for employees in a chosen Org unit hier.
    Employee A had a sick absence of 5 days in the month 04.2011 in the Org unit X . The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
    When we run the report for 04.2011 to 04.2011 , the employee A is showing absence under Correct Org unit ie X with correct Org structure .
    When we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under hierarchy Org unit Not assigned which is OK .
    But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is the latest Org unit .
    When I deactivate the Org unit hierarchy and choose tech name of Org unit , It is showing correct Org unit key
    But The user would like to see 5 days under org unit X and 4 days under Not assigned with Correct Org unit hier structure when we run the Report from 04.2011 to 05..2011 .
    We have a user Exit variable for the Key date in the Bex Report which seems to be taking only one date at any time .
    Is there any way to get the correct figures under Org unit hier structure where employee had absence in when we put range of calendar months on a selection screen ?
    Any advice appreciated.
    Thanks.

    Hi
    Yes, we can display the same by using time dependent hierachy's i.e. your org is converted to time dependent so that respective employee shows with respective of time.
    Regards
    Jagadeesh.M

  • Org unit Hierarchy structure  at Key date

    Hello Friends,
    We have an issue with  displaying HR Org unit hierarchy structure  between two calendar months.
    The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From  and Calendar month To
    The BI Report is  to display the no.of sick absence days for employees in a chosen Org unit hier.
    Employee  A had a sick absence of 5 days  in  the month 04.2011  in the Org unit X .  The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
    When we run the report for 04.2011  to 04.2011 , the employee A is showing  absence   under Correct Org unit ie X with correct Org structure .
    When  we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under  hierarchy Org unit Not assigned which is OK .
    But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is  the latest Org unit .
    When I deactivate the Org unit hierarchy  and choose tech name of Org unit , It is showing correct Org unit key
    But The user would like to see 5 days under org unit X  and 4 days under Not assigned with  Correct Org unit hier structure  when we run the Report from 04.2011 to 05..2011  .
    We have a user Exit variable  for  the Key date  in the Bex Report  which  seems to be taking only one date at any time .
    Is  there any way to get the correct figures under Org unit hier structure where  employee had absence in when we put range of calendar months on a selection screen ?
    Any advice appreciated.
    Thanks.

    Hi,
    You can try adding two more attributes to Org Unit as "Calender month from" and "Calender month to".
    In these attributes maintain the validity period for the corresponding master data.
    For example, in your case you can maintain the master data as:
    Employee | Org Unit | Calender month from |Calender month to | sick absence
    A | X | 4.2011| 4.2011 | 5 days
    A |    | 5.2011 | 05.2011 | 4 days
    And in report use variables for Calender month from" and "Calender month to".
    Hence, when user executes the report with selection as:
    Calender month from" = 04.2011
    "Calender month to"    =  05.2011
    The data will be read from master data based on these selections along with key date and report will show output as expected.
    Employee | Org Unit | Calender month from |Calender month to | sick absence
    A | X | 4.2011| 4.2011 | 5 days
    A |    | 5.2011 | 05.2011 | 4 days
    Hope this works for you.
    Regards,
    Geetanjali

  • Product :  Errors in attribute hierarchy structure SAP BCA   000164

    Hi All ,
    When ever i create /Display /Change Product in
    Financial Supply Chain Management --> In House Cash > Master Data>Product Definition--> Product --> Create /Change/Display
    system through below mentioned error .
    I tryed to resolve problem as per below mentioned program through se38 , but still getting same error
    Errors in attribute hierarchy structure SAP BCA   000164
    Message no. FIPR217
    System Response
    An error was found in the attribute hierarchy.
    In some cases, it is not possible to display the attribute hierarchy without having to correct the errors first.
    Procedure
    It is recommended that you run the FIPR_CLEAN_ATTRIBUTES (by using transaction SE38).  This report can recognize errors, and it attempts to correct them automatically.
    Caution: This report can change your table entries permanently.
    Once this report has run, you need to check the hierarchy structure, and make any necessary changes.
    Regards
    Prakash Sharma

    Hi,
    the realignment (KEND) does not change the line item tables (CE1***, CE2***), thats why they remain unchanged.
    The line items in CE1**** can not be changed. If you really want to have new line items (with the new prod. hierarchy) try in test-client if the use of report RKECADL1 and the new transfer to CO-PA for the deleted line items (KE4S, KE4SFI,...) can help you (SAPNET-note 69370 for details).
    CE2**** + SQL-error: As per now, I don't have an idea how to deal with that cases.
    best regards, Christian

  • How to use File Adapter with hierarchial Structure?

    Hi,
    How to use File Adapter with hierarchial Structure like..
    Data:
    --Header Details:
    Line Item Details:
    Data
    Bcoz I am getting a Flatfile in a hierarchial way as shown below.
    Header Details :1
    Line Item a
    Line Item b
    Header Details :2
    Line Item c
    Line Item d
    Kishore

    Hey Kishore,
    In order to create a structure you need to use the file with convertion mode on the sending communication channel of the file adapter.
    check the link for the needed configuration paramters.
    If the structure is more complexed you can use the Contetnt master(CM) from itemfield which allows to ceate XML file from complex flat files and more.
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm">File sender adapter</a>
    If you have any question i'll be more than happy to assist.
    Nimrod Gisis

  • How to include the not assigned nodes in Hierarchy structure

    Hi Experts,
    I am running a report which has got Hierarchy variable type. After execution of the query some of the nodes appear always under "not assigned".
    Please let me know is it possible to include these not assigned node under hierarchy structure.If so how to do that?
    Regards
    Kumar

    Hi Subbiah.
    You can also supress the "not assigned" nodes in the hierarchy maintanence by choosing: Hierarchy attributes -> Supress unassigned nodes.
    Hope it helps.
    BR
    Stefan

  • How to create Formulas in the hierarchy structure

    Hi,
    Is it possible to create formula with in the hierarchy structure, so that the both hierarchy drill down and the created formulas can be displayed at the query output. Please give the valued suggestions.
    Thanks
    VEERU.

    Hello
    You have in this case to create a structure and select the node concerned in your hierarchy.
    Then create a new formula based on your previous selection for example.
    Rgds

  • In query designer, an hierarchy(structure)  duplicating lines in level 2.

    Here we are at version 7.0 - SP 10, I have created a structure hierarchy in BEX, and when I execute this query the result is ok ... until I tried to closed or open the second level.
    At first, it doesn't close, and the worst if I tried to open  it's
    duplicating the lines of the second level.
    In query designer, creating an hierarchy(structure) something like this:
    > total division 1    
    ...> division 1.1     
    ...> division 1.2     
    > total division 2    
    ...> division 2.1     
    ...> division 2.2     
    and after the execution, if I tried to close or open the level of division 2 the result will duplicates the lines division 2.1 and division  2.2. the result is like this:
    > total division 1    
    ...> division 1.1     
    ...> division 1.2     
    > total division 2    
    ...> division 2.1     
    ...> division 2.2
    <b>...> division 2.1     
    ...> division 2.2</b>
    The stange is in excel it works normaly.
    Best regards,
    Silvio Meurer

    Hi,
    An Heirarchy is always an addition of the below nodes. hence. WBS 1 = WBS 1.1 + WBS 1.2. since youre looking at durations. it will add up 7+9 instead of looking at earliest start and latest end dates.
    dont know if itll work but a suggestion would be to get the start date and end date for WBS 1 and then do the calculation for duration in a formula in query designer.
    regards,
    Dilanke

  • Error in the hierarchy structure - Data Load Failure

    Hi
    We are having a regular Master data hierarchy Full load: 0WBS_ELMT. This data load is from the SAP R/3 source system. It was failed today with following message:
    Error in the hierarchy structure     
    Node ID 00016749 does not exist.
    Node ID 00005867 starts an endless loop
    Node ID 00001367 has not been included in the hierarchy
    Can any one help me out to solve this issue?
    Best Regards,
    Venkata.

    hi,
    refer to this thread.
    No hierarchy displaying in the Maintain Hierarchies

  • 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

  • Creation of hierarchy structure

    Hi all,
    I need help bulding a hierarchy structure which is time dependent (hierarchy structure time dependent). I want to know if the hierarchy structure only depends on the NodeID and ParentID or if the time information is (date from and date to) is also taken in concern?
    I made a test and it seems that the hierarchy structure only depends on the node id and the parent id information.
    Please confirm.
    Points will be assigned.
    Cheers,
    Marco

    Hi guys,
    here is an example from the data that is passed to the transfer structure:
    NODEID
    INFOOBJECT
    NODENAME
    PARENTID
    DATETO
    DATEFROM
    TXTSH
    TXTMD
    TXTLG
    1009920
    FACILITY
    1009920
    1
    99991231
    10000101
    1009921
    FACILITY
    1009921
    1009920
    20080630
    10000101
    1009922
    FACILITY
    1009922
    1009921
    20080630
    10000101
    1009925 |FACILITY                |1009921                          |1009920   |99991231|20080701| |                    |                                        |                                                            |
    1009926
    FACILITY
    1009922
    1009921
    99991231
    20080701
    The result in the BW is that
    1009920 has the children 1009921 with 1.1 - 30.06.2008 and 1009921 1.7. - end
    the children 1009922 are both added to 1009921 1.1 - 30.06.2008!
    Correct would be that 1009922 1.7. - end is linked to 1009921 1.7. - end
    Regards,
    Marco

  • Hierarchy structure changes

    Hi All,
    I have one requirement at clent site where hierarchy structure changes i.e. parent child relation switches or changes from one level to another level. For example WBS element hierarchy stucture for project 101014 is:
    101014--root
    101014-1>101014-1-01>101014-1-01-02-->101014-1-01-02-01
    after above hierarchy load to bw there are chances that hierarchy nodes change their positions.
    i.e.above hierarchy node 101014-1-01 can be removed from  parent(101014-1) and assigned to 101014-2.
    In Next load Hierarchy need to realign/restructure according to new hierarchy tree from ECC system. Right now we are BW 7.30. Thanks for you help and gurantee of points.
    Regards,
    Reddy

    Hi Gaurav,
    Thanks for quick response, we are running process chain on daily basis which will trigger full load from ECC to BW. I thought the same but when I look below error message I think we need to some how delete hierarchy data and reload with restructed or realigned data. Please find below error details and once again thanks for your help.
    Node ID 00001564 has not been included as a sibling node or as a child node
    Message no. RH207
    Diagnosis
    The node with the ID 00001564 and the node name 101014-1-02-03 is not used as a child node (field CHILDID) or a sibling node (field NEXTID) by any node in the hierarchy. The node is also not a root node because the ID of the parent node 00001565 (field PARENTID) is not equal to 0. The node is therefore not linked into the hierarchy. Therefore the node is not connected to the hierarchy.
    Procedure
    This message is displayed in addition to message RH 242. The node is the root node of a subtree that is not connected to the hierarchy. For further details, see the long text for message RH 242.
    4 of a total of 13,846 nodes are not included in the hierarchy
    Message no. RH242
    Diagnosis
    The root nodes are the starting point for moving through the hierarchy. The content of the fields NEXTID and CHILDID is used to move from the current node to its sibling and child nodes.
    4 out of a total of 13,846 nodes cannot be reached by moving through the hierarchy in this way. These 4 nodes are not connected to the hierarchy.
    System Response
    The hierarchy is not consistent and therefore cannot be activated.
    Procedure
    The cause of the problem is usually incorrect links to sibling nodes (field NEXTID) or child nodes (field CHILDID). An incorrect value often means that an entire subtree (consisting of several nodes) is not included in the hierarchy.
    To simplify the search for incorrect links, the system identifies the nodes (from all the not connected nodes) that are not used as sibling nodes or as child nodes. These nodes are usually root nodes of subtrees that are not connected to the hierarchy. You can find these nodes in the RH 207 messages that follow.
    Try to localize the problem by using the RH207 messages for help. If the hierarchy is loaded from an SAP source system, you can check whether the extracted data is correct by executing transaction RSA3 in the source system. If necessary, check if the data is modified with a user exit. If the hierarchy is loaded from a file, check the contents of this file. The problem might also be due to an error in the transfer rules or in the transformation.
    Thanks
    Reddy

  • Report designer error for hierarchial structure on Columns

    Hello,
    I have a query with a structure in rows and another one in columns. I also have a 0COMPANY hierarchy Dimension within the Columns.
    When I insert the data provider into a report designer report, I receive the following error:
    "Query contains a hierarchial structure on Column(s)..."
    Has any one encountered this issue before? Is there a note or workaround available?
    Thank you.
    Sri Yalla

    Hi,
    the report designer need to have a fixed number of columns. If you have a Hierarchical Structure in the Columns, the number of columns can change. Therefore Report designer does not allow to use this DP in this drill down. You should place the Row structure to the columns and the hier-structure to the rows. then it should work.
    best regards,
    kai

  • Creating hierarchy structure in excel

    Hi,
    Could someone help me in how to create a hierarchy structure in excel like defining
    InfoObject X as Node 1
    InfoObject Y as Node 2 and etc.
    I have the excel file where we can create a structure but i lost that. if someone can send me a template i would really appreciate ur help.
    Thanks,
    pandu

    Hi
    If u need to create the structure
    Go to the IS datasource
    1)click the Heirarchy structute
    and u can see the structure that is the right structure u need to have in the Flat file
    Check this link also
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
    Hope it helps
    regards
    AK

  • How to understand the hierarchy structure of 0PLANT io?

    how to understand the hierarchy structure of 0PLANT io ?
    i can understand the hierarchy structure of PRODUCT io,
    well, i hope someone could explain the hierarchy structure of 0PLANT io
    thanks.

    Hi
    You can use following hierarchy tables
    RSTHIERNODE - Texts of Non-Postable Hierarchy Nodes
    RSEHIERNODE - Master Data: Hierarchy Nodes that Cannot Be Posted To
    RSMHIERNODE - Master data: Hierarchy nodes that cannot be posted to
    RSHIEDIR - Hierarchy Catalog
    RSHIEDIRT - Hierarchy directory texts
    RSREQHIER - Data Request hierarchy
    RSROLEHIERARCHY - Role hierarchy
    In addition to these have a look at K table & I table for 0PLANT.
    K table - Hierarchy SID table
    I table - Hierarchy structure table
    Hope this will help..!!
    Thanks,
    Vikrant

Maybe you are looking for

  • I have been upgraded my iphone 3GS,then i can't to activate anymore, what so i do.

    in my problem some one please tell me what should i do.

  • Can you link to another website in iWeb?

    Hi everyone, Is there a way in iWeb to use a page to navigate to another website i.e. Blogger? Many thanks!

  • Quad core MacbookPro Airtunes lag

    I recently purchased a new MacbookPro (2.3 GHz quad core) and whenever I try to use Airtunes in conjunction with the speakers on the MBP as well, the MBP has a slight, yet annoying lag.  This did not, and does not happen with my old MBP (2.6 GHz dual

  • MBP Not reading certain CDs

    Hi, We've just bought a brand new 2GHz MacBook Pro with an extra 512Mb RAM installed (by Apple). After dutifully downloading about 400Mb of updates, including upgrading it to OSX 10.4.7 and downloading a firmware update (everything went fine), we sta

  • Global enviroment variables for EJBs?

    Hi there, I'm pretty new to all java & java EE stuff, so bare with me if I say smth stupid :) I'd like to know what is the proper way of setting configuration options (eg. application name, ldap connection settings, etc). What I've found so far is th