SAPScript Question:

How to define the total and sub total in smartform