Skip to Content
0
Former Member
Jan 18, 2012 at 12:37 PM

Calculate last year bonus of the employee?

57 Views

Hi all,

I want to calculate the last fiscal year bonus of the employee.

It is maintained in pc00_m40_ann , and we can get it by specifying the period , the wage type at the bottom etc.

So i want to know, is there any standard fm that is there which gives me the functionality of this standard t-code.

Like i used pc_payresult, it has a standard fm called as 'PYXX_READ_PAYROLL_RESULT' which provides the internal table with records from pc_payresult.

But if I use this fm for my problem, than i will have to calculate the sum of all months in the year , but pc00_m40_ann will give me the total value, so which fm shall I use???

Regards

Tarun