$ 0 0 http://dcx.sap.com/index.html#sa160/en/dbreference/sum-function.html You can use the sum function