07-31-2008 3:34 PM
Hello,
I have made a program which uses the OO CL_GUI_ALV_TREE.
I build the tree and the nodes for the lines which are displayed on the right site.
When I click one of the buttons I'm able to open the planning screen with function ' GRAPH_GANTT'. When I close this function a lot of changes could be made or even new items could be inserted for the planning.
For showing these changes I remove the tree with the method: CALL METHOD G_INSTR_PLAN->DELETE_ALL_NODES
This deletes all tree notes.
If I rebuild the tree and add the complete lines the node key is not refreshed. So the key numbers get increased from the last key number from the first build.
So how could reset the key node numbers?
Kind regards,
Richard Meijn
08-01-2008 7:14 AM
Hi ,
Use method Delete SUB_TREE that deletes based on node keys .