on 10-30-2015 11:17 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.