2007 Feb 23 5:45 AM
Hi All,
Our requirment is as follows -
We want to calculate the SUM groupwise in smartform.Suppose in internal table there are fields F1-F2-F3-F4.
We want to SORT the fields F1-F4 and want to get the Totals(Sub-totals), finally we want to get the totals of he all sub-totals.
Can anyone help us?
Thx in adv.
Hi All,
Our requirment is as follows -
We want to calculate the SUM groupwise in smartform.Suppose in internal table there are fields F1-F2-F3-F4.
We want to SORT the fields F1-F4 and want to get the Totals(Sub-totals), finally we want to get the totals of he all sub-totals.
Can anyone help us?
Thx in adv.
2007 Feb 23 6:26 AM
Hi All,
Our requirment is as follows -
We want to calculate the SUM groupwise in smartform.Suppose in internal table there are fields F1-F2-F3-F4.
We want to SORT the fields F1-F4 and want to get the Totals(Sub-totals), finally we want to get the totals of he all sub-totals.
Can anyone help us?
Thx in adv.
2007 Feb 23 6:47 AM
Hi i have faced the same!!!
Well the solution is loop at the tbale ITAB, and fire the Sort Criteria on the fields F1-F2-F3-F4. Which is equivalent to the AT NEW and AT End Events in report program and in that the respective subtotals can be done.
Hope that Helps
Anirban M.