Hi experts,
I have requirement for ALV grid report.
That report is already displaying some fields from an internal table(itab) with one of the field as PERNR .
Now i have three more fileds BETRG(HR:Payroll Amount), ANGHL(HR:Payroll Number) and LGART(Wage type).
And the requirement is to
For every PERNR, add all of their BETRG and add all of thier ANGHL where LGART = '1206' OR '9513'.
Then for every PERNR divide their total of BETRG by total of ANGHL (BETRG/ANGHL).
Now multiply (BETRG/ANGHL) by HOURS which is available in above internal table itab.
Suppose (BETRG/ANGHL) * HOURS = c
Then display c in the report(Current report which has above internal table itab.), for every PERNR.
Can anyone give me direction to start coding for this. Please help.
If i have made this explanation very complex, then please let me know.
Thanks in Advance.
..anusha
Edited by: anusha singh on Sep 21, 2008 9:34 AM
Edited by: anusha singh on Sep 21, 2008 9:54 PM