on 07-26-2011 8:34 AM
Dear All,
We are using HCM P&F for transfer process, there is a requirement where by when we select the employee to transfer to another cost center have to validate based on some conditions if he can be moved to that particular cost center or not.
Can any one please suggest how to acheive this? Only through the script or any othe mechanism.
Also once the workflow is completed need to update infotype 0008 and some calculations are to be performed before doing the same, where can I handle these?
Appreciate your help.
Regards,
Chiluveru
Validation to check whether employee can be moved to a new cost center can be done in the DO_OPERATIONS
method of generic service. You can code it either after cost centre is entered in a user event or when the user
presses Review button. The validations which you need to perform can be handled in a custom task.
Thanks,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First way is by triggering user event. So you should do script level coding to trigger user event. In the DO_OPERATIONS
method you should check cost center and show appropriate error message using MESSAGE_HANDLER. Please check
the class method CL_IM_HRRCF_REQUI_REQUEST-DO_OPERATIONS to understand the same. To do this validation when
the user presses check you need to do the same coding in DO_OPERATIONS. To identify check event, we have created
an enhancement for function module ISR_PROCESS_EVENT and set a memory ID.
Thanks,
Aravind
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.