Want to Replicate Dynmic Tree of HR organization

I need your help. I have one requirement.  I want replicate one tree that is shown in Transaction pposa .
Details of Requirement.
If you go to pposa .You can see Find By option at top. In that on click of Organization Units >> Structure Search it shows all Organization Units Defined .
Now I want show same Organization Units in Tree format over my WebDynpro . What problem I am facing is I have came with 2 possible solutions .
Making Tree based node structure and binding Tree UI element to it. But problem is I am able to do it when I know level to which tree can be drilled down .
But actually daily new Org units are added and new Drill down level is increasing so I need some Dynamic node creation and Tree creation alternative .
I have never tried Dynamic programming and in that Dynamic Tree Creation .
2 .Second solution I have found is Developing module pool prg which will show job of showing tree and then picking that Module pool screen in WeB Dynpro.
What will you suggest ? Is Such way possible ? If yes picking Module pool screen is it safe in Dynpro .
  I have one Standard report available called RHXSTR00 which I am plling to use in Module pool and picking in WD ABAP.
Please give me some suggestion .
Cheers,
Parry

Hi Parry,
I think the WD Component WDT_TREE may help you to do that. Here he has implemented TREE. Just check that it will be helpful to you. Otherwise please ignore this message.
Warm Regards,
Vijay

Similar Messages

  • I want to increase the text on the organizer screen

    I want to increse the text on the organizer screen

    Not an option. In Windows you can change display characteristics to increase text size but that would affect all applications not just PSE (you'll also probably need to select 'Use System Font' in Edit> Preference> General)
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Want to replicate services for object functionality in my z- program

    Hi
    I can see the "Services for object functionality" in IW32 transaction. I want to replicate the same functionality for my custom program.
    Please let me know if I can get any pointers for this.
    Regards
    Swetabh

    Hi,
    check out the program of the iw32 tcode.
    then in debugging mode find the code where exactly the requirement is going on with the code of the program.
    then copy that code in your custom program and do the needful changes.
    Regards,
    Venkat n

  • I want to delete all tree node at a time

    hi all
    i built my tree manualy using ftree.add_tree_node (not by record group and populate the RG) and i want to delete all tree nodes at a time in one statment
    please urgent

    hi
    try something like this.
    DECLARE
    htree ITEM;
    num_selected NUMBER;
    BEGin
    -- Find the tree itself.
    htree := Find_Item('tree_block.htree3');
    -- Find the number of nodes marked as selected.
    num_selected := Ftree.Get_tree_Property(htree, Ftree.SELECTION_COUNT);
    -- Loop through nodes and delete them. Since nodes are internally
    -- re-numbered when one is deleted, be sure to loop in reverse
    -- order from last to first.
    FOR j in num_selected..1 LOOP
    Ftree.delete_tree_node(htree, Ftree.Get_tree_Selection(htree, j));
    END LOOP;
    END;If its Correct/helpful please mark it thanks.
    Sarah

  • Want to select a tree node Programmatically

    Hi all,
    I have a tree which is acting as a menu and by deafult which nodes are collapsed. Now what I need is I want to select a tree node(which node value or node label is known) by clicking a button. Pls help me. Bye.
    BR
    Tarik.

    Is it about this one?
    FTREE.SET_TREE_SELECTION(tree, node, FTREE.SELECT_ON)
    If another node is already selected, first unselect it:
    FTREE.SET_TREE_SELECTION(tree, FTREE.GET_TREE_SELECTION(tree, 1), FTREE.SELECT_OFF);

  • Updated to Mac OS X to be 10.6.8 & Safari DOA , downloaded Firefox 5 which auto imported all Safari bookmarks. I want to export from FF5, no find "Organize Bookmarks" command.

    Updated to Mac OS X to be 10.6.8 & Safari DOA , downloaded Firefox 5 which auto imported all Safari bookmarks. I want to export from FF5, no find "Organize Bookmarks" command.

    In my Library/Internet Plug-ins folder I have a file named Flash Player.plugin (it's 22.8 MB however, not 23.9mb) and another named flashplayer.xpt (it's 4 KB however, not856 bytes).
    I am unable to open the Plug-Ins menu (the browser pops up but wont load)...is there another way to check for Shockwave Flash?? When I do a search for "Shockwave" on my hard drive I do find a plug-in named "DirectorShockwave.plugin" (76 KB)
    Also...The "Open using Rosetta" checkbox was already unchecked

  • Want to replicate Payext  IDocs and send them to another logical system

    Hi all
    we are generating payext Idocs to a bank partner profile using rffoedi1 program. Our requirement is to replicate the same payext IDoc and send to another logical system using a different partner profile.
    I have a rough idea of sucking data from EDID4 table....
    Can any one let me know how the code looks like If we have to create same IDocs again with different control record with same kind of data?
    can some one throw their ideas of doing this with less development work?
    Thanks
    Steve

    Try this way:-->
    1.Using fm IDOC_READ_COMPLETELY get complete data of IDoc you want to send, then change the Header record (EDIDC) with new partner profile, port and other values
    2. Pass these values to fm MASTER_IDOC_DISTRIBUTE.
    (pl remember to clear EDIDS values before calling above said fm)
    This will send your IDoc to new destination
    a®s
    Edited by: a®s on Apr 10, 2008 3:41 PM

  • Tree Display in Organizational Plan

    Dear Experts,
    Looks simple, still I am not getting .....
    In PPOMA_BBP, PPO_SA_BBP, if I display the assignment tree for any Org Unit or Position, it displays the assignment tree from top to bottom.
    But if do the same for user, central person, employee.... it shows the assignment  tree from bottom to top.
    Can we change the way it displays i.e. "bottom to top" or "top to bottom" as and when we want?
    Thanks,
    Ganapathi

    In PPOMA_BBP, PPO_SA_BBP, if I display the assignment tree for any Org Unit or Position, it displays the assignment tree from top to bottom. But if do the same for user, central person, employee.... it shows the assignment tree from bottom to top.
    If you think about it, org unit or position are like placeholders, or folders in a file system if you will. The tree would logically show what/who belong to it. However user, central person or employee are the "leaves" of the tree meaning they don't "contain" any sub-division of the structure. Hence the display shows what/who's containing them upwards. Does that make sense to you?

  • Feedback Wanted on Windows 7 versus Elements 9 Organizer

    I am a Windows 7 user.  Does anybody have feedback on the merits of using Windows 7 versus Elements 9 Organizer for managing a sane filing system so there aren't duplicates OR deleted photos?   So far, I would agree with the previous thread that mentioned the ease of use with CS5's Bridge system compared to Organizer.  Do you use the People/Place/Events templates set up in Organizer or forget about it?

    Firstly, the major difference between Bridge and Organizer is that Bridge is a file browser, like Windows Explorer.  Organizer is a file cataloguer, meaning that it stores its own information (tags, albums, etc.) in its own database.
    I occassionaly use Bridge as sort of an "enhanced" Windows Explorer when I want to see thumbnails of PSD files and other file formats that don't display as thumbnails in Explorer.  Bridge pretty much follows the folder structure that you've established in Windows, so if you're happy with your file system organization you'll be happy with Bridge.
    For my money, Organizer is much more powerful because the organization and display of its database information is independent of the file system structure.  For example, photos stored in wildly separated file folders can be viewed next to each other in Organizer if those photos have a tag in common.  Tagging all your photos in Organizer and optionally also putting them in "albums" is a lot of work up front, but once done, really releases the power of Organizer.
    That's somewhat of a subtle point, and often overlooked by users of all different sorts of database programs, such as recipe managers.  The bottom line is that if you're using a database program, it's completely irrelevant where your data (photos or recipes) are stored or how their filing system storage is structured.  The critical thing is to tag 'em correctly in a way that makes sense to you.  Tags are very cheap in terms of storage space, so the more tags the better -- then you can slice and dice your data in so many versatile ways.
    Another impressive feature of the Organizer database comes into play if you've catalogued photos on removable media, such as CDROMS or external hard drives.  You can still work with the small images in Organizer even when your external media isn't attached.
    Ken

  • How can I restrict access to cloud storage from Creative Cloud? We don't want our users putting files outside the organization.

    We need to restrict our users from storing files outside the organization. How can we restrict this capability?

    They have Cs6, however I need to have my own copy, and the highest I can go with my system is CS5, maybe even 5.5. I've a small budget, and most copies are being sold for massive amounts because they're like collector items. I've seen the ones actually affordable within my range from sellers that arent trustworthy, or they're updates which I can't use. I had Cs2, but with updates to operating systems they stopped working. Thank you for your kind assistance.

  • Need Help Urgently ...regarding Dynamic Tree

    Hi Friends ,
    I want to display Dynamic Tree . Please see T code
    pposa . You can see Organization tree on click of Org str . I want replicate same over WebDynpro .
    I feel I have to use Dynamic programming for the same ? Am I correct ? Is there any other mean to replicate that tree over webDynpro ?
    Now I am refering WDR_TEST_EVENTS and View TREE_STATIC_DYNLOAD . I feel it addresses my requirement . Now ON_LOAD_CHILDREN I am writing following code
    data:
        new_node_name       type string,
        guid                type guid_32,
        lr_context_node     type ref to if_wd_context_node,
        lr_new_context_node type ref to if_wd_context_node,
        lr_node_info        type ref to if_wd_context_node_info,
        lt_attributes       type wdr_context_attr_info_map,
        attribute           like line of lt_attributes,
        lt_context_nodes    type wdr_context_child_map,
        data_source_path    type string,
        text_path           type string,
        expanded_path       type string,
        objid_path          type string,
        lr_tree_node_type   type ref to cl_wd_tree_node_type.
    check, if the context node has already a child node
      lt_context_nodes = context_element->get_child_nodes( ).
      if lt_context_nodes[] is initial.
        call function 'GUID_CREATE'
          importing
            ev_guid_32 = guid.
        new_node_name = guid.
        translate new_node_name to upper case.                "#EC SYNTCHAR
        concatenate 'G' new_node_name into new_node_name. "guids might start with a number
    attribute-name      = 'STEXT'.
        attribute-type_name = 'STRING'.
        insert attribute into table lt_attributes.
        attribute-name      = 'OBJID'.
        attribute-type_name = 'STRING'.
        insert attribute into table lt_attributes.
        attribute-name      = 'EXPANDED'.
        attribute-type_name = 'WDY_BOOLEAN'.
        insert attribute into table lt_attributes.
        lr_context_node  = context_element->get_node( ).
        lr_node_info     = lr_context_node->get_node_info( ).
        lr_node_info->add_new_child_node(
          supply_method                = 'SUPPLY_ORG'
          supply_object                = me
          name                         = new_node_name
          is_mandatory                 = abap_false
          is_mandatory_selection       = abap_false
          is_multiple                  = abap_true
          is_multiple_selection        = abap_true
          is_singleton                 = abap_false
          is_initialize_lead_selection = abap_false
          is_static                    = abap_false
          attributes                   = lt_attributes ).
        lr_new_context_node = context_element->get_child_node( new_node_name ).
        data_source_path = lr_new_context_node->get_meta_path( withoutcontroller = abap_true ).
        concatenate data_source_path '.STEXT' into text_path.
        concatenate data_source_path '.OBJID' into objid_path.
        concatenate data_source_path '.EXPANDED' into expanded_path.
        lr_tree_node_type = cl_wd_tree_node_type=>new_tree_node_type(
                              bind_data_source = data_source_path
                              bind_text        = text_path
                              bind_expanded    = expanded_path
                              on_load_children = 'ON_LOAD_CHILDREN'
                              view             = wd_this->m_tree->view ).
        wd_this->m_tree->add_node_type( lr_tree_node_type ).
      endif.
    Please note my context str is as follows .
    Org_tree (1..1  , lead initiallizatiion flag set )
    |-------Node_Org_Unit (0...n )  (  With supply function  )
                 |________________STEXT
                 |________________EXPANDED
                 |________________HROBJID
    Am I correct ?
    I am getting dump as
    The following error text was processed in the system DJA : Der Parameter PATH enthält einen ungültigen Wert .
    The error occurred on the application server q4inpusy007_DJA_01 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: ONACTIONON_LOAD_CHILDREN of program /1BCWDY/0V6J0XAP77D0N0LEA1QL==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/0V6J0XAP77D0N0LEA1QL==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Please help me .
    Points will awarded .
    Cheers
    Parry

    Another possible option is to show a dialog with no OK button. If you hold a reference to it, you can discard the dialog when the operation is complete.

  • [Tree] item and node order ! (Recursive Node)

    I made a wd4a has organizatonal structure tree. but I have some problem with the org tree.
    I want to have a tree(org structure) in item(person) and node(organization) order.
    Root                                            Root
      |- Person 1                                    |- Head Dept
      |- Person 2                                    |        |-Person 3
      |-Head Dept                        ->        |        |-Person 4
      |       |- Person 3                             |-Sales
      |       |- Person 4                             |- Person 1
      |-Sales                                          |- Person 2
    ( to be displayed)                                 (current displayed)
    Whiat's the problem?
    Although the both of them have a same contents, I really want to display in person and org order .
    Plz. help.

    I solved this problem myself and it makes me very so tired.
    I guess that Recursive node tree have some bugs.
    If a node have one recursive node and one sub-node and some kinds of attributes,
    we have to make a decision on how to display and sort them(sub-node and attributes)
    There is a example below as I really want to sort them.
      C_Drive Folder
    - file 1
    - file 2
    - Folder 1
    - file3
    - Folder 1-1
    - Folder 2
    Context
        |-Folder Node
        |      |-File Node
        |      |       |-File Name attribute
        |      |-Folder Name attribute
        |      |-Folder_Content             -> Recursive Node
    When you meet this situation,you must implement the context nodes and
    the names of context node and recursive node must be in alphabet order you want to display.
    I am sorry for my crumsy writting English.

  • How to create dynamic tree component

    I am using netbeans 5.5 and visual web pack to develop my jsf application.
    I want to add a tree component that will be tied to a table with following columns:
    id,parent_id,name
    Actually the table stores data in tree structure with parent_id storing the parent of the row.
    So a row with parent_id = 0 will be the root nodes of the tree.
    When ever any root node is selected i want to fetch its children from the database and populate then as children of that parent node.
    The tree can go to any depth so i want to make my tree component dynamic enough to handle this requirement.
    How can i accomplish this.
    I just want to add listerner for the plus sign of every node so that when the plus sign of that node is clicked i just want to get the id of the corresponding node.

    What i'm trying to do is create an organizational structure.
    Global>Region>Plant-->Corporation
    The output from the RFC is a structure containing every possible combination for orgazational hierarchy. Basically a flat table with record for every possible combinaton of Region-Plant-Corporation. This data needs to be bound to a tree structure so that we can call BW queries based on that level. For example: Give me aged inventory for the SAP corporation within the plant Berlin that is located in the Europe region.
    Now that you understand the business reason will the nodes that represent Region and Plant and corporation be non-singleton nodes or recursive? I was thinking a hierarchy of non-singleton nodes.
    I can bind these nodes to the Region - Plant - Corporation elements returned from in the flat table structure. I will probably get duplicates as a specific Region will be listed multiple times for every possible combination of the data beneath it. I'm not so concerned about that right now as I want to make sure I understand how in Web Dynpro to bind the data to the tree.
    Hopefully this makes some sense. Can you elaborate on how this may be constructed in context of the view?
    Would i create a model node for region (0..n), model node for plant (0..n), and a model node for Corporation (0..n)?
    Or does this sound totally incorrect?
    julian
    We have 3 regions over 50 plants and probably around 500 corporations.

  • Create a tree node and show the report on the same page

    Hi,
    I have created a tree for our organization and each node represents a unit. The top one is office level and followed by division and brach.
    I have created a reprot on the same page as the tree node.
    What I want to do is:
    I would like to click a specific node and the report shows only that node and bellow. So, If I click division A and division A has two branch. my report shows only those two braches that bellong to division A.
    Can someone help me?
    Thank you

    The only way it could work is using iframes. Now OBIEE 11g would not allow iframes inside it's dashboard. It offers a dashboard object called "Embedded content" which is a restricted iframe kinda thing but unless you get this object's id from generated HTML you can change it's content dynamically. Besides, such an implementation may break with next patch. So here is an idea.
    Create a HTML page with two iframes, left one will hold all the reports with links (you can always generate a list of reports through catalog manager, open it in excel and make HTML links from it) that open report urls (in the format of ./saw.dll?GO&Path=....) in right iframe (using javascript open.window method). Once that page is working, call this page from dashboard using an action link. This is slightly twisted approach but at least it would give you what you asked for.
    About making the report list dynamic, I am afraid there are no easy answers. OBIEE provides web service that will allow the users to query catalog to get a list of reports. You can try some basic JSP to access the web service and generate the list dynamically. But that is not something I can provide here.

  • Programmatically start rename of tree item

    Hi all,
    I want to replicate the behavior seen in many tree controls/list boxes. For example in the LabVIEW project you can right-click on an object and select "rename" or press F2 and the text of the item will be highlighted ready for the user to type a new entry.
    I can populate the shortcut menu etc. but I can not find how to programmatically initiate the edit operation, any ideas? Simulating a mouse down event with a DLL call seems a bit hacky.
    Thanks,
    Steve.
    Solved!
    Go to Solution.

    Hi St3ve,
    You should be able to achieve this with the tree EditPos Property - as mentioned in the help be sure to set keyfocus first. 
    Regards,
    Tom L.

Maybe you are looking for

  • What exactly does the AppleCare cover for MacBook Pro with Retina Display?

    I purchased the extended protection plan for my MacBook Pro with Retina Display 15" and my question is what exactly does it cover in what kind of situations (i.e. viruses, damaged ports, damaged charger, etc.)? I want to be able to take full advantag

  • Displaying Field Names in a list on the next page

    In my BIP template I have a table that lists field names and underneath I have a for-each statement that lists values. Is there anyway that I can list the field names on the next page when the number of records start to run onto the next page? Thanks

  • Central monitoring in SOLAM+ALE status

    Hi guys, Please refer to my post in Solution manager forum. I belive this issue is with interest of this forum as well. [Question posted in Solution manager forum|Central PI Monitoring and Alerting in Solution manager; Your opinion will be most wellc

  • ORA-30352: inconsistent numeric precision or string length

    Trying to create a materialized view and am getting this error. ORA-30352: inconsistent numeric precision or string length How do I fix this?

  • Mb1b for transfer posting

    Hi all,   In MB1B, I am using USEREXIT(MBCF0002) for checklogs .Here , i want to update data like po number, quantity, .....and goods receipt number. For Goods receipt number updation iam using bapi called BAPI_GOODSMVT_CREATE Here iam getting error