Application Development and Automation 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: 
Read only

How to get average subtotal using object oriented ALV approach?

Former Member
0 Likes
447

Hello All,

I have selected 10 different sales order and respective delivery quantity.

If quantity for 1 item are 10, 10, 10

Then I want to print average subtotal = 30 / 3 = 10.

I want to do this by using object oriented ALV.

How to do?

Hello All,

I have selected 10 different sales order and respective delivery quantity.

If quantity for 1 item are 10, 10, 10

Then I want to print average subtotal = 30 / 3 = 10.

I want to do this by using object oriented ALV.

How to do?

2 REPLIES 2
Read only

Former Member
0 Likes
426

Hi,

Check sap standard program for OOps

Se38: BCALV_TREE_01

Thanks,

Sendil

Read only

Former Member
0 Likes
426

Hi,

For calculating the averages,

DO_SUM = 'C' instead of 'X'

Check this link:

Regards

Adil