‎2007 Jul 10 10:35 AM
hi experts,
i m using fm 'hr_infotype_operation' to update pa0015 from my own database table ,here the fm is working fine and it is returing '00' but when i check in pa0015 i come to know that is not updating..,,what sud i do what i feel that this fm wont be able to update pa0015...plz help me.....
‎2007 Jul 10 12:46 PM
If u r using HR_INFOTYPE_OPERATION
plz make sure that BEGDA and ENDDA of the record u r updating should be same as given in the table pa0015 for that record. I think that may also be reason.
‎2007 Jul 10 12:12 PM
Use FM HR_MAINTAIN_MASTERDATA ...
It can solve ur problem...
Reward if useful..
regards
Prax
‎2007 Jul 10 12:34 PM
Hope you are calling Bapi_EMPLOYEE_ENQUEUE before calling HR_INFOTYPE_OPERATION
& Bapi_EMPLOYEE_ENQUEUE after it.
hope you are not writing this code in Exit Or Badi as the employee would already be locked so you can update pa0015 there.
let me know in which scenario you are updating.
reward points if helpful
‎2007 Jul 10 12:46 PM
If u r using HR_INFOTYPE_OPERATION
plz make sure that BEGDA and ENDDA of the record u r updating should be same as given in the table pa0015 for that record. I think that may also be reason.
‎2007 Jul 10 1:00 PM
Hi ravi,
1. Make sure while calling the FM, the parameter NO_COMMIT is not X.
regards,
amit m.
‎2007 Jul 18 7:43 AM