11-16-2009 10:22 AM
Hi ,
I added one Button in Application toolbar . I am using clas CL_SALV_TABLE for displaying record in ALV grid format.
now my req is that after selecting the any record from ALV Report and Clicking on the button on application Toolbar . system allow me to goes into Debug mode with Importing value the row no and SY-UCOMM field . Please suggest me the solution .
Regards,
Sandeep
11-16-2009 10:41 AM
Hi SAndeep
Whats ur Question here. You should handle all this things in the event handler method of User_command event.
Hope you have set the user command for the buttons .
11-16-2009 4:07 PM
Hi Sandeep,
You should use event handler to handle this situation. There is a standard event ADDED_FUNCTION in CL_SALV_EVENTS.
Get all the events from CL_SALV_TABLE class and register method on_user_command for event ADDED_FUNCTION. Write your custom logic to handle user command in event handle method. Refer demo program SALV_DEMO_TABLE_EVENTS.
Hope this will help..
Rgds,
PB
Edited by: PBHATT on Nov 16, 2009 10:09 AM
06-28-2010 11:51 AM