cancel
Showing results for 
Search instead for 
Did you mean: 

How to display Totals

Former Member
0 Kudos

Hi,

I want to know how to display totals for a field in a smartform.

Please help me through.

Thanks and Regards,

Raj.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

pls refer the program in smartforms---->sf_example_01(goto display mode).

hope this will solve ur probs

rewards if usefull,dontforget

Thanks

fareedas

i048168
Advisor
Advisor
0 Kudos

Hi,

Hope u r using the field with loop node.

Then

Goto Calculations tab of the loop node.

select the operation sum.

select the field name to be summed.

select the target field name which will store the result.

If u have used table node to loop the internal table,

Then do the above steps in the calculations tab of the table node.

Regards

Vadi

Former Member
0 Kudos

Hi,

I tried what you've said.But the total is not displayed.Instead the last amount in the list is displayed as total.

Thanks,

raj.

Former Member
0 Kudos

You need to use calculation tab in table.

In table,create sort of begin and sort of end based on the field.This should be done in data tab.

In calculations

operation total

fieldname workarea-field

targetfieldname variable holding subtotal

time afterloop

reset sortcriterion

for fieldname pernr

Reward points if it is useful

Madhavi

Former Member
0 Kudos

Hi Madhavi,

Thanks for the answer. How to create sort of begin and sort of end?

Please make it clear.I am using the field PERNR.

Awaiting reply,

Thanks.