09-08-2009 4:38 PM
Hi Experts,
I have displayed an ALV using OOPs ,
Now when i do the Sub totaling(Standard functionality ) in the ALV Grid
The order changes, Accordingly my internal table doesnt changes
Because of which my double click event goes wrong.
Thanks
09-08-2009 4:51 PM
Steps will be as follows :
1. *-- Get the selected rows
CALL METHOD o_grid1->get_selected_rows
IMPORTING
et_row_no = gw_row_no[].
2. *-- Track the changes in the ALV Grid
CALL METHOD o_grid1->check_changed_data
IMPORTING
e_valid = gv_valid.
3. IF gv_valid = 'X'.
PERFORM save. " Save changes into your internal table using the row no.
ENDIF.
4. Now, Display this table again.
09-08-2009 4:51 PM
Steps will be as follows :
1. *-- Get the selected rows
CALL METHOD o_grid1->get_selected_rows
IMPORTING
et_row_no = gw_row_no[].
2. *-- Track the changes in the ALV Grid
CALL METHOD o_grid1->check_changed_data
IMPORTING
e_valid = gv_valid.
3. IF gv_valid = 'X'.
PERFORM save. " Save changes into your internal table using the row no.
ENDIF.
4. Now, Display this table again.