Showing results for 
Search instead for 
Did you mean: 

fields to be passed to HR_MAINTAIN_MASTERDATA to terminate an employee

0 Kudos

Hello all,

i want to terminate an employee using the user entered in the selection screen using the FM

HR_MAINTAIN_MASTERDATA . once this is done i want to update the usr02 table field CLASS with 'TERMINATED".

Please help with the parameters to be passed to the FM HR_MAINTAIN_MASTERDATA to achieve this.

View Entire Topic
Active Contributor

Any reason not to use BAPI_USER_CHANGE?

(Look at PerNr in InfoType 0105 SubType 0001 to get SAP user id, does transaction HRUSER perform well in your system landscape, CUA, ESS, MSS ?)