For sum check you can use saptotalvalue.equals(dt.AsEnumerable.Where(function(x) x("ref no").ToString.Equals(requiredrefno)).Sum(function(x) x("0-30(TC)"))
And for click you can extract the data in sap table find the reference number row and then use the sap table cell activity to click by passing the extracted row value
what is the assigned variable need to use
var_amount: saptotalvalue.equals(dt.AsEnumerable.Where(function(x) x(“ref no”).ToString.Equals(requiredrefno)).Sum(function(x) x(“0-30(TC)”))
var_Amount variable type
and also need to find the reference number in sap as well based on that only sap total we can take
how can we take sap total based on reference