WD ABAP: Recursion Nodes that Repeat Tree Nodes with Embedded Tables ???

At Rich H's suggestion, I'm posting this here as well as in the blogs.
Suppose you've got a tree context with a node that has a table embedded under it. (For example, the TREE_WITH_TABLE view of WDR_TEST_EVNT has this kind of context substructure.) Call this node "NODE_WITH_TABLE."
You now define a recursion node underneath "NODE_WITH_TABLE" and specify "NODE_WITH_TABLE" as the repeated node for this recursion node. Call this recurion node "RECURSION_NODE".
Lo and behold - the table fills properly when you're on any instance of "NODE_WITH_TABLE", but not when you're on an instance of "RECURSION_NODE".
I'm hoping that:
a) I'm doing something wrong;
OR
b) There's an easy work-around/alternative I'm not seeing
OR
c) SAP will give recursion nodes enough memory to carry any table(s) embedded in the nodes they're repeating.
'Cause I sure don't want to have to define "n" levels of tree-nodes that have different copies of the same table(s) embedded in them.
Message was edited by: Armin Reichert

/people/david.halitsky/blog/2006/08/16/recursion-nodes-that-repeat-tree-nodes-with-embedded-tables-in-wd-abap-not
Maybe you might want to back out your weblog as it is not really a place to ask these types of questions.  Think of it this way,  if you are allowed to do this type of weblog,  what is stopping any other weblogger.  Hence the weblogs would just be another forum, which I don't think anyone wants. 
Regards,
Rich Heilman

Similar Messages

  • How to organize events that repeat every year with iphoto

    Dear Communitie,
    y
    How can i organize events that repeat every year with iphoto. For example, if i make picrues every year or 1 time a month, of my doughter, for example:
    Playing with our dog in the garden january 2012
    Playing with our dog in the garden march 2012
    Playing with our dog in the garden October 2012
    Playing with our dog in the garden december 2012
    Playing with our dog in the garden march 2013
    I don't know, what is the intelligent type of eventname.
    If i made "Playing with our dog in the garden", than i cant see the difference of growing (3 Month old chilren is completle different of a 5 Month old children)
    If i made "Playing with our dog in the garden Month Year" then the events are hundrets in 5 Year.
    I think, i don't understand, how to organize the contents with events. Is thera a whitepaer, a guide or somethink like that to take the DB organized how Apple iPhoto is meaning?
    Thanks a lot!
    Daniel

    The Trick is to create an Album
    Playing with Dog in Garden
    Drag the images you want from the Events to the Album. Sort the Album on Date. Now you have a chronological view of your daughter playing in the garden with the Dog.
    Albums are similar to playlists in iTunes. The contain pointers to files in the Library, so they use no disk space. An shot therefore can be in as many albums as you want.
    Some of the organisational possibilities of iPhoto"
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 50k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.

  • Flex 4, is it possible to populate a tree component with sqlite table data?

    is it possible to populate a tree component with sqlite table data?
    If it is, how would I go about doing this?
    Thanks
    Kristin

    Hi Mustafa,
    it is true, the function can return component as type. This is more for the scenario, when you want to recognize some component based on some checks, eg.
    if(something)
    return CHECKBOX_1;
    else
    return CHECKBOX_2;
    so, the use case exists for sure. But of course the application itself is static.
    where do you see a scenario for dynamic creation of components?
    The only one component which can instantiate new components is the SplitCellContainer, and this is restricted to the drag&drop action from Fragment Bookmark Gallery. And this is again restricted to containers, as Fragment can hold containers as parent component. Of course the container content will be created/instantiated as well (I have coded example with ComponentManager in the Community SDK: Second Functional Application with SDK Components (Online Composition v.2) blog).
    As far I know there is no function in SplitCellContainer which would "simulate" the drop of a Fragment today (perhaps worth an Idea on this?). Having that - the scenario would be possible. Today, this can be made partly - but the user would need to drag&drop a prepared fragment with the component.
    Anyway, the problems will start after the creation - then it would be require to have also functions to re-position the new created component in some other container - this would be complex probably.
    Karol

  • Dynamic context in web dynpro abap: recursion node is possible?

    Hi,
    i'm working with web dynpro ABAP and I need to create a dynamic recursion node. Is possible?
    thank you.
    Regards.
    Al

    Hello Saravanan,
    this is my code that creates a context node with recursion node, but supply_method i never called. why? could you help me?
          CALL METHOD lr_root_info->add_new_child_node
            EXPORTING
              name                         = y_name
              is_mandatory                 = abap_false
              is_multiple                  = abap_true
              is_mandatory_selection       = abap_false
              is_multiple_selection        = abap_true
              is_singleton                 = abap_true
              is_initialize_lead_selection = abap_true
              is_static                    = abap_true
              supply_method                = 'SUPPLY_NAV_LIST'
            RECEIVING
              child_node_info              = lr_node_info.
          ls_attribute-name = 'TEXT'.
          ls_attribute-type_name = 'STRING'.
          CALL METHOD lr_node_info->add_attribute
            EXPORTING
              attribute_info = ls_attribute.
          ls_attribute-name = 'ENABLED'.
          ls_attribute-type_name = 'WDY_BOOLEAN'.
          CALL METHOD lr_node_info->add_attribute
            EXPORTING
              attribute_info = ls_attribute.
          lr_node_info->add_recursive_child_node( child_name = y_name_nav child_info = lr_node_info is_static = abap_false ).
    Thank you.
    Al

  • How to manipulate recursive node with context api?

    Hi, all.
      I made a recursive node in my context.  So it is like a tree.
    When I choosed one child node in my tree, how can I get it`s current element?
    Thanks a lot.

    Hi Louis
    Check this PDF link
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf
    Also check this elearning link.It gives info of supply function
    https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/60086bd5-9301-2b10-6f97-a14366a5602b&overridelayout=true
    Regards
    Ruturaj

  • Self referencing tree flavoured with another table

    hello community,
    sorry for stupid thread title, but I can't find the right description for what I want to do atm :)
    I'm trying to create a tree from a self referencing table, but in addition I have to display childs with data from an aditional table (with reference to self referencing table). I'm using the latest JDeveloper (11.1.1.2.0) with internal WebLogic.
    To create a "not so fictive" scenario: HR.EMPLOYEES + (new) table PROJECTS (project_id, employee_id, project_name) - I want to create a tree of all employees starting with King and in addition display the assigned projects for each employee.
    It works fine without the PROJECTS table - self referencing just works as intended:
    I did this by creating a "root" viewobject on EmployeesEO ("where EmployeesEO.MANAGER_ID is null"), one "standard" viewobject on EmployeesEO (EmployeesEOView) and one viewlink on EmployeesEOView linking to itself (0..1:* EmployeeId - ManagerId):
    some screenshots:
    [the datamodel|http://img405.imageshack.us/img405/9931/selfrefworksdatamodel.png]
    [the binding rules|http://img525.imageshack.us/img525/6606/selfrefworksbinding.png]
    [the browser output|http://img6.imageshack.us/img6/2906/selfrefworksbrowser.png]
    Next, I created another (standard) viewobject on my (new) table "projects" and then created a new viewlink on EmployeesEOView (source) linking to my new AspProjectsEOView (destination) with cardinality 0..1:* EmployeeId - EmployeeId.
    After this, I added the new created viewlink to the data model of the application module and bound the new data control to the page again (as best as I could figure out the bindings).
    The result is kinda strange, I guess because ADF wants (but can't) figure out wich one to display. Well it should not display one of them, but both.
    again, some screenshots:
    [the datamodel|http://img297.imageshack.us/img297/6721/selfrefnotokdatamodel.png]
    [the binding rules|http://img263.imageshack.us/img263/6820/selfrefnotokbinding.png]
    [the browser output|http://img263.imageshack.us/img263/1720/selfrefnotokbrowser.png]
    Well you may ask yourself what's my desired result: All stays the same (in this example) but the last "manager" looks like this (in expanded mode)
    201 Michael Hartstein 100
    ____> 202 Pat Fray 201
    ____> Project 1
    Any employee without projects should appear in the usual way (not to be filtered out), the projects should just be added.
    My question is: is this even possible? If yes, how? If not, is there a way to "adjust" the output text of the "subviews" (this could be a "low tech" version - subelements named "Employees" and "Projects" instead of "EmployeesEOView" and "AspProjectsEOView")
    Thanks alot in advance for any hint!
    Edited by: asp_jko on 18.12.2009 17:46

    any help? please! :)

  • Creating context node with dynamic type

    When we are creating context node thru wizard,  Dictionary type must be filled. I'm trying to create Context node manually.Did any one tried created Context node class with Dynamic type.

    Hi Prasad,
    I have a similar requirement.
    Can you please share with me how did you create context node with dynamic table data?
    Thanks
    Vicky

  • Maximum number of concurrent devices that could be used with embedde oracle

    Hi,
    How to know what will be the maximum number of concurrent devices that could be used with embedded oracle?
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    How to know what will be the maximum number of concurrent devices that could be used with embedded oracle?Please define 'embedded Oracle'.
    I assume you are talking about an Oracle-supplied database engine. Currently Oracle has several database engines: Oracle Database (Personal/Enterprise/Standard/Express); Oracle Berkeley Database; Oracle Times Ten Database; (iirc) InnoDB Transactional engine; and down the road possibly MySQL.
    Many people mean Berkeley when asking this kind of question, but sice you ask it in an Oracle Database forum as compared to a Berkeley engine forum, I am not quite sure.
    If you indeed mean 'Oracle Database', then it is a lecense question that needs to be discussed by you license people and Oracle sales.

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

  • WD ABAP: Lead selection on a recursive node

    Hi,
    I would like to know if lead selection is permitted on a recursive node in WD ABAP.
    As of now, methods 'set_lead_selection_index' or 'set_lead_selection' do not cause lead selection to change in my view, and the lead selection rests only with the first row in my table..(I have set the rowSelectable property to YES for my table.)
    Also, method call 'set_selected' performed on my target element does not solve the problem.
    Any help much appreciated!
    Best Regards.

    Hi Adithya,
    Yes, you can have a leadSelection on a recursive node and it can be changed by the same methods that are used for non-recursive ones.
    Best regards,
    Thomas

  • Move recursive nodes (tree branches)

    Hi experts.
    I have a table with a nested tree and therefore a context structure with recursive nodes.
    Is there a convenient way to move whole sub-branches including child nodes (and their child nodes).
    When I just move the selected element by create & remove, all child nodes are lost.
    Any idea to solve this in a good way?
    Regards, Karsten

    Hi,
    I'm unsure how long this post will be on the forums, but here it goes.
    Yes, customizing ADF in any way requires a lot of time.
    ADF is build with the concept of less coding and more drag and drop. The framework tailored specifically to this requirement.
    This means that if you use ADF, you must be willing to change business requirements if ADF does not easily allow you to implement them.
    This is of course true for almost any Framework, but for ADF it is really extreme.
    I need to go back to the business a lot when working with ADF, explaining that if we change this requirement development is a lot easier and that sometimes I'm even unsure if I can make it work in ADF.
    But that said, most of the screen WILL work with basic drag and drop and minimal backing beans, ADF is worth it then.
    If people try to convince you, you do not need to code at all with ADF, just ignore them.
    They have never work on a real commercial project with real customers, simple as that.
    On your question, I believe I did something similar in ADF 10.1.3, but I cannot find the code atm.
    But yes, use the native Trinidad components, forget about the bindings for now, bindings will only make your time a lot harder.
    Work with the underlying app module and the view objects directly.
    There is no reason this should not work, but yes you will bypass the binding layer.
    When I have to customize something, I start by checking if the ADF components allow me todo something declarative, this is hardly ever the case.
    I changed to backing beans really fast, then I try to use the bindings, but I never spend much time on this and go directly to the underlying app module.
    -Anton

  • Reading and modifying data in a recursive node

    Hi All,
    I am using a TreeByNesting column in a table UI element of my component.
    For this purpose I have created a node in the context - ('TREE') which contains a recursive node - ('RECURSIVE_TREE').
    What would be the simplest way to read the data from this node ? And how do I go about changing a single line of information
    within the node ?
    Thanks,
    Fathima

    What would be the simplest way to read the data from this node?
    Reading data from a recursive node is no different to reading any normal node. It's just that you have a very simple way of holding the same structure.
    Once you have a reference to the element of a node (a single line of data), then updating it is no different to updating a line of a table.
    More issues are associated with making and setting lead selections for an element (all parent elements also need to be lead selected and no child elements). Searching through the hierarchy, etc.
    Where I have used this functionality I have often set up search tables with the key data that I want to search in a flat table and a reference to the corresponding element - much easier to search then - without having to resort to recursive coding!
    Could you elaborate a little on what exactly you are having an issue with?
    Cheers,
    Chris

  • Recursive node and Non Recursive node

    Hi,
    What is the difference between Recursive node and Non Recursive node ?
    Thanks,
    Teja

    Hi Teja
    Recursive node
    If you wish to represent a recursive data structure within the context, a recursive node is the correct node to use. The simplest example of recursive data within a hierarchical structure is a file system. A dictionary can contain either files or subdirectories. This definition is then repeated for each subdirectory level down the hierarchy.
    Within the context, a recursive node is a special node that has only two properties: name and repeatedNode. As with any context node, a recursive node must itself name, but the repeatedNode property is where the recursion is defined. This property holds a reference to some parent node and indicates that, at runtime, the location of the recursive node will be occupied by a node of the type indicated in the repeatedNode property.
    You should think of a recursive node as a design time placeholder used to indicate a node will be created at this location at runtime, and will be of the type named in the repeatedNode property.
    The node name identified by repeatedNode must lie on the direct path back to the context root node.
    When a recursive node is created at runtime it always created as a non-singleton node. This is a hard-coded feature and cannot be changed.
    Non recursive node is opposite to recursive node
    Regards
    Ruturaj

  • Recursive node

    Hi All,
    What is recursive node what is the use of it .....
    waiting for your response...
    Regards,
    Shilpa

    Hi
    Recursive Node is used when depth of child nodes under a given context while not be known untill at runtime.
    Recursive Node have two properties : Name and repeated Node
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/value%252bnodes%252cmodel%252bnodes%252crecursive%252bnodes
    /people/sap.user72/blog/2005/06/05/tree-control-in-webdynpro
    /people/bharadwaj.p/blog/2006/12/20/image-recursive-tree-with-an-action
    Thanks,
    Tulasi Palnati

  • Recursion Node

    Hi,
        I'm creating  a Web dynpro tree Application ....in that i need to create a recursion node ...but i couldn't found it. Please let me know how to crate a recursion node.
    Thanks,
    Parameshwari

    Hi,
    Check this tutorial on sdn: [Constructing a Recursive and Loadable Web Dynpro Tree|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/47ce9b90-0201-0010-59b5-f70826824eee]
    You will get very clear idea about using recursive node.
    Regards,
    Anand G
    Edited by: Jason Lax on Dec 27, 2011 5:17 PM (Updated URL to correct format.)

Maybe you are looking for

  • Save excel after every row

    Hi,       I'm using labVIEW8.6. I'm saving data into an excel sheet.For this I'm using "excel save report.vi".But I want to save it after inserting values in each row.that is it has to be automatically saved sfter inserting values in each row.How can

  • Adobe CS6 keeps closing as soon as most apps loads

    I just recently did a clean install on my computer and was trying to reinstall my adobe cs6 production premium pack and whenever I load up an app, the program just closes (either automatically or as soon as I start a new project). Application such as

  • How to add a Link to Edit User Account Info?

    Hi, I want to add a link that will take me to the edit user page in oiddas, for the current logged in user. I would have thought that this would come standard in portal, as a smark link. But all I have is the Edit Portal Profile link (which allows me

  • Question about aspect ratio/resizing images

    hi. i am currently working on a video project for a class, creating a presentation with iMovie and iPhoto. I simply need to display a logo, however, when i import it into iMovie from iPhoto, the picture is wide and pixelated, of low quality. when i c

  • How are goals calculated?

    QuestionHow are goals calculated? AnswerGoals are calculated by the number of dishes cooked and served. Each dish produces a different number of servings, however this is not related to your goal.   One fully cooked and served dish counts as one dish