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

How do i calculate the average salary of all employees from an internal table in abap?

$
0
0

I have a class employee with attributes(name, address, age and salary). I inserted some created employee objects in an internal table which i defined as

Data itab_employees TYPE TABLE OF REF TO lcl_employee.

Now, i want to create a method to calculate the average salary of all employees from internal table(itab_employees). Thanks


Viewing all articles
Browse latest Browse all 3354

Trending Articles



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