Skip to Content
0
Aug 05, 2015 at 03:32 PM

wrong column total in editable alv

31 Views

Hi Friends,

I am Saurav Lahiry. I am currently designing an editable ALV using CL_GUI_ALV_GRID. In my object, on clicking the checkbox, a FM POPUP_TO_CONFIRM is triggered. If we click on yes, we can enter our own amount in the field AMOUNTSELECTED. In this grid, we can select multiple rows at a time. If we click no, then the amount gets transferred from the AMOUNT field to AMOUNTSELECTED automatically. The issue is when i am doing partial transfer using checkbox, the column AMOUNTSELECTED is not showing the correct total. But when i am clicking no, on full transfer, the total is coming exactly correct. I have done AMOUNTSELECTED-DO_SUM = 'X' in the fieldcatalog. What is the error ? Please reply with corrections in the code. Please check the code and screenshots for complete understanding.

Regards,

Saurav Lahiry

Attachments

output.xml (137.7 kB)
code.txt.zip (1.3 kB)