cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Leave Approval Team Calendar

Former Member
0 Kudos

Hi,

On my Leave Request and Leave Approval Fiori apps I am unable to get the Team Calendar to show.

Could someone please assist me with this?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

JustinSaunders
Discoverer
0 Kudos

Jared our team has debugged the issue and found that to determine the Fiori Leave Approver manager in the SAP org structure it follows the relationships up the structure until a chief is found.

Then the code selects all the leave requests for the employees on that level of the organisation unit that contains the chief. It does not look at employees outside of the org unit that the chief belongs to.

Example 3 org units A<-B<-C, C incorporates B, B incorporates A.

Chief Y is in Org unit A,

Employees X and Z is in org unit C.

Employee X and Z enter leave same day, Chief Y will be determined as Leave Approver.

The leave requests for emp X and Z are not considered for conflict as they are in Org Unit C (not the same unit as the Chief, Org Unit A).

If emp X and Z were in Org Unit A theoretically their leave requests would be considered in conflict.

I hope this helps.

Regards

Justin

Answers (3)

Answers (3)

Garth_Liebenber
Explorer
0 Kudos

Hi Jared,

Yes I agree, SAP get the team calendar in Request mode. I see the same issue resides in the WDA and HR Renewal versions of the Leave Approval Team Calendars, so not just a Fiori issue, but rather a config consideration in general. So you have two options around this:

  1. Change the team calendar employee selection to a different evaluation path that includes more than the current org unit (table V_PTREQ_TEAM). This will affect the leave request Team Calendar too.
  2. Enhance the class method called by the oData method (CL_HRESS_PTARQ_COMMUNICATOR->GET_TEAM_CAL_DATA in a post exit).  This as far as my debugging showed is not called from any of the leave request applications (Fiori, WDA, HR Renewal).

Thanks,

Garth

JustinSaunders
Discoverer
0 Kudos

We have exactly the same issue Jared We are trialing the Fiori Leave Approval solution at the moment and we have 2 leave requests for the same date from employees in the same org unit with same leave approver.

No Team Calendar appears if both leave requests are in the leave approver queue or if one leave request is approved before the second leave request is entered and approved.

pankaj_bisht
Contributor
0 Kudos

Hi Jared,

Team Calendar is only shown when there is an overlap of leave.

Do you have the scenario already?

Best Regards

Pankaj

Former Member
0 Kudos

Hi Pankaj,

I have just requested leave from 2 users for the same days but am not seeing the calendar show yet.

Any ideas?

pankaj_bisht
Contributor
0 Kudos

Hi Jared,

Could you also check if these employees have the same Org Unit and the same reporting manager.

Best Regards

pankaj