10-17-2007 9:24 PM
I want to enable the edit mode to a column in ALV GRID, there isn't the problem, but the user wants to check the modified data when he leave the celd and show a popup window if is necessary. In ALV OO isn't a problem but in this case I don't know how to do it.
Thanks in advance.
Regards.
Lisandro.
10-17-2007 9:48 PM
Hi,
Not sure how to do this ALV Grid Function module..As you mentioned this can be achieved in OO Alv..
If not..The user has to press a button to validate the entries
THanks
Naren
10-17-2007 9:29 PM
Hi,
You can try this..
In the USER_COMMAND subroutine..
data: REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
IF REF_GRID IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = REF_GRID.
ENDIF.
IF NOT REF_GRID IS INITIAL.
CALL METHOD REF_GRID->CHECK_CHANGED_DATA
.
ENDIF.
Now your internal table will have the updated values.
Thanks
Naren
10-17-2007 9:41 PM
Naren,
The data is refresh fine in the internal table, but when the user leave the current celd I need to trigger an event that check if the data is correct. I don't know what I'll do to do this.
Thanks.
Lisandro.
10-17-2007 9:48 PM
Hi,
Not sure how to do this ALV Grid Function module..As you mentioned this can be achieved in OO Alv..
If not..The user has to press a button to validate the entries
THanks
Naren
11-01-2007 6:51 AM