on 04-21-2014 10:57 AM
Hello Friends,
I am currently working on SAP Fiori Timesheet & Leave request approval. The application is working fine and going to manager for approval.
I have a concern here, the approval to manager happens only if I maintain relationship "A012" Managed by, then subordinates who are in that respective Org Unit submits timesheet/Leave request goes to manager for approval.
If I maintain One-on-One relationship "A002", then it is not showing up in manager's id for approval. When I checked in t-code "SWIA" to check with whom it is pending it shows the correct manager maintained in One-on-One relationship.
In my current project, there is only One-on-One relationship "A002", and we don't have relationship "A012". Please let me know whether the approval scenario will work or not.
We cannot ask the client to change the relationship now from "A002" to "A012".
Thanks & Regards,
S.Srikanth
Tags edited by: Michael Appleby
Hi Srikanth,
Both the applications Approve - Leave and Timesheet - use OADP customizing to fetch employee-manager relationship.
In OADP you can configure a standard evaluation path or a custom evaluation path or you can provide a function module to fetch the employee-manager relationship.
Kind regards,
Sagar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sagar,
I checked the OADP customizing as mentioned above and there is no change in the system and it is same "MSS_LCA_EE".
To check whether it is picking the subordinates, I checked with FM "HRWPC_RFC_OADP_GET_OBJECTS"
Objsel - MSS_LCA_EE_DIR
BEGDA - 04232014
ENDDA - 04232014
USER - XXXXX
It is not picking up any of the direct reports and I tried other options also and it is not showing up in the manager's view.
Regards,
S.Srikanth
Hi Srikanth,
Can you please share the evaluation path rules for the Root and Navigation Objects that you used to solve? I'm having the exact same problem pulling in the B002 relationships.
Using SAP_MANG for the root:
10 | * | B | 008 | Holder | * | S |
20 | S | A | 012 | Manages... | * | O |
30 | US | A | 208 | Is identical to | * | P |
By adding the B002 Relationship to a rule based on MSSDIREC (Line 25)
10 | O | B | 900 | Manager under manager | * | S |
20 | O | B | 900 | Manager under manager | * | O |
25 | S | B | 002 | Is line supervisor of | * | S |
30 | S | A | 008 | Holder | * | P |
40 | S | A | 008 | Holder | * | US |
I got RHSTRU00 to show the correct Evaluation, but Fiori doesn't pull in B002's yet. Do I need to adjust the Root one as well? Thanks for any ideas!
Scott
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Srikanth,
Your issue is with the backend HR configuration and the relationship configuration.
Manager and Employee should be in one org structure/hierarchy. Please validate your backend custom configuration.
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth,
OK. Your question was finding approver logic in SAP Business Workflow. You can configure finding approver logic in SAP Business Workflow based on your business requirements. There is nothing to do from Fiori side.
Please share your workflow template ID, task ID and rule ID or agent binding info.
Regards, Masa
SAP Customer Experience Group - CEG
If you are getting the workitem in your sap inbox, you can see this in Fiori as the workitem lists are pulled from SBWP only.
So as per your functional configuration, see if you get in inbox in transaction SBWP.
Regarding relationships and stuff, I not being from HR area cant help. Issue is from your backend only or not sure if this type of configuration is supported by Standard FIori approve leave req application.
Hi Srikanth,
I'm not clear the issue. Are you talking about finding approver logic in SAP Business Workflow or some filed on Fiori UI? Please also share your test result and screenshot.
Regards, Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Masa,
I am talking about the approver logic in the business workflow. As mentioned above, unless I have relationship "A012" (Chief of the the Org Unit), then only approvals goes to manager.
If I don't have relationship "A012" (Chief of the the Org Unit) and i have instead "A002", employees (Subordinates) are not showing in manager id.
I have attached screenshot for both relationships.
Regards,
S.Srikanth
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.