On appeal from a judgment the Supreme Court may review any order, ruling, or determination of the trial court, including an order denying a new trial, and whether any such order, ruling, or determination is made before or after judgment involving the merits and necessarily affecting the judgment and appearing upon the record.
SDCL 15-26A-7