Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Summing value in Internal Table

Hi Abapers,

I have some problem during manipulating the internal table:

The scenario is like this

I have one internal Table:

Material Curr PO Quantity

A EUR 10

A EUR 15

A GBP 20

A GBP 10

B USD 10

Now I have to Sum the POQty and put this in other field Sum of Internal Table on the basis of grouping materail as well as Curr.

For Material A and Curr EUR, i should get sum of PO Qty 25 and

for material A and Curr GBP, i shld get sum of PO Qty 30 and

For B - USD, i shld get 10 in Sum field.

How to do this in ABAP Code?

Please solve my this issue.

Regards,

Rahul Sinha

Former Member
Not what you were looking for? View more on this topic or Ask a question