cancel
Showing results for 
Search instead for 
Did you mean: 

Pay Scale inrease - Custom Program

madhu_reddy22
Participant
0 Kudos
65

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Madhu,

This is one more FM to get the hire date if you wud like putting it to use...

HR_ECM_GET_HIRE_DATE

Alternately if you want you can also pick up the dates from pa0000 depending

on your choice.

Kindly reward in case useful.

With Rgds,

Darshan Mulmule

madhu_reddy22
Participant
0 Kudos

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.

suresh_datti
Active Contributor
0 Kudos

Yes.. you have to put the BAPI call in a loop.. pl take a look at the Std Program HINIBSG0.. may be it can save you some time..

~Suresh

Former Member
0 Kudos

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

Answers (0)