Hi Hurmet!
I recommend finding a way to export the SAP table to excel or a similar format. Usually there is an option like “ALV-Grid View” or a direct button for exporting.
Then read the excel into a datatable and build the sum from there. For example like this:
DT.AsEnumerable.Sum(Function(a)Convert.ToDouble(a(“Column A”).ToString))
Source: Sum of a column in data table - #3 by praneeth.peyyeti
Happy automating