cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori - Approval for Timesheet & Leave Request

Srikanth02
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

sagarmehta
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Srikanth02
Active Contributor
0 Kudos

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

Srikanth02
Active Contributor
0 Kudos

Issue resolved.

Created evaluation path and added in custom rule for object selection. Then added those custom rules to the object selection in Root objects & Navigation objects.

Thanks Sagar for the help.

Regards,

S.Srikanth

Former Member
0 Kudos

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*B008Holder*S
20SA012Manages...*O
30USA208Is identical to*P

By adding the B002 Relationship to a rule based on MSSDIREC  (Line 25)

10OB900Manager under manager*S
20OB900Manager under manager*O
25SB002Is line supervisor of*S
30SA008Holder*P
40SA008Holder*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

Srikanth02
Active Contributor
0 Kudos

Hi Scott,

If you don't mind can you create a new thread, in the mean time will look into your issue and let you know.


Srikanth

Former Member
0 Kudos

Sure Srikanth, sorry, I was looking specifically on more details on what you did for your solution.

Scott

Srikanth02
Active Contributor
0 Kudos

Hi Scott,

No issues and I am looking at your issue and post screenshots of your config for better clarification and will be easy for me.

Srikanth

Former Member
0 Kudos

Hi Srikanth,

Can you help me with the below mentioned thread:

http://scn.sap.com/thread/3612206

Tanya

Answers (3)

Answers (3)

Former Member
0 Kudos

This message was moderated.

former_member182874
Active Contributor
0 Kudos

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

Srikanth02
Active Contributor
0 Kudos

Hi Tejas,

I checked that also and only if there is Chief of Org Unit maintained, approval triggers to manager. If A002 maintained, then it is not showing any subordinates details in manager id as per above screenshot.

Regards,

Srikanth

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

former_member182874
Active Contributor
0 Kudos

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.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Srikanth02
Active Contributor
0 Kudos

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