createtotals in Dataports

What function can I use in dataport, to make the same effect that : CurrReport.CREATETOTALS() makes in Report object?

u need to wrie code for the same