Can i use cl_gui_alv_tree_simple Manually add node(row)?

hi, experts.
I use create object type ref to cl_gui__alv_tree_simple.
after display ,can i add row or node by hands.
if can ,which method?
thanks~~~

Hi Angela,
i change to use cl_gui_alv_tree to create tree. as the refresh_table is not public method
This is wrong... refresh_table method of CL_GUI_ALV_TREE_SIMPLE is public, while the method TREE_ADD_NODE is protected.... That's why I told you to define a local inheriting class so you can use the latter...
But OK if you want to switch to CL_GUI_ALV_TREE... So If I correctly understood your new issue, it is now a problem of freeing your tree object... Are you using the destructor method FREE from CL_GUI_ALV_TREE? after using it you should also clear your variable that hold the tree reference (with a CLEAR statement e.g.).
edit: OK, just understand what you mean refresh_table is indeed private on CL_GUI_ALV_TREE! I though you were refering to CL_GUI_ALV_TREE_SIMPLE...
To refresh your tree with that class, you can use the method DELETE_ALL_NODES, rebuild your tree and use the method FRONTEND_UPDATE afterwards...
cheers,
Manu.
Edited by: Manu D'Haeyer on Dec 29, 2011 10:31 AM

Similar Messages

  • Manual Add new Row?

    Anyone know how to manually add a row to a report?
    I've not had luck with Tabular forms so I've made my own so to speak with a report and have everything working except putting a row on the actual page for a user to type values into. I can add records if I direct them to another page, but I'd rather not.
    thanks!

    I've not had luck with Tabular forms so I've made my
    own so to speakI am not sure exactly what you mean by this. If you create a new page of type form and select tabular form, by default you get the option to add a row to the report. (assuming you have enbaled create as an allowable operation)
    regards
    Duncan

  • Can we use OFFSETs in Hierarchy Node Variable in BEx ???

    Hi all,
      I have the need of using the OFFSETs in Hierarchy Node Variables. Can we use OFFSETs in Hierarchy Node Variable, PLEASE ???
        Thanks in advance.
    Regards,
    Venkat.

    I havent had such scenario - but I dont think you can do a offset on a hierarchy variable.

  • Can I use the current add-ons I have for CS5.5 extended?

    Can I use the current add-ons I use with CS 5.5 extended with the beta version of CS6 beta?

    Hi,
    What add-ons are you wanting to migrate? Plug-ins should work, with the caveat that the Mac version is 64-bit only for CS6. So if you were running the 32-bit of CS5.5 with a 32-bit plug-in, then that won't migrate. Panel extensions might need a small modification. Scripts should work unless they specifically target CS5.5.
    Are you having problems, or just trying to research before trying the beta build?
    regards,
    steve 

  • I have model series KX TG7641 /w 5 phones.... My questions:  1. Can the directory of phone numbers with in my iPhone be transferred to the Panasonic and retain the individual number designations; i.e., "home-moblie-work-etc"?  2. Can I use the manual sele

    I have model series KX TG7641 /w 5 phones....
    My questions:
    1. Can the directory of phone numbers with in my iPhone be transferred to the Panasonic and retain the individual number designations; i.e., "home-moblie-work-etc"?
    2. Can I use the manual select on the Panasonic to selectively transfer numbers from my iPhone?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?
    FYI, there are no viruses that affect iOS unless the device has been hacked or jailbroken, in which case they cannot be discussed here.

  • What is the calender "default list"? Can i use it to add tasks to my Google calender?

    I am aiming to use some Google calenders in Thunderbird. I have installed the add-on's "lightening" and "provider for Google calender" and added my calenders. This later claims to enable adding tasks to the calenders. I have not succeed, i can only add events. Also, in the calender list, there is an item called "default list" at the end. What is this, and how do i use it. Can i use it to add tasks to my Google calender?
    I will be happy for suggestions on how to add tasks to google calenders in thunderbird.
    Is there a up to date documantation on how to best use calenders and google calenders?
    Thanks in advance
    Ayse

    Never mind.
    It appears that the "default list" is actually the list for tasks in Google Calender, I just couldn't see them at first.
    Now all my google calenders and tasks are in full synchronization. Only thing is that, since google calenders does not provide for options such as reminders and % completed for tasks (which can be set in the home calender), I cant use this information.
    Ayşe

  • How can I use a manually created help file

    Is it possible to use a manually crated help file *.hlp (microsoft help file) in a oracle forms application.
    I want to open the help file from in my help menu. How can I do that??
    Joury

    Hi,
    Have you tried WIN_API_SHELL.winhelp and WIN_API_SHELL.winhelpex?
    Both are available in D2KWUtil.PLL, usually included in Forms demos.
    Pedro
    null

  • Can I use Concatenate function for multiple rows?

    I have a lead list that contains 5000 leads. The format of this list contains address data that is saved in separate columns (ie: address, address 2, city, state, zip). I need this data in 1 column. I tried to use the concatenate function to combine the data for 1 row and it worked perfectly. I tried to do this for multiple rows and the function is greyed out. Is there a work around or way that I can combine this data for all 5000 rows without doing it 1 by one?

    Look at this table;
    In B9, the formula is;
    =B2&" "&C2&" "&D2&" "&E2&" "&B3&" "&C3&" "&D3&" "&E3
    Yvan KOENIG (VALLAURIS, France) dimanche 18 octobre 2009 20:51:47

  • Can i Use Crystal Report Add-on in SBO 2005 B PL 25

    Hi all,
    I am using SBO 2005 B PL 25, I like to use Crystal Report Add-on with this version and PL.
    Can I use It ? From Where I have to download the Add - on ? How to Install ?
    Can anybody guide me on this issue ?
    With Best Regards,
    Chintesh Soni

    HI ,
    Please go through the link.
    http://72.14.235.132/search?q=cache:sZ8kQ1GEamMJ:https://www.sdn.sap.com/irj/scn/downloads%3frid%3d/library/uuid/d0a0c14b-0e20-2b10-939b-e93a19f14c12CRYSTALREPORTSINTEGRATIONFORSAPBUSINESS+ONE&hl=en&ct=clnk&cd=1&gl=in
    Rgds,
    Premraj

  • How can i use excel's add-ins, solvers, .xla etc...?

    I want to use excel solvers(add-ins, .xla documents) with numbers. Is it possible ?

    No.
    http://www.apple.com/feedback/numbers.html

  • Ever since I installed Snow Leopard (10.6.8), masking in QuickTime 7Pro has stopped working.  Has anybody experienced this?  Is there a work around?  Can I use FCP to add masks to video?

    Ever since I installed Snow Leopard (10.6.8) a month ago, the masking function in QuickTime 7Pro (v. 7.6.6) stopped working.  Masks disappeared in old videos where I had previously and successfully added a mask, and I could not longer use QT 7Pro to add a mask to a new video.  When I installed Snow Leopard I also installed QT X, but I found QT 7Pro in the Utilities folder, so it is still there but the masking function is definately not working.
    Has anybody else experienced this?
    Is there a remedy so I can recover my older masked videos, and make new masked videos?
    Can I make masked videos in Final Cut Pro?
    Thanks!

    Ever since I installed Snow Leopard (10.6.8) a month ago, the masking function in QuickTime 7Pro (v. 7.6.6) stopped working.  Masks disappeared in old videos where I had previously and successfully added a mask, and I could not longer use QT 7Pro to add a mask to a new video.  When I installed Snow Leopard I also installed QT X, but I found QT 7Pro in the Utilities folder, so it is still there but the masking function is definately not working.
    Has anybody else experienced this?
    Is there a remedy so I can recover my older masked videos, and make new masked videos?
    Can I make masked videos in Final Cut Pro?
    Thanks!

  • How can I use DOM to copy Nodes between different XML Document ?

    Can I copy one Node or Element from one XML Document to another Document by DOM ?
    Because I use the Xerces , but it is not work if I want to copy Node between different Document, or I am doing something wrong. Anyone can help me , I will deeply appreciated !!

    check out the importNode() method of Document.

  • Can I use the same add-ons for the Android version?

    I was considering buying a tablet to use with my job - but I use a lot of add-ons and extensions - I was wondering if the extensions I'm used to using with my windows Firefox version would work with Android Firefox as well?

    hello maxwell_smart007, addons for firefox on android are a separate category - extensions must be ported over by their developers to work on the mobile version of firefox. here's the listing of extensions for firefox on android that are hosted at the official mozilla page: https://addons.mozilla.org/android

  • Most of the icons in my Bookmarks Toolbar disappeared when I imported it to a new computer. How can I restore or manually add the images ?

    Selecting "Use Small Icons" in the Customize Toolbar window doesn't resolve the problem

    Only one icon is appearing on the tab bar (the one for facebook ;-)).
    I used the JSON backup to get the bookmarks

  • Can we use the built-in Row fetch for Multiple reports in a page?

    I need to create a page with multiple report regions. Each of it is based on a table. Those tables are different. I somewhat remembered that we can NOT use the built in automatic row fetch process if there are multiple report regions, neither the built in DML process. You have to make your own fetch and insert/update/delete process if you intend to.
    Also if I write my own row fetch and update processes, do I have to consider lock mechnism? or just simply write select and insert/update?
    Any input is appreciated.

    I think I found the answer. Would Scott or other gurus take a look at the thread and confirm it, in case the limitation is not in 2.0?
    Re: automatic row fetch
    What I am concered about is that the locking mechanism. If I have to write my own process to fetch and insert/update, other than the regular select and insert/update statements, do I have to put commit by myself, or htmldb can handle it automatically? Is there an example for this?
    Thanks in advance.

Maybe you are looking for