on 2007 Jul 11 4:54 PM
HI Guyz,
A custom program is developed for the pay scale increase and it should be run on a regular basis as a background job to update the pay increase of the employees who have completed either 60 days or 6 months or 9 months from the hire or rehire date. The program should perform the processing only for the hourly employees of the Personnel Area. The processing would consist of checking the current date with the employee hire or rehire date and determining the increase in amount based on the number of days the employee has been working. After the necessary processing is done the program will update new data records for the basic pay infotype for the associates who need to have an increase in the pay.
Can someone help me with the technical steps needed for this development.
Note:Pay Scale Reclassification program cannot be used as we are not implementing compensation management
Hi Madhu,
You can use function modules :-
1) HR_ENTRY_DATE - getting hire date
2) BAPI_BASICPAY_CHANGE - For changing infotype 8 or BDC in background
mode on IT 8 or std function modules.
Just pick all the required employees depending on your requirement.
Compare their hire date with sy-datum.
if they have finished more than stipulated time as per your requirement
you can update infotype 8.
Hope this helps.
Kindly reward in case useful.
Regards & Thanks,
Darshan Mulmule
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Darshan,
as i will be updating the pay scale increases for a large number of employees i would prefer updating it as BDC in background mode. Can we do this with the FM BAPI_BASICPAY_CHANGE . I mean should we keep this function module in a loop and update the records. kindly help me as i am a novice. If possible can you explain the program to be written in a bit detail.
Yes ..
This Bapi will do the same job & i guess in a easier way than BDC
Call this Bapi in loop.
Make sure to lock and unlock master records of employee before
and after the call using
BAPI_EMPLOYEE_ENQUEUE --- lock
BAPI_EMPLOYEE_DEQUEUE -
unlock
<b>or</b>
HR_EMPLOYEE_ENQUEUE -
Lock
HR_EMPLOYEE_DEQUEUE --- unlock
otherwise bapi will throw a message personnel number not yet locked.
Hope this helps.
Kindly reward in case useful.
Rgds,
Darshan
User | Count |
---|---|
100 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
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.