cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and drop ALV to table control

Former Member
0 Kudos

Hi all,

Does anyone know if it is possible to program the drag-and-drop functionality from an ALV list to a table control? I would like to have this feature to let the user enter data on 1 screen. On the left part the user sees an ALV list and on the right the user sees the online transaction. I would like the user to enter data simply by drag and drop instead of having to enter the data.

Does someone has a sample program for this?

Regards,

Kris

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Table control cannot react at the drag&drop event.

Svetlin

Former Member
0 Kudos

Hi

Yes you should use the class CL_GUI_ALV_GRID to do that.

See the programm BCALV_TEST_GRID_DRAG_DROP and/or BCALV_TEST_DRAG_DROP_02

Max

Former Member
0 Kudos

Hi max,

I don't find these programs in my system, maybe it is due to the fact that I am working in release 4.6B? In which system are these programs available? Is there a possibility to send me the coding of the programs?

Kris

Former Member
0 Kudos

The programs referred show the drag and drop between two ALV grids and not with a table control.

Regards,

Ravi

Former Member
0 Kudos

The programs referred show the drag and drop between two ALV grids and not with a table control.

You cannot have drag and drop with table control.

Regards,

Ravi

Former Member
0 Kudos

Hi Kris

I can download the programs and send them to you, but you should give me your e-mail.

Anyway you can use Drag and Drop if you build your table control by ALV, i.e. ALV GRID.

But I'm using 4.7 and I don't know how class CL_GUI_ALV_GRID is in your release, I believe the release 4.6B is one of first release whit this class.

Max

Former Member
0 Kudos

Hi Max,

You can send the programs to following address:

abapkris@hotmail.com

Thanks a lot,

Kris

Former Member
0 Kudos

Kris,

We have tried drag and drop between tree and grid controls, but never tried with a table control.

But thinking logically, a table control does not have DROP event, so in my opinion I don't think it would be possible.

Regards,

Ravi