Application Development and Automation 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: 
Read only

ALV Issue

Former Member
0 Likes
376

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
357

Create a Z GUI status by going to SE41.This can be done by copying the standard one.

3 REPLIES 3
Read only

Former Member
0 Likes
358

Create a Z GUI status by going to SE41.This can be done by copying the standard one.

Read only

0 Likes
357

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

Read only

Former Member
0 Likes
357

Hi,

I don' think you'll get it directly. You will have write some event-handling routines for that to happen.

Regards,

Anand Mandalika.