2007 Sep 25 3:08 PM
hi,
i am designing calculator usinh modulepool programing can anybody help me out in doing Summation multiplication .i used this coding ..but i din't get proper output
when 'BUT22'.
data: sum(9999) type c.
itab_result-result = sum + itab_result-result.
loop at itab_result.
write 😕 itab_result.
endloop.
hi,
i am designing calculator usinh modulepool programing can anybody help me out in doing Summation multiplication .i used this coding ..but i din't get proper output
when 'BUT22'.
data: sum(9999) type c.
itab_result-result = sum + itab_result-result.
loop at itab_result.
write 😕 itab_result.
endloop.
2007 Sep 25 3:35 PM
Implement it like this
loop at itab_result.
itab_result-result = sum + itab_result-result.
write 😕 itab_result.
endloop.
2007 Sep 25 3:57 PM
If you need total sum, try this. It will work as long as itab_result-result is numeric.
loop at itab_result.
at first.
sum.
write: / itab_result-result.
exit.
endat.
endloop.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |