Skip to Content
0
Former Member
Feb 02, 2011 at 08:38 AM

Drag&Drop arbitrary text into ALV Grid?

24 Views

Hello everyone,

I've got a question concerning the ALV Grid Drag&Drop handling. It is possible to drag text from an arbitrary application (like MS Word) into a text editor (CL_GUI_TEXTEDIT) . I'd like to enable this for an ALV Grid as well, grab the text that is being dropped programmatically and insert a line into the table at the position the text was dropped. The ALV Grid in question already supports Drag&Drop via CL_DRAGDROP, but in order to use this mechanism, I need to know the "Flavor" that an arbitrary text would have. I've tried to follow the code of the text editor, but it seems to work differently. Does anyone know whether this is possible and if it is, where I could find an example?

Thanks

Volker Wegert