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: 

RE: ALV Grid using OOPS

Former Member
0 Kudos
57

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

2 REPLIES 2

former_member191735
Active Contributor
0 Kudos
32

These are usually handled by events. Try implementing your own event. Check for demo programs to do that.

Former Member
0 Kudos
32

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