Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3575

Re: Average sales after probationary period

$
0
0

calculate total for all the records for the feilds and divided by no.of months

 

example;

loop at item to item

if sy-tabix ge 4.

  lv_var1 = lv_var1 + 1.

  lv_var = lv_var + Rep1.

  endif.

endloop.

 

lv_avg = lv_var / lv_var2.


Viewing all articles
Browse latest Browse all 3575

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>