We are trying to reuse the MSS Team Calendar iView in an ESS role. We are using the Web Dynpro Java version of ESS/MSS and would like to offer the employees a separate tab in the portal that brings them directly into the Team Calendar where they should be able to see their team colleagues and whether they are absent or not. This is exactly what they see if they go into Leave Request and open the Team Calendar that is embedded in the Leave Request, but we would like to provide it without needing to go into the Leave Request first.
The iView uses WDJ application sap.com/ess~lea/TeamView and we pass in the additional parameters sap.xss.lea.groupname=ESS_LEA_EE and sap.xss.lea.grouptype=V
This works but employees only see their own leave, nothing from the rest of their team members. When I look at the code and do a bit of debugging I can see that the difference between this standalone Team Calendar and the one embedded in the Leave Request is the "mode" (modus) that the Team Calendar seems to run in. As part of the Leave Request it runs in mode=R but standalone it runs in mode=T. In the code I can see it does a check on the mode and for R it checks the configuration flag "Employee: Deactivate Authorization Check" and for mode=T it checks the configuration flag "Managers: Deactivate Authorization Check". So that configuration can be modified in "Define Processing Processes for Each Rule Group" in the IMG but I am not sure what sort of knock on effect that would have elsewhere.
If we make that configuration change we can then see the other team members leave, but we don't just see "Absent" we see too many details (e.g. we see why the person is absent and we don't want other people to see the reason for the absence just "absent" or not.
We can get a similar result by giving the employee more authorizations but it looks like they need manager authorizations which we don't want to do either.
Hopefully that makes sense to someone and you can help us. At the end of the day we want the same Team Calendar that can be seen by employees in the Leave Request, but we want it on it's own tab in the portal.
Thanks in advance,