Application Development 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: 

Dragdrop within ALV on certain column

0 Kudos

Hi,

In a report I enabled drag & drop. It works fine. Whatever row/column I drag the event is picked up. The handle is given in the layout structure of the ALV (GS_LAYALV-S_DRAGDROP-ROW_DDID = HANDLE_ALV).

I want to limit drag & drop to a specific column. According to my info you have to fill the field dragdropid of the fieldcat (lvc_s_fcat) with the handle. I did that but now drag & drop does not function anymore.

Anyone there who knoes the steps to make d&d work for only a specific column within an ALV or has some clues to point me in the right direction.

Bert

1 REPLY 1

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check this link.

http://sap.ittoolbox.com/code/d.asp?d=2703&a=s

This is an Example of two ALV Grid controls with drag and drop functionality between them. The user can drag any line from either ALV Grid and drop it to the other.