Skip to Content
0
Former Member
Feb 16, 2011 at 08:27 PM

How to Drag and Drop between two ALV Tree controls

382 Views

Hi friends,

i am trying to do a drag nodes from one tree control ( say Tree1) onto the nodes of a second tree control ( say Tree2).

The trees are getting displayed properly. I can drag the nodes of Tree1 onto Tree2. But the problem I am facing is -

Drag event of first tree is not getting invoked...

I have tried with the samples ALVDND* , but without results. Though examples do exist for dragging from a ALV Grid to a tree and vice versa, all these sample codes have failed while doing this drag n drop between two CL_GUI_ALV_TREEs.

How to Drag and Drop between two ALV Tree controls

I have -

- created the two tree controls,

- created the CL_DRAGDROP objects, assigned them to the nodes accordingly ( so i can drag from first n drop onto the second)

Any guesses/clues what else do i need to do ?

Thanks in adv

Steinn