on 01-24-2008 6:33 AM
Hi,
I want to display total amount for the field NETWR in my SF.
I am getting the last value as total instead of sum of all values.
Also please tell me how to display sub-totals for each page along with the Currency (USD,GBP...).
Thanks,
RB
Hi,
Add Program line by right clicking on the text element.
If the text element is already under a loop, say table loop, then write
gv_tot = gv_tot + wa-netwr.
else write
loop at itab into wa
gv_tot = gv_tot + wa-netwr.
endloop.
Then display &gv_tot& in the text element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Raj,
to get the totals:
if ur displaying data using table, then to have the total of one field, click on table at left side, then u get a window having multiple options regarding table, among them select calculations tab, there u can select total n for which field, n the variable name to which the result will b stored. this way u can have totals.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to this link its vry useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.