Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Grouping in SMARTFORM

Former Member
0 Likes
877

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.

2 REPLIES 2
Read only

Former Member
0 Likes
563

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.

Read only

former_member480923
Active Contributor
0 Likes
563

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.