Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Treeview with node Drag and drop.

Former Member
0 Likes
543

Hello Friends,

I am using the class "CL_GUI_LIST_TREE" to create a treeview. My requirement is to move one node to another node with in the tree. So that I need to move the entire contents of that node1 to node2. Is there any method with sample program for that. Please suggest me with simple code for the above issue.

And also I have to update the changes in database table with the modified node status, so that when I execute next time the tree will display as the modified one.(After Drag and drop the nodes ).

Regards,

Praba.

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
365

Check sample report RSDEMO_DRAG_DROP_TREE_MULTI (in DWDM transaction)

NB: Also check page 107 of [SAP Tree and Tree Model (BC-CI)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCITREE/BCCITREE.pdf] (pdf) or at [Drag and Drop|http://help.sap.com/saphelp_nw04/helpdata/EN/87/1a4db7a3ad11d2bd69080009b4534c/frameset.htm] in [SAP Tree and Tree Model (BC-CI)|http://help.sap.com/saphelp_nw04/helpdata/EN/b7/147a36c70d2354e10000009b38f839/frameset.htm] (html)

Regards,

Raymond