on 06-15-2015 1:57 AM
Hey all,
We are trying to implement sap fiori - leave request on fiori and HR Renewal. We use a custom workflow (enhancment for multiple approvals )
Although both sap fiori and hr renewal use the same task ID, when we trigger create leave request on hr renewal it works for multiple approvers, no problem at all. But on fiori side, it just work for one approver.
Any help will be appreciated.
Thanks.
Hi Adem,
Unfortunately it is not possible with standart configurations. you need to add additional step to your workflow and make a loop according to your multiple approval method. It will come as approved convert it to sent and trgi the next approver according to your logic.
Mustafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adem,
Please share the business use cases.
Please also share more details for those.
+ enhancment for multiple approvals
+ just work for one approver
Regards,
Masa / SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Masa,
what i mean by saying "enhancment for multiple approvals" is refer to this document exactly
By fallowing this document multi approver scenario works correct on HR renewal, but there is no effect on fiori side. A person that create a leave request has two approvals but the request sent to one approval and if this approver accept the request then task is completed.
How can we achive the same thing as document described on fiori leave request. Is it possible.
Thanks
Hey Masa,
There is a loop &Req.STATUS& NE SENT. but when we trigger leave request on fiori we see request id with one line in PTREQ_HEADER, and the status is sent.
When approval approve the request on fiori the status became completed.
In renewal side, an employee request a leave, PTREQ_HEADER has two line with one request id and the satus both send but of course next processor are different.
Thanks
Hi Adem,
I get confused. It seems you use the standard workflow but the initial post says custom workflow.
I guess you are talking about My Leave Requests. The workflow template and Approve Leave Requests app do not have any issue, right?
Could you share the business requirements?
From my experience, 1 step approval is enough for leave requests and those are never rejected.
Regards,
Masa / SAP Technology RIG
Hi Masayuki,
we created class as zcl_hr_pt_abs_req for multiple approval in leave request application.
In ess renewal 1.0 ui5 leave request application, get_multiple_approvers method Works fine. And shows 2 or 3 approver according to condition as we defined in method. But for fiori leave request application, only direct head is shown in approver line. Out logic defined in get_multiple_approvers is not considered by fiori application.
Hi Adem,
Fiori apps came after the design thinking workshop with many customers.
I think it is a common sense that 1 step approval is enough for leave request.
If it is critical for your business, you can implement a solution it several ways.
+ By using custom workflow template
+ By extending OData method
+ If ess renewal is enough for your business, it is still valid and supported.
Regards,
Masa / SAP Technology RIG
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.