Hi....
First use Following code to check data has been changed in ALV Grid or not in user command
call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
call method ref1->check_changed_data.
so you will get updated data in internal table which is bind to your grid then write your code for append.
if you want to check for perticular column changes then first assign internal table which is binded to grid to one more internal table before above function call.
after this function call , internal table which assign to grid having latest data means updated data so with comparision of both internal table in loop for particular column, you can get difference and write code there which u want to run.
Regards,
Chintan.
Add a comment