‎2011 Apr 26 9:21 PM
Hi,
Thank you all for answering my Questions.
Usually, they are 2 button on the ALV grid , We select the row and click on COPY text button, it will copy selected row and then
if we hit on INSERT AS NEW LINE button, it will insert the copied row as new row. These 2 functionalties should be achieved by one custom button on the ALV grid.
I tried to debug and have it under my custom button, , what's going on by hitting the copy button and curser never stops and simply copies the selected row .
Thanks in Advance
‎2011 Apr 28 9:36 PM
These are usually handled by events. Try implementing your own event. Check for demo programs to do that.
‎2011 Apr 29 6:00 AM
Hi,
There are events which will meet your requirement.you can check those for ur class CL_GUI_ALV_GRID.
Throught the user_command event you can get the selected rows.
Check out the events associated with it for further functionality