cancel
Showing results for 
Search instead for 
Did you mean: 

ESS workflow

seg_hr_it
Active Contributor
0 Kudos

Dear experts!

I have an issue as below:

In V_T554S_WEB, i have configure all kind of leave will be used the same work flow:

My configuration: in Workflow Template:

I checked Process Request Using Workflow

and 3 WF ID for (new, cancellation & change), just only 1 workflow. In my case it's 90000099.

But my problem is: in my workflow: 1 rule for choosing approver. We just fixed 1 employee number.

For example employee B is a manager of employee A. ( relationship from A to B is A-002). But our request is: leave request of employee A will be sent to C. We already fixed it in rule of work flow 900000099.

The first time: A create Leave Request, work flow sent correctly to employee C. It's really good. But our problem is when A modifies ( he edit the length of leave or changing note). The request of A is moved to B. I am really shocked. Because we already fixed employee C in workflow to receive all request from other employees.

So every employee in system when creating all requests will be sent to C (correctly), but whenever changed or modified by creator, these request has not kept in Universal work list of C, they will be moved to their managers ( through relationship A-002 in positions).

Please help me!

Regards!

Woody.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check the "Determine Next Agent" in the Processing Processes for each rule group.

This shoudl be selected as last agent. if you are selecting here the default option as Line Manager the leave request goes to the Line manager using the relationship A002.

Regards,

Umesh Chaudhari.

seg_hr_it
Active Contributor
0 Kudos

Thanks for your feedback! But it doesn't work ( I tried all options here). You know my problem is: it works fine when creating ( go to correctly employee C for all requester) but when they edit, their leave requests go to their managers. I don't know why our workflow is not trigger again to send all leave request to employee C. (Because as I mentioned I choose same workflow for creating, cancelling & changing in standard table in previous thread).

Or where did I miss configuration or not correct in configuration? Could you please help me!

btw: I have an question: how can I know employee is changing her/his request in ESS? I already successfully deployed 1 Badi to check condition when creating & editing: for example: absence AAAA: just applied only 1 time or cannot apply Paid leave with lower 10 deduction dates.

But I don't know how to check a leave request is new one or edited on ESS? Which function module or any solution for me?

Please help. I

Regards!

Woody.

seg_hr_it
Active Contributor
0 Kudos

Dear all experts!

Please help me! How can I check 1 leave request creating or edit in BADI for checking all leave request?

And why changing this leave request, workflow is not triggered? We already fixed 1 agent in workflow. But just work for creating, whenever modifying workflow is not started, and ESS choose line manager A-002 to send leave request? I don't know why.

And How to refresh all leave request pending in universal worklist of manager or apporvers?

Please help!

Regards!

Edited by: minhnt on Nov 25, 2011 11:45 AM

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

check here

http://wiki.sdn.sap.com/wiki/display/ERPHCM/CustomizingtheESSLeaveApprovalusingBusiness+Workflow