cancel
Showing results for 
Search instead for 
Did you mean: 

Hr Administrator processing of leave request

Former Member
0 Kudos

Hi Experts,

We are implementing the leave request using WF WS12300111.

We have a requirement in which we need to customize at TS12300104 which is for the HR Administrator to process in case the status change is not effected.

The work item should come to the HR Admin. There should be 3 action buttons in the work item : Approve, Reject, Raise to another team.

When we click on the "Raise to another team" button, there should be a pop-up that appears in which the HR Admin can enter his comments. When he enters his comments, the WF should trigger an email notification that sends the comments that the HR Admin had entered in the pop up. Also they would be requiring a checkbox in the form just below the pop up if which checked will send the above comments entered in the pop up to another team. If this is not checked, the email notification is sent to the team to which it was initially supposed to send to. The control of the WF should return back to the same step once this is done.

Could you please guide us as to how this could be achieved.

Cheers,

Belinda Clarke

Accepted Solutions (1)

Accepted Solutions (1)

former_member193382
Active Contributor
0 Kudos

Hi,

You can copy the standard task and modify it as per your requirement.

You can use the below function module to get the comments from HR admin.

CATSXT_SIMPLE_TEXT_EDITOR

Instead of using the checkbox, you can use the function module, POPUP_TO_CONFIRM and based on the output of the function module, you can set a flag. Based on the flag value, you can route the workflow to the desired team.

If you can don't want to use the above option, you have to design a module pool screen and call this screen in your method.

Hope it helps.

Regards,

Raj

Former Member
0 Kudos

Hello Raj,

Thanks a lot for your answer.

What you are essentially implying is that first we call the 'CATSXT_SIMPLE_TEXT_EDIOTR' followed by the 'POPUP_TO_CONFIRM'. We can utilize the CH_TEXT parameter of the 'CATSXT_SIMPLE_TEXT_EDIOTR' to get the comments and pass the same to the email notification.

I will discuss the same with the Users and ask them their opinion.

Just in case we need to design a module pool screen with a text box and checkbox....is that going to be complex? I am sorry. I am not a technical person and dont have much idea about the same as our ABAP person is on leave.

How can we then use the comments of the text box and checkbox validation inside the module pool inside our workflow.

Thanks a lot for all the help rendered.

Cheers,

Belinda Clarke

former_member193382
Active Contributor
0 Kudos

Hi,

I won't say it would be complex. But yes, it will be time consuming and needs customization.

Regards,

Raj

Answers (0)