Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sum of values in a column in alv

Former Member
0 Kudos

i am displaying data in a hierarchical list using OO programming.

I have created a hot spot for a particular field so that i display a

popup on clicking any value in that column.

The popup displays another alv grid.

I need to sum up the values of a particular column in that a;v grid

that is displayed in the popup using OO prog.

Could anyone suggest a mthod that helps summing the column values/

1 REPLY 1

former_member218674
Contributor
0 Kudos

Hello Rohan,

Hope you are ready with the event handler method and other supporting stuff. Only thing missing is before calling second screen you need to set DO_SUM field in field catalog table and pass that field catalog for the second alv.

Refer to SAP help [http://help.sap.com/saphelp_47x200/helpdata/en/52/5f0607e02d11d2b47d006094192fe3/frameset.htm] for more details.

Thanks,

Augustin.