How to Create Function Module to update infotype pa0016
I have requirement in which i have to create a function module which will take pernr, massn, massg, date which will update the infotype PA0016.
This will update the pa0016-CTTYP from temparoy to permanent. .
Anybody can help me out in the same.
Try this FM: HR_MAINTAIN_MASTERDATA.
You will have to use this FM within a loop statement for updates of multiple employees.
To improve the performance of this, use the FM: HR_PSBUFFER_INITIALIZE.
Hope this helps.