Table - tree

Dear Friends,
    I have a requirement to display an output using Tree; as I am very new to WDA I am trapped in the middle of my design. Can anyone provide me an insight of how to achieve the requirement below,
I have table “org_data” with following columns
Org_unit org_desc goal_key
I have another table “goals” with following columns
Goal_key Goal_Desc
I wanted a tree to be displayed as follows,
Org_Unit1 (Org_Unit Desc)
    --Goal1 (Goal_Desc)
    --Goal2
    --Goal3  
Org_Unit2
    --Goal2
    I thought of using the Table (Table master column) and the Tablebykeycolumn.
In this case, how should define my context and what values should I pass for the Parentkey, rowkey etc. Any other thoughts for achieving it is also appreciated.
Thanks,
Kanthimathu

I referred to the following post in the Wiki page,
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/09/11/integrationofTreeStructureinaTableusingWebdynpro+Abap&
it solved my problem.

Similar Messages

  • Table tree in struts.

    Hi All,
    Please help me to create table tree in struts.
    Please see the below example.
    +----Parent           50       20
    |___Child1 40 10
    |___Child2 30 33

    java_jamboree wrote:
    mind blowing i did not know Struts provides the UI framework to create widgets:-) you've been here too long, the sarcasm's beginning to rub off on you!

  • Is Paginated Tree-Table/Tree supported using ProgramaticVO

    I have question Is Paginated Tree-Table/Tree supported using Programmatic View Object technique (http://docs.oracle.com/cd/E21043_01/web.1111/b31974/bcadvvo.htm#sm0341)

    Thanks Timo for reply, let me add more details to the question, i wanted to know if we have a tree/tree-table build using paginated VO, is the pagination will work for the sub nodes in the tree/tree-table i.e if we have child itself has 100 of rows and when we expand child, will pagination work?
    I am also looking for some input/examples if someone has tried paginated tree using programmatic VO.
    Thanks
    ..Sunil

  • Table/tree table refresh issue

    I create a table and tree table, we see the refresh happen when adding or deleting a row. We are trying to reach the following behavior:
    1) when adding a row, it should add (before or after or END) and scroll to that location and put focus on that row. In a simple case where we do not have to scroll down to some page, this should present minimal refresh
    2) Deleting a row or multiple rows, should present minimal refresh
    3) we don't want to fetch at all for ADD and delete rows. Only in pagination scrolling we should fetch.
    Does anyone have the similar requirement for the behavior of Table /Tree table?
    how do you achieve that ?

    Hi KRISHNA,
    there is no other way as a complete page refresh with the normal APEX trees. But you could use an javascript library instead like JQuery or ExtJS.
    More details here: [http://apex-at-work.blogspot.com/2009/08/apex-navigation-concepts.html|http://apex-at-work.blogspot.com/2009/08/apex-navigation-concepts.html]
    or here: [http://www.e-dba.com/uk/f?p=105:1|http://www.e-dba.com/uk/f?p=105:1]
    or here: [http://bassistance.de/jquery-plugins/jquery-plugin-treeview/|http://bassistance.de/jquery-plugins/jquery-plugin-treeview/]
    Best regards,
    Tobias

  • Material for Table Tree

    Dear Developers,
    I am looking for any documentation (source codes, technical documentation... etc) for the creation of a table tree with WDA. I only found a documentation for Java. I've also read that there is some documentation which is being written about this subject. Has it been published yet ?
    Sincerely,
    Olivier MATT

    Hi,
    see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/ac884118aa1709e10000000a155106/frameset.htm">here</a>, there's also the information on TreeByKeyTableColumn and TreeByIndexTableColumn underneath.
    See also the example WDR_TEST_TABLE in the system.
    Regards, Heidi

  • Agentry complex table tree additional field

    Hello)
    I added for complex table one field and modified the sql. Now I'm trying to make that field to be displayed in complex table tree. I modified tree format as "%location - %myNewField" but in the Test environment it is shown as "1000 - err:myNewField". What else I need to check? I don't want to modify indexes, cause they are fine as is. I just need additional data to be present.

    ok, I made it =) for some reason when my field name was "CUS_business" - it couldn't understand it, so when I renamed table field to "cusbusiness" - it works

  • Complex Table Tree Button Image

    Hi all,
    it seems that with SMP SDK 3.0 SP7, the styles for the comlex table tree dialog are supported for the WPF client (yay!). Unfortunately, the button for opening that dialog () is still pretty small for the average thumb. Is there any way to replace that image?
    Regards, Daniel

    Daniel,
    The engineering team is working on making the WPF client more touch friendly.  You may have already noticed some changes in SDK SP07/PL01 where spacing is increased in rows for drop downs, lists, etc.  I believe there are also more changes planned for SP08 as well in this regard.
    The only thing you could try would be in the editor under Application Settings the checkbox for Use Large Buttons.  I do not know if this will affect the WPF client or not.  You would just need to test it out and see.
    Support is also working on a note to detail out some of the changes being made to make the WPF client more touch friendly.
    --Bill

  • Clickable UI element in a table tree as a child

    Hi experts,
    I haev created a tree in a table column. And in a treebykeytable coumn of a table, what type of cell editor can be included so that we can capture a event on a click of it.
    I.e once a child is clicked- I want to caoture the value of child clicked and navigate further.
    I dont want to use linktoaction UI element and moreover table need initialze lead selection and on using linktoaction, for clicking any child it capture only root value i.e lead selected by default.
    Thanks
    Depesh

    https://www.sdn.sap.com/irj/sdn/nw-70
    would help you
    regards
    nag

  • Error in Webdynpro ABAP Table Tree

    Hi,
    I am using Table UI element in Webdynpro ABAP. I am showing data in tree format using element Treebykeytablecolumn.
    I have full tree structure loaded in begining of the code so don't need to load child on expansion of key. Since I have data already loaded, am setting attribute CHILDREN_LOADED as true.
    First row comes in table perfectly, but on expansion its giving error "The Entered Value Is Not on the List of Valid Values." Please  let me know your valuable input on this.
    Thanks and Regards,
    Praveen.

    Hi Shaira,
    I have removed all values from table and left only row key and Parent key then also I am getting the same issue. Could you please let me know what kind of data mismatch can be. Please let me know some example, if you have faced this issue.
    Thanks and Regards,
    Praveen.
    Edited by: Praveen Kumar on May 19, 2011 7:17 AM

  • Problem when upgrading to 2004s - Table Tree

    Hello everyone,
    I'm having a problem with a project that i made in 2004 and now i need to migrate to 2004s.
    In a view, i have a table with tree using a master column. When i choose o child to process, i do something like this:
         IPrivateTestView.INodeElement select;
         select = wdContext.currentNodeElement();
         IPrivateTestView.INodeElement elem;
         elem = select.currentChildNodeElement();
    But in some cases, with 2004s, i get this error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: DataSource attribute of table not valid. [Table Table in view class com.sap.tc.webdynpro.progmodel.generation.DelegatingView]
    Anyone can help, or had this same problem ?
            Thank you,
                 Nuno

    Hi Dzmitry Laptsionak  ,
    Need your help in Webdynpro Java Using Tree UI.
    We need to capture the currently selected node of the tree. We tried using Leadselection as we do in Tables UI but in Tree UI its not giving the currently opened node. We tried using getTreeSelection() method but it returns nothing. Do we need to do some properties setting to use getTreeSelection() method?
    Appreciate your response.
    Kind Regards,
    Nirmal

  • Missing tables in the Table tree

    I installed SQL developer version 1.5.0.52 and I noticed that some of the tables that should be showed in the tree were missing. Although I can see these tables writing a command :
    Select * from user_tables where table_name like 'AQUA%'
    Also, I can use these tables in queries and the 'Find DB Object' find them but these tables are not showed in the tree. The owner has more then 600 tables and I didn't notice a problem like this in previous versions of SQL Developer.
    Has somebody any idea about?
    Thank you

    I am also experiencing the same issue, although no tables / views / indexes / triggers are displayed in the object tree for any of my connections.
    I am using verison 1.2.1. Will downloading version 1.5.0.52 fix this issue? Thank You

  • Filter table tree

    Hello,
    I've been playing with trees in WDA and i've come across some problems.
    I must be able to display a tree based on a recursive node. So I use a table with a mastercolumn of type TreeByNestingTableColumn.
    all good all happy.
    But I also want to be able to filter the darn thing.
    So I implement the OnFilter action of the table in which I dispatch to the table method handler, create the filtering node and set the filtering values.
    In any normal plain table this works like a charm. I believe it even works in a TreeByKeyTableColumn case [update: it doesn't! Same problem there], but in my particular case with the recursive node, the filtering dumps on an assertion.
    What happens is, that during the filtering, the fixed_row_count (actually at that point it's called row_count) is set to the amount of filtered lines.
    Later on, during rendering a check is done that the fixed_row_count must be set to -1 (sap standard) because apparently a tree isn't allowed to have fixed rows. the whole thing dumps at that point (assert something = -1)
    Is this intended behaviour from SAP standard, or am I missing a step?
    Maybe I need to call an extra method or something...?
    and on a sidenote, is there a standard function or method that I can use to export the table contents to excel?
    Thanks in advance,
    Tom
    Edited by: Tom Van Doorslaer on Sep 1, 2008 5:43 PM

    Dump extract:
    What happened?
        In the running application program, the ASSERT statement recognize
        situation that should not have occurred.
        The runtime error was triggered for one of these reasons:
        - For the checkpoint group specified with the ASSERT statement, th
          activation mode is set to "abort".
        - Via a system variant, the activation mode is globally set to "ab
          for checkpoint groups in this system.
        - The activation mode is set to "abort" on program level.
        - The ASSERT statement is not assigned to any checkpoint group.
    Error analysis
        The following checkpoint group was used: "No checkpoint group specified
        If in the ASSERT statement the addition FIELDS was used, you can find
        the content of the first 8 specified fields in the following overview:
        " (not used) "
        " (not used) "
    code extract:
       60
       61     when cl_wd_tree_by_nst_table_col=>cid_tree_by_nst_table_col.
       62       nst_table_col ?= m_wd_row_arrangement.
       63
       64       " TableTreeByNesting does not accept a fixed row count
    >       assert m_fixed_row_count = c_no_fixed_row_count.
       66
       67       concatenate m_data_source_path_name '.' into match_path.
       68       len = strlen( match_path ).
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       19 METHOD       CL_WDR_TABLE_DATA_PROVIDER====CP    CL_WDR_TABLE_DATA_PROVIDER====CM001    6
          CL_WDR_TABLE_DATA_PROVIDER=>GET_TABLE_DATA
       18 METHOD       CL_WDR_TABLE_DATA_PROVIDER====CP    CL_WDR_TABLE_DATA_PROVIDER====CM008    1
          CL_WDR_TABLE_DATA_PROVIDER=>GET_VISIBLE_TABLE_DATA
       17 METHOD       /1WDA/L3STANDARD==============CP    /1WDA/L3STANDARD==============CCIMP   89
          CL_TABLE=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT
       16 METHOD       /1WDA/L8STANDARD==============CP    /1WDA/L8STANDARD==============CCIMP   34
          CL_FLOW_LAYOUT_ITEM=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT
       15 METHOD       /1WDA/L8STANDARD==============CP    /1WDA/L8STANDARD==============CCIMP   16
          CL_FLOW_LAYOUT=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT
       14 METHOD       /1WDA/L7STANDARD==============CP    /1WDA/L7STANDARD==============CCIMP   58
          CL_TRANSPARENT_CONTAINER=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT
       13 METHOD       CL_WDR_INTERNAL_WINDOW_ADAPTERCP    CL_WDR_INTERNAL_WINDOW_ADAPTERCM007    6
          CL_WDR_INTERNAL_WINDOW_ADAPTER=>CONV_VIEW_INTO_VE_ADAPTER_TREE
    ME->M_FIXED_ROW_COUNT
        1
        0000
        0001
    ME->C_NO_FIXED_ROW_COUNT
        -1
        FFFF
        FFFF
    Edited by: Tom Van Doorslaer on Sep 2, 2008 8:34 AM
    Edited by: Tom Van Doorslaer on Sep 2, 2008 8:35 AM

  • How to get the table/tree/list cell underneath the mouse

    I feel like I must be missing something. How can I find out the tree cell underneath the mouse cursor?
    I am implementing drag and drop from a table to a tree. I need to know which tree cell the user dropped the item on. I can get the drop coordinates (in pixels, I assume) from the drag event, but there doesn't seem to be a way to convert that into the particular cell index. This same question applies to getting the list and table cell under at particular coordinates.
    If there isn't an API for this, has anyone found a reliable workaround (dividing Y by cell height, etc.)
    Thanks,
    Josh

    You need to put event handlers for the D&D events on the Cells that are being created (so you will need to set a custom cell factory). For example, every cell is a Node, and these support properties like 'onDragDroppedProperty', and 'onDragExitedProperty'.
    When you add event handlers to these, you should be notified of items being dragged onto specific Cells of the Tree. A Cell then can be matched with a particular item in the Tree by reading its TreeItem property.
    Also read the documentation for TreeItem. There is a bit there that says:
    "It is important to note however that a TreeItem is not a Node, which means that only the event types defined in TreeItem will be delivered. To listen to general events (for example mouse interactions), it is necessary to add the necessary listeners to the cells contained within the TreeView (by providing a cell factory)."
    Which gives a clear hint at the end that for other interactions, you should add listeners to the Cells.
    Good luck!

  • Multi table tree

    Hello,
    I'd like to ask, if it's possibile to create tree using data from a few tables. First level of hierarchy comes from tabele 1, second from table 2 and so on.
    Thanks for help;)
    Blazej
    Edited by: TheJoshuaTree on Mar 9, 2009 7:50 PM

    Hi,
    Yes, you can do that provided you can create ID's and parent ID's correctly, if necessary by bumping up the existing ID values to make them unique. Here's an example: Re: Trying to create a tree for the first time, missing something
    Andy

  • Display the part of table tree based on input parameter

    Hi,
    I have the use case where I have to display the tree table based on the input parameter.This input parameter will display the displaying the node of tree which are under the given input node id.
    so If given node id is 10 then we should to display the node which are under 10.rest should not get displayed.
    Can you tell me how it can be achieved using ADF.
    I am using jdev 11.
    Thanks,
    Harsh

    This depends on how you apply the VC to the VO at runtime. Easiest way to accomplish this would be to create a VO in the data model of the application module which you edit in the data model to already having the vc applied to.
    In your region you can then drag the 'executeWithParameters' method onto the task flow and make it the default activity. Here you map the input parameter of hte task flow to the parameter needed for the executeWithParameter.
    For hte method you get a binding like
        <action IterBinding="EmployeesByNameIterator" id="ExecuteWithParams" RequiresUpdateModel="true" Action="executeWithParams">
          <NamedData NDName="bindLastName" NDValue="#{pageFlowScope.pname}" NDType="java.lang.String"/>
        </action>
    NDValue="#{pageFlowScope.pname}"
    is the inputParameter from the region (or task flow).
    Timo

Maybe you are looking for

  • Problem opening device from Java on Windows XP

    Hi, I am having trouble opening the TUN device (it is a virtual network device developed by the OpenVPN project - http://openvpn.net) from Java on Windows. I found from the registry that the key for the device on my machine is {5998ABF4-70CC-4B8C-9CB

  • FTP in a Java program.

    Hello all, Im wondering, is there an FTP api for Java? Id like to make my programs update my website if thats at all possible, just uploading jpegs and xml files from a program Ive been writing which organises my photographs. Ive got a website hosted

  • Log Files out of Control - How to manage size?

    This is a two part question: 1) Our Apache2 error log has grown to 41 GB!!! How can we clear it? 2) Is there a way to limit log file growth? 3) Is there an application to manage log files on a server? We are running Leopard Server 10.5.x. Thanks!

  • Problem with group concat

    Hello, I would like to group concat my data : instead of having : Here's my output data : ID | Brand 55 | Xcel 55 | DCS I would like to get : ID | Brand 55 | XCEL, DCS but when I'm using the function wm_concat or group concat I've an error message. T

  • JSF own component

    Hi. I am developing own JSF component, something like Switch compoennt which have oracle - ADF Faces Components. On JSF page will be this tag: <s:switch value="facet2"> <facet name "facet1">..... </facet> <facet name "facet2">.....</facet> </s:switch