‎2005 Jun 02 11:44 AM
Hi All
In my ALV editing program I want to show the summation of the figures, so I am handling the data_changed event but it does not work and instead of replacing the summation fig. it simple replaces that cell with blanks ( I am using modify_cell method) ??? can't make out the why it is happening?
Thanks in anticipation
pM
‎2005 Jun 02 11:51 AM
HI ,
I hope you want to display the total at the bottom of alv grid/ list.
Following code helps you.
type-pools : slis.
data FLD_LAY TYPE SLIS_LAYOUT_ALV.
*this is field catalog building there u specify this.
FLD-DO_SUM = ABAP_TRUE.
FLD_LAY-TOTALS_TEXT = 'TOTAL=>'.
FLD_LAY-LIST_APPEND = ''.
Regards,
Dilip
‎2005 Jun 02 12:02 PM
I want to update the column of the totals by adding all the cells of that row and I am not using functions but methods.
Here is my line of code
CALL METHOD rr_data_changed->modify_cell
EXPORTING i_row_id = ls_mod_cells-row_id
i_fieldname = 'TOTALFV'
i_value = temp_total1.
Thanks
pM
‎2005 Jun 02 12:09 PM
‎2005 Jun 02 12:18 PM
Hi,
Check this regarding editable ALV grid
http://www.sapdevelopment.co.uk/reporting/alv/alvscr.htm
BCALV_EDIT_01 This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.
BCALV_EDIT_02 This report illustrates how to set chosen cells of an ALV Grid Control editable.
Thanks & Regards,
Judith.
‎2005 Jun 02 1:02 PM
Hi All
I have already referd the said examples and the links and then only I posted the message here.
Thanks
pM