Sum Using Reduce Syntax ABAP
I am learning the new abap syntax and i what i have read right now it is very useful.
However i am stuck in a problem thai i want to solve with REDUCE sintax.
I have this this data(Internal Table) 
I need to sum the values of the column "quantity" and update column called "Totals quantity"
And the same thing with column price in column "Total Price". This is for each Purchase order.
I have this code right now
Data(it_numpos2) = REDUCE zmenge3( INIT lv_netwr TYPE menge FOR wa IN it_numpos NEXT lv_netwr = lv_netwr + wa-zmenge3 ).
from Recent Questions - Stack Overflow https://ift.tt/3xnUg82
https://ift.tt/32MscNB
Comments
Post a Comment