on 12-07-2021 12:28 AM
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.
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 ?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HR_MAINTAIN_MASTERDATA is only for infotypes, it does nothing with USR02 so there are no parameters to give.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope it's not the client requirement to call HR_MAINTAIN_MASTERDATA (except if they pretend to speak "SAP"). I'd prefer a client requirement which is to change the user class of the leaving person, whatever the technical solution.
User | Count |
---|---|
94 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.