cancel
Showing results for 
Search instead for 
Did you mean: 

Hourly rate calculation from annual salary

Former Member
0 Kudos

Hi all,

I want to calculate hourly rate from annual salary.

I had already used FM - RP_ALLPERIODS_FROM_ANSAL , but hourly rate is retrieved as zero and even other fileds values are also rounded off so differently.

I had even used FM - HR_ECM_CALCULATE_HOURLY_RATE , by giving perner and currency key but still the hourly rate is retrieved as 0.

Can you please suggest any other Function module Or any changes that I can do to the input given to above function modules.

Please let me know ASAP.

Thank you in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190321
Participant
0 Kudos

Hi Vani,

Why dont you write your own function module, you can read the annual salary where perner = perner from table pa0008 (Infotype 0008). and then take the annual salary divide by the number of business days and then take the answer and then divide it by the number of working hours of a day. You can use this function module to calculate business days in a year : RKE_SELECT_FACTDAYS_FOR_PERIOD

former_member182232
Contributor
0 Kudos

Hello

I am not an ABAPer . when you go to IT 0008 record for an employee on the left hand corner you should see a push button .

When you click that based on configuration I believe it should show the Hourly rate and surely must be some Functional module of ABAP code backing it

Regards

Ajay