cancel
Showing results for 
Search instead for 
Did you mean: 

ALV refresh for summation

Former Member
0 Kudos

hi friends,

i am facing one problem in ALV webdynpro abap.

my output is editable alv with new row append row, delete row..etc

and also i am calculating the summation(ie total) for amount (ie price) column.

summation is working fine whenever we add new row,

but when we delete the existing row in the list... summation its not get reduced...

simply its showing the previous summation amount...

i think i need to refresh the alv it seems...

guide me how to do this...

Regards

deva

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can add an on enter event to the input field,

allowing a refresh when pushed (nothing needs to be in coding wise)

Grtz,

Koen

anand_nidamanuru
Active Participant
0 Kudos

Hi,

The WD Interface controller of SALV_WD_TABLE provides an interface method REFRESH. This method can be called by retrieving Interface controller from the component usage.

Please let me know if you want the coding.

Thanks,

Anand

Former Member
0 Kudos

hi anand,

thanks for your input... i tried based on ur reply but i couldnt...

can you give me the code details....

Former Member
0 Kudos

Are you using standard ones or custom summation..how are you doing it...is this total a row in your internal tbale or standrad summation row...

If is a custom calculation...try to use the modifyview for the calculations...

Edited by: Lekha on Dec 11, 2009 5:42 PM

Former Member
0 Kudos

solved