‎2005 Nov 14 2:56 PM
Hello All,
I am using FM 'REUSE_ALV_GRID_DISPLAY' to display an internal table. When displayed to the screen, I want the user to have the ablitiy to save any changes they make to a line or delete a line completely. I am currently modifying the STANDARD Gui status to include a few pushbuttons, i.e. delete button. I found that when I click on a pushbutton the changes to the internal table are not captured, however the changes are captured if I perform an action on the grid, such as double-clicking. Is there a way to capture the changes the user makes to the screen and still use these pushbuttons? Any help would greatly be appreciated.
Thanks,
John
‎2005 Nov 14 2:58 PM
Create a Z GUI status by going to SE41.This can be done by copying the standard one.
‎2005 Nov 14 2:58 PM
Create a Z GUI status by going to SE41.This can be done by copying the standard one.
‎2005 Nov 14 2:59 PM
Write this code in the callback subroutine (eg: in USER_COMMAND subroutine),
Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data
Also refer to a similar post opne today
‎2005 Nov 14 3:00 PM
Hi,
I don' think you'll get it directly. You will have write some event-handling routines for that to happen.
Regards,
Anand Mandalika.