cancel
Showing results for 
Search instead for 
Did you mean: 

HCM P&F Client side validations

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Arvind,

Thanks for the input could you please elaborate on how to proceed and does it involve any Javascript/Form calc programming too?

Regards,

Sravanthi

Former Member
0 Kudos

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

Answers (0)