Building tree when we know all the nodes and levels

Hi Experts,
What is the best way to implement tree in web dynpro for abap when we know all the nodes, there levels and parents.
I have the structure like this:
id        text             level     parent
1        root                1         1
1.1 ;    node1.1 ;      2         1
1.1.1 ; node 1.1.1 ;  3        1.1
1.2 ;    node1.2 ;      2        1
it could be up to 10 levels with hundreds of nodes
Thanks,
Anthony

hi
Refer this online help:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm
check the WDA : WDR_TEST_TREE,WDT_TREE,WDT_TREE_TABLE_BY_KEY,WDT_TREE_TABLE_BY_NST.
refer this wiki :
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/09/11/integrationofTreeStructureinaTableusingWebdynpro+Abap&
refer this  thread :
creating tree
regards,
amit

Similar Messages

  • HT4890 i maid a version update , but when turn on all the data and contcats are old where can be the last dated update

    Dear all
    i have maid a version update to my iphone
    the system has asm me before to make a buck up i did confirm to be on i cloud
    after the new instlation compleitemd on th eiphoen theor was not contcats
    only nimbers wit h no names
    i have tryeid few way and at last i have recived soem list of contacts old date make be a year old
    then i wend to icloud and alos their the list is old
    as wellon th emac it is old
    where is the data and hwo can i get back to what i had on the day of bucking up
    thax
    nati

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

  • Trivia Question: Is there anyone alive that knows all the tools and shortcuts of a monster app like Photoshop or After Effects?

    Some of these Adobe programs are so feature-packed and use huge teams of developers to continually add features. I wonder if any of them have reached a size and complexity that is beyond the capacity of a single person to know it all?

    Battery performance depends on what you have running on your iPhone.
    e.g. If you have Brightness set to high (or full) with Auto Dimming Disabled, Locations Services, Push Notification (set Fetch to Manually), Bluetooth, Wi-Fi (ask to join networks enabled too) and 3G all enabled your battery will get used a lot quicker, especially if you use Third Party Apps on top of all these other things.
    If however you activate Wi-Fi when you want to use it, or Bluetooth etc as your needs require, battery performance will be better (as in your battery will last longer before requiring a charge). If you are on a low 3G coverage area, why have your iPhone constantly trying to join a 3G network? Switch 3G off and use the conventional carrier (2G) until you return to an area where you know 3G coverage is better.
    I know these measures are less convenient than just having everything switched on, but if you want to maximise battery use between charges try activating the features you require when you require them, then disable them when you don't require them instead of having everything switched on permanently.
    I have noticed when Push is enabled (3G has to be enabled also), it absolutely canes the battery

  • To display all the Nodes in a Binary Search Trees

    Hi,
    I want to traverse through all the nodes in a binary tree. I know that there are traversals like Preorder,Postorder,Inorder. But I am not able to write a recursive code for performing this operation. Can anyone please help me or give me an idea how to write a code to do any one of these traversal.
    Thanks a lot in advance.

    Hi,
    hmm .. how is a tree-node defined? - As so you have not posted a node-class, I will help you by demonstrating it for inOrder by normal language:
    The Idea is as follows:
    You have a root, that references to a tree-node. This tree-node has a value and 2 references to other tree-nodes, let's say they are named left and right. Because left an right are references to tree-nodes in the same way root is a reference to the tree-node, this fact can be used for recursive action on the tree.
    if you like to display all values in the tree, what do you have to do in a node?
    1. display the tree the left reference is pointing to
    2. display the value-Field
    3. display the tree the right reference is pointing to
    that is inOrder, assuming all lesser values are in the left tree and all greater are in the right tree.
    How to display the left and right trees?
    The same way you display this node, but this time you use the left / right reference as the node.
    So do it in pseudo-coding:
    void DisplayTree(NodeClass aNode) {
    if (aNode == null) return;
    DisplayTree(aNode.left);
    DisplayValue(aNode.value);
    DisplayTree(aNode.right);
    That is it - figure it out and try to write a program after this - good luck. To write one for pre-order and post-order should be easy if you have this one for inOrder.
    greetings Marsian

  • My friend gave me ipod touch with all his accounts, i created new accounts but when i went on the appstore and tried to update apps installed by him,i was asked his account's password! i dont know his password.how can i use my account to update apps?

    my friend gave me ipod touch with all his accounts, i created new accounts but when i went on the appstore and tried to update apps installed by him,i was asked his account's password! i dont know his password.how can i use my account to update apps?

    You can't.  Apps and really all content purchased/downloaded through one Apple ID is forever tied to that Apple ID.  In the case of Apps they will always request that Apple ID to update as they are licensed to that Apple ID.
    In reality, the Apps were licensed to that Apple ID by the developer.  And cannot simply be given away to you for you to use.
    He should have wiped the iPod clean so you could set it up for your use without any of his accounts or purchased content as you are not really licensed to any of those Apps.
    Your friend should have followed this support document before giving the iPod to you:
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support

  • I went to use my ipod touch 8GB but it wasn't working, when i looked closer it was on just very very dim. The brightness is turned up all the way and the screen is practically black.. does anyone know how to fix it?

    I went to use my ipod touch 8GB but it wasn't working, when i looked closer it was on just very very dim. The brightness is turned up all the way and the screen is practically black.. does anyone know how to fix it?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings If yu can see the screen enough to do it)
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store since you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Af:tree inside af:accordion is not showing all the nodes

    Hi All,
    I am using Oracle JDeveloper 11g Release 2.
    I have af:tree enclosed inside af:panelStretchLayout, displaying data from database table. af:tree is not displaying all data(nodes) in the space available to it. It is hiding the data at middle. I have tried number of options but in vein. The code is given below:
    <af:panelAccordion id="pa1">
                                    <af:showDetailItem text="Browse Course Categories" id="sdi1" icon="/Images/tree.png">
                                        *<af:panelStretchLayout id="psl112">*
                                            *<f:facet name="center">*
                                                <af:tree value="#{bindings.BaseCourseCategories1.treeModel}" var="node"
                                                         selectionListener="#{bindings.BaseCourseCategories1.treeModel.makeCurrent}"
                                                         rowSelection="single" id="t3" *styleClass="AFStretchWidth"*>
                                                    <f:facet name="nodeStamp">
                                                        <af:outputText value="#{node.CategoryTitle}" id="ot4"/>
                                                    </f:facet>
                                                    <f:facet name="contextMenu">
                                                        <af:popup childCreation="deferred" autoCancel="disabled" id="p1">
                                                            <af:menu text="Course Categories" id="m1">
                                                                <af:commandMenuItem text="Show Categories" id="cmi1"
                                                                                    actionListener="#{SelectAllCategoryBean.refreshChildCategories}"
                                                                                    action="refresh">
                                                                    <f:attribute name="CategoryId"
                                                                                 value="#{node.CategoryId}"/>
                                                                </af:commandMenuItem>
                                                                <af:commandMenuItem id="cmi2" text="Add Category"
                                                                                    action="goCreateCourseCats"/>
                                                            </af:menu>
                                                        </af:popup>
                                                    </f:facet>
                                                </af:tree>
                                            </f:facet>
                                        </af:panelStretchLayout>
                                    </af:showDetailItem>
                                </af:panelAccordion>Any guidance or help....
    Thanks in advance
    Bilal

    Hi Peter,
    I have checked for stretchChildren="first" property of af:panelAccordion, but didn,t found.
    Thanks for response.
    Regards
    Bilal

  • How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    Thanks for looking into this Jeff!
    I work with an Inventory module software and is responsible for software detection across several computers. Once an updated version comes up, I update our database with latest software details to get it detected if installed on any machines.
    The problem tracking updates with Desktop Creative Cloud Software are;
    1)We have to have it installed with the CC applications in-order to get the notification of the latest updates and have to check everyday.
    2)Only relates to the latest updates, so in-between we may miss a prior update unknowingly.Hence, the remote machines having those updates may not get  detected with the software version update which would create problem in reporting.
    3)For all CC products, there is no base or previous updates available for installation if we miss one.
    I went through the Adobe Products Update pages [Product updates] which holds good when it comes to Acrobat and Reader software which I follow to track down any newer updates but this is inconsistent when it comes to CC products like in After Effects CC, Dreamweaver CC etc...
    So overall to be very specific, is there any one channel I can follow to get the notifications only for the updates on CC products and then may be I can rely on Desktop Creative Cloud for installation if not available anywhere like in product update pages of Adobe ?
    Regards,
    Subrat

  • When i try to watch a video the line for the load doesnt make it all the way and my wi fi is fine i dont know the reason whats wrong so plz someone from apple universe help me????????

    Im really mad of whats wrong with this its been going on for 2 to 1 week and idk what the reason for the loading is for plz help

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My phone randomly doesn't ring when people call and not sound the text alert. I checked all the settings and them seem to be correct. Anyone know how to fix this?

    My phone randomly doesn't ring when people call and not sound the text alert. I checked all the settings and them seem to be correct. Sometimes it rings, many times it doesn't. I have missed several calls. Same with texts. Anyone know how to fix this?

    Symptoms
    No ringer sound
    Go to Settings > Sounds > Ringtone and select a ringtone. Does the device ring? (YES: Issue resolved) (NO: Go to step 2)
    Go to Settings> General> Reset> Erase All Content and Settings. Warning: This will delete all user data on the device. Verify that you have a backup before proceeding. Go to Settings > Sounds > Ringtone and select a ringtone. Does the device ring? (YES: Issue resolved) (NO: Go to step 3)
    Restore device using latest version of iTunes. Go to Settings > Sounds > Ringtone and select a ringtone. Does the device ring? (YES: Issue resolved) (NO: Contact Apple for service options)

  • My 16 GB ipad says i have less than 1 GB of storage available. Yet when i add all the apps up, the total come to less than 9GB. i know the sytem need some but where is the rest of my storage being used?

    My 16 GB ipad says i have less than 1 GB of storage available. Yet when i add all the apps up, the total come to less than 9GB. i know the sytem needs some but where is the rest of my storage being used?

    Hi CPI Pierre,
    You can determine what is using the memory in your iPad Air by looking at Settings > General > Usage > Manage Storage.
    If you are having issues with insufficient memory you may want to troubleshoot using the steps in this article -
    iOS: "Not enough free space" alert when trying to sync - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • HT1933 When I was syncing my iphone 4 to computer my itunes crashed and started flipping from one to another.  So I had to reset my iphone, which erased on my songs on my phone.  Know all the recent songs i purchased are not on my itunes account for the l

    When I was syncing my iphone 4 to my computer my itunes crashed and was looping from one song to another.  so i tried all the suggestions and had to reset my iphone which wiped out all my songs.  when I went to purchases my recent song purchases from itunes where gone.. how do I get them back or get credit for them..

    nevermind, i figuered it out

  • RAC Instalation Problem (shared accross all the nodes in the cluster)

    All experts
    I am trying for installing Oracle 10.2.0 RAC on Redhat 4.7
    reff : http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnLinux
    All steps successfully completed on all nodes (rac1,rac2) every thing is okey for each node
    on single node rac instalation successfull.
    when i try to install on two nodes
    on specify Oracle Cluster Registry (OCR) location showing error
    the location /nfsmounta/crs.configuration is not shared accross all the nodes in the cluster. Specify a shared raw partation or cluster file system file that is visible by the same name on all nodes of the cluster.
    I create shared disks on all nodes as:
    1 First we need to set up some NFS shares. Create shared disks on NAS or a third server if you have one available. Otherwise create the following directories on the RAC1 node.
    mkdir /nfssharea
    mkdir /nfsshareb
    2. Add the following lines to the /etc/exports file. (edit /etc/exports)
    /nfssharea *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
    /nfsshareb *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
    3. Run the following command to export the NFS shares.
    chkconfig nfs on
    service nfs restart
    4. On both RAC1 and RAC2 create some mount points to mount the NFS shares to.
    mkdir /nfsmounta
    mkdir /nfsmountb
    5. Add the following lines to the "/etc/fstab" file. The mount options are suggestions from Kevin Closson.
    nas:/nfssharea /nfsmounta nfs rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0 0 0
    nas:/nfsshareb /nfsmountb nfs rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0 0 0
    6. Mount the NFS shares on both servers.
    mount /mount1
    mount /mount2
    7. Create the shared CRS Configuration and Voting Disk files.
    touch /nfsmounta/crs.configuration
    touch /nfsmountb/voting.disk
    Please guide me what is wrong

    I think you did not really mount it on the second server. what is the output of 'ls /nfsmounta'.
    step 6 should be 'mount /nfsmounta', not 'mount 1'. I also don't know if simply creating a zero-size file is sufficient for ocr (i have always used raw devices, not nfs for this)

  • Account Hierarchy : Function Module to get all the nodes of a hierarchy

    Hi Experts,
    Is there a function module which will give as output all the Node GUIDs for a particular account hierarchy in SAP CRM,when the Node GUID of any single node in the same tree is given as input?
    Best Regards,
    Ashish Dhagat

    Thanks mate.
    Edited by: pankaj kandhare on Aug 14, 2011 7:56 AM

  • I need to build an executable which allows all the VIs to be viewed as if in LabView

    I hope I am not being stupid but I need to build an executable which allows all the VIs to be viewed, opened - closed, as if being interpreted by LabView 8.5. The system is a simulator and I am required to allow the system to be inspected for correctness whilst running. Further, interactive panels exist at various locations throughout the structure and they must all work.
    Can somebody tell me how to do this or provide me with some pointers?
    Ideally I would like the navigation to be the same as if the code was being operated within LabView then the same idiots guide, I’ll need it in two years, will work for both the exe and the interpreted versions. The target machines will not run LabView and simply distributing the VI tree would be very bad news because it would allow erroneous edits to break the system.
    Thanks in advance

    Mike
    Sorry I may not have expressed myself well.
    I have developed the system in LabView 8.5 and I now want to release it to be installed on machines without LabView. I can do that, however I have a problem. I am required to allow the internals (the source) of the system to be visable; I don’t know how to do that without LabView on the machine. Yes, I know I could produce PDFs for all 1500+ VIs but I don’t want to do that and the customer does not want it eather; he wants to navigate the model and check what he finds.
    I hope this makes my requirements clearer.
    Thanks
    Frank

Maybe you are looking for

  • Check For Insert

    Hi Friends, I've created a Sql report with checkbox based on a view, I want to insert records into another table when i check the checkbox. Am Using Apex 4.1 on Oracle 10g. This is my query SELECT APEX_ITEM.CHECKBOX(1,REQUEST_ID,'UNCHECKED') "CHECK_T

  • RE:Possibility of posting 2 IR's for one GR

    I have one issue related to a purchase order which consists of Service entry sheet. In the PO history tab we are able to see 1 GR, 1 IR's and 1Service entries. But the MB5S report shows the total of 2 GR'S and 1 IR's. I could found the details of thi

  • Stream iPad2 content via wifi on hdtv?

    Is it possible to stream content or share the iPad2 screen on our HDTV via our wireless home internet?  I know we can purchase a cord and connect directly to the tv but we don't want to be limited to the cord length.  We normally sit 10 feet away fro

  • HT1766 how can I reset my iphone 5 to factory setting? using iTunes?

    i need to reset my iphone 5 to factory setting. how can I do it using itunes?

  • SOAP Error when testing messages.

    Hi Experts, We are using webservices sync both sides.  When we tested, I got this error: <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">                <context>XIAdapter</context>                <code>ModuleUnknownException</code>