Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function module to return employees gross salary

Former Member
0 Kudos

Afternoon all

Does anyone know of a function module or a method that will return an employees gross salary?

I've found function module HR_ECM_CALCULATE_SALARY which will return an employees basic annual salary, but I'm hoping I'll find one that does gross so I don't have to write a shed load of code to get the info.

Hope someone can help. <b><REMOVED BY MODERATOR></b>

Ta.

Message was edited by:

Alvaro Tejada Galindo

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HR_GET_TOTAL_AMOUNT_P0008

Try this.

Regards

Vasu

5 REPLIES 5

Former Member
0 Kudos

HR_GET_TOTAL_AMOUNT_P0008

Try this.

Regards

Vasu

0 Kudos

That's quite helpfel Vasu, but I don't know if it's quite what I'm looking for...

Are you able to tell the function module to only use specific wagetypes to calculate the gross amount? As with most SAP function modules, there IS A LOT of documentation...

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Alvaro Tejada Galindo

0 Kudos

you can also use RP_ALLPERIODS_FROM_ANSAL - this will get you annual, monthly, semi-monthly, bi-weekly etc... amounts.

0 Kudos

Again, not quite.

I just want to give a function module a personnel number, a key date, and a number of wage types and it'll calculate the annual gross salary for me.

Almost there though.

0 Kudos

yeah.. i skipped over that part of your request..

how about FM RP_ANSAL_FROM_WAGETYPES