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