Thanks Akshay. I tried this one also but there is no change in the sum. Another requirement is that, sum will change after pressing ENTER button in the keyboard, i, e each time i change a value and press ENTER button, the sum will change. But as per i know ENTER button has no default sy-ucomm. It triggers PAI event when we press ENTER in keyboard. So, need to write my code for ENTER in PAI module. But i am not using any screen here, its a simple ALV. Plz tell me how to do that.
With best regards.