cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro ALV + Subtotals

ged_hurst
Participant
0 Kudos

Hi everyone,

I've created a WebDynpro ABAP ALV, which displays some data and colours some rows based on a certain logic.

The data that's displayed is:

- PO number, PO Item, Description, Net Price

I now need to aggregate this data by PO Number + PO Item in order to have net price totalled by PO Number and PO Item.

I've tried to create an aggregate rule and with this data:

- PO Number PO ITEM DESCR NETPR

- 100000000 10 test 120

- 100000000 20 test 80

- 100000010 10 test2 110

it displays the following output:

- 100000000 10 test 120

- 100000000 20 test 80

- 100000010 10 test2 110

- 200

- 110

This is not what I want. I would like this display:

- 100000000 10 test 120

- 100000000 20 test 80

- 200

- 100000010 10 test2 110

- 110

How can I achieve this?

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos
ged_hurst
Participant
0 Kudos

Thank you,

I managed to work that out!

Regards