Skip to Content
0
Former Member
Feb 11, 2011 at 01:10 AM

compute total on a field based on change in values in 2 other fields

32 Views

I have the following requirement

ITAB has fields

PO# PO_LINE# ............ PRICE

100 1 500

100 2 100

200 1 300

300 1 200

300 2 700

300 3 100

and my required output in ALV is

PO# PO_LINE# ............ PRICE

100 1 500

100 2 100

Total 600

200 1 300

Total 300

300 1 200

300 2 700

300 3 100

Total 1000

i want to compute the total price for each PO#.

Can someone please suggest how ?

Thank u so much.